FreeRTOS port on GAP8/RISC-V
|
Data Fields | |
uint32_t | device_id |
uint32_t | nb_open |
uint32_t | irq_status |
uint32_t | input_mask |
uint32_t | output_mask |
pi_gpio_callback_t * | cb |
pi_task_t * | event_task [ARCHI_GPIO_NB_GPIO_PER_DEVICE] |
pi_gpio_callback_t* gpio_itf_data_s::cb |
User callbacks.
Referenced by __pi_gpio_callback_add(), __pi_gpio_callback_fire(), __pi_gpio_callback_remove(), and gpio_handler().
uint32_t gpio_itf_data_s::device_id |
Referred in pi_gpio_conf as port.
Referenced by pi_gpio_close(), pi_gpio_mask_configure(), pi_gpio_mask_read(), pi_gpio_mask_write(), pi_gpio_pin_configure(), pi_gpio_pin_notif_clear(), pi_gpio_pin_notif_configure(), pi_gpio_pin_notif_get(), pi_gpio_pin_read(), pi_gpio_pin_task_add(), pi_gpio_pin_task_remove(), and pi_gpio_pin_write().
pi_task_t* gpio_itf_data_s::event_task[ARCHI_GPIO_NB_GPIO_PER_DEVICE] |
Callback associated to each GPIO pins.
Referenced by gpio_handler(), pi_gpio_pin_task_add(), and pi_gpio_pin_task_remove().
uint32_t gpio_itf_data_s::input_mask |
GPIO mask of configured pins.
Referenced by gpio_handler(), pi_gpio_close(), pi_gpio_mask_configure(), pi_gpio_mask_read(), pi_gpio_pin_configure(), pi_gpio_pin_notif_configure(), pi_gpio_pin_read(), and pi_gpio_pin_task_add().
uint32_t gpio_itf_data_s::irq_status |
GPIO pin mask of IRQ status.
Referenced by __pi_gpio_callback_fire(), gpio_handler(), pi_gpio_pin_notif_clear(), and pi_gpio_pin_notif_get().
uint32_t gpio_itf_data_s::nb_open |
Number of open.
Referenced by pi_gpio_close(), and pi_gpio_open().
uint32_t gpio_itf_data_s::output_mask |
GPIO mask of configured pins.
Referenced by pi_gpio_mask_configure(), pi_gpio_mask_write(), pi_gpio_pin_configure(), pi_gpio_pin_read(), and pi_gpio_pin_write().