FreeRTOS port on GAP8/RISC-V
|
Macros | |
#define | ARCHI_GPIO_NB_DEVICE |
#define | ARCHI_GPIO_DEVICE_SIZE |
#define | ARCHI_GPIO_NB_GPIO_PER_DEVICE |
#define | ARCHI_GPIO_NB_GPIO_PER_DEVICE_MASK |
#define | ARCHI_GPIO_NB_PADCFG_REG |
#define | ARCHI_GPIO_NB_PADCFG_REG_LOG2 |
#define | ARCHI_GPIO_NB_GPIO_PER_PADCFG |
#define | ARCHI_GPIO_PADCFG_REG_OFFSET(gpio) |
#define | ARCHI_GPIO_PADCFG_POS_OFFSET(gpio) |
Functions | |
static void | gpio_paddir_set (uint32_t value) |
static uint32_t | gpio_paddir_get () |
static void | gpio_padin_set (uint32_t value) |
static uint32_t | gpio_padin_get () |
static void | gpio_padout_set (uint32_t value) |
static uint32_t | gpio_padout_get () |
static void | gpio_inten_set (uint32_t value) |
static uint32_t | gpio_inten_get () |
static void | gpio_inttype_set (uint8_t int_reg, uint32_t value) |
static uint32_t | gpio_inttype_get (uint8_t int_reg) |
static void | gpio_intstatus_set (uint32_t value) |
static uint32_t | gpio_intstatus_get () |
static void | gpio_gpioen_set (uint32_t value) |
static uint32_t | gpio_gpioen_get () |
static void | gpio_padcfg_set (uint8_t int_reg, uint32_t value) |
static uint32_t | gpio_padcfg_get (uint8_t int_reg) |
static void | hal_gpio_pin_direction_set (uint8_t gpio_pin, uint8_t dir) |
static void | hal_gpio_direction_set (uint32_t gpio_mask, uint8_t dir) |
static uint32_t | hal_gpio_pin_input_value_get (uint8_t gpio_pin) |
static uint32_t | hal_gpio_input_value_get () |
static void | hal_gpio_pin_output_value_set (uint8_t gpio_pin, uint8_t value) |
static void | hal_gpio_output_value_set (uint32_t gpio_mask, uint8_t value) |
static uint32_t | hal_gpio_pin_output_value_get (uint8_t gpio_pin) |
static uint32_t | hal_gpio_output_value_get (uint32_t gpio_mask) |
static void | hal_gpio_pin_irq_set (uint8_t gpio_pin, uint8_t enable) |
static void | hal_gpio_irq_set (uint32_t gpio_mask, uint8_t enable) |
static void | hal_gpio_pin_irq_type_set (uint8_t gpio_pin, uint8_t irq_type) |
static uint32_t | hal_gpio_pin_irq_status_get (uint8_t gpio_pin) |
static uint32_t | hal_gpio_irq_status_get () |
static void | hal_gpio_pin_enable (uint8_t gpio_pin, uint8_t enable) |
static void | hal_gpio_enable (uint32_t gpio_mask, uint8_t enable) |
static void | hal_gpio_pin_pull_enable (uint8_t gpio_pin, uint8_t pe) |
static void | hal_gpio_pin_drive_strength_set (uint8_t gpio_pin, uint8_t ds) |
static void | hal_gpio_pin_config_set (uint8_t gpio_pin, uint8_t pe, uint8_t ds) |
static void | hal_gpio_config_set (uint32_t gpio_mask, uint8_t pe, uint8_t ds) |
#define ARCHI_GPIO_DEVICE_SIZE |
#define ARCHI_GPIO_NB_DEVICE |
Referenced by __pi_gpio_handler().
#define ARCHI_GPIO_NB_GPIO_PER_DEVICE |
Referenced by pi_gpio_open().
#define ARCHI_GPIO_NB_GPIO_PER_DEVICE_MASK |
#define ARCHI_GPIO_NB_GPIO_PER_PADCFG |
#define ARCHI_GPIO_NB_PADCFG_REG |
#define ARCHI_GPIO_NB_PADCFG_REG_LOG2 |
#define ARCHI_GPIO_PADCFG_POS_OFFSET | ( | gpio | ) |
#define ARCHI_GPIO_PADCFG_REG_OFFSET | ( | gpio | ) |
|
inlinestatic |
References gpio, and hal_read32().
Referenced by hal_gpio_enable(), and hal_gpio_pin_enable().
|
inlinestatic |
References gpio, and hal_write32().
Referenced by hal_gpio_enable(), and hal_gpio_pin_enable().
|
inlinestatic |
References gpio, and hal_read32().
Referenced by hal_gpio_irq_set(), and hal_gpio_pin_irq_set().
|
inlinestatic |
References gpio, and hal_write32().
Referenced by hal_gpio_irq_set(), and hal_gpio_pin_irq_set().
|
inlinestatic |
References gpio, and hal_read32().
Referenced by hal_gpio_irq_status_get(), and hal_gpio_pin_irq_status_get().
|
inlinestatic |
References gpio, and hal_write32().
|
inlinestatic |
References gpio, and hal_read32().
Referenced by hal_gpio_pin_irq_type_set().
|
inlinestatic |
References gpio, and hal_write32().
Referenced by hal_gpio_pin_irq_type_set().
|
inlinestatic |
References gpio, hal_read32(), and padcfg.
Referenced by hal_gpio_pin_config_set(), hal_gpio_pin_drive_strength_set(), and hal_gpio_pin_pull_enable().
|
inlinestatic |
References gpio, hal_write32(), and padcfg.
Referenced by hal_gpio_pin_config_set(), hal_gpio_pin_drive_strength_set(), and hal_gpio_pin_pull_enable().
|
inlinestatic |
References gpio, and hal_read32().
Referenced by hal_gpio_direction_set(), and hal_gpio_pin_direction_set().
|
inlinestatic |
References gpio, and hal_write32().
Referenced by hal_gpio_direction_set(), and hal_gpio_pin_direction_set().
|
inlinestatic |
References gpio, and hal_read32().
Referenced by hal_gpio_input_value_get(), and hal_gpio_pin_input_value_get().
|
inlinestatic |
References gpio, and hal_write32().
|
inlinestatic |
References gpio, and hal_read32().
Referenced by hal_gpio_output_value_get(), hal_gpio_output_value_set(), hal_gpio_pin_output_value_get(), and hal_gpio_pin_output_value_set().
|
inlinestatic |
References gpio, and hal_write32().
Referenced by hal_gpio_output_value_set(), and hal_gpio_pin_output_value_set().
|
inlinestatic |
References hal_gpio_pin_config_set().
Referenced by pi_gpio_mask_configure().
|
inlinestatic |
References gpio_paddir_get(), and gpio_paddir_set().
Referenced by pi_gpio_mask_configure().
|
inlinestatic |
References gpio_gpioen_get(), and gpio_gpioen_set().
Referenced by pi_gpio_close(), and pi_gpio_mask_configure().
|
inlinestatic |
References gpio_padin_get().
Referenced by pi_gpio_mask_read().
|
inlinestatic |
References gpio_inten_get(), and gpio_inten_set().
|
inlinestatic |
References gpio_intstatus_get().
Referenced by __pi_gpio_handler(), and gpio_handler().
|
inlinestatic |
References gpio_padout_get().
Referenced by pi_gpio_mask_read().
|
inlinestatic |
References gpio_padout_get(), and gpio_padout_set().
Referenced by pi_gpio_mask_write().
|
inlinestatic |
References gpio_padcfg_get(), and gpio_padcfg_set().
Referenced by hal_gpio_config_set(), and pi_gpio_pin_configure().
|
inlinestatic |
|
inlinestatic |
References gpio_padcfg_get(), and gpio_padcfg_set().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Inten.
References gpio_inten_get(), and gpio_inten_set().
Referenced by pi_gpio_pin_notif_configure(), and pi_gpio_pin_task_add().
|
inlinestatic |
Intstatus.
References gpio_intstatus_get().
|
inlinestatic |
Inttype.
References gpio_inttype_get(), and gpio_inttype_set().
Referenced by pi_gpio_pin_notif_configure(), and pi_gpio_pin_task_add().
|
inlinestatic |
References gpio_padout_get().
Referenced by pi_gpio_pin_read().
|
inlinestatic |
|
inlinestatic |
Padcfg.
References gpio_padcfg_get(), and gpio_padcfg_set().