FreeRTOS port on GAP8/RISC-V
|
Macros | |
#define | ARCHI_PAD_NB_PADFUNC_REG |
#define | ARCHI_PAD_NB_PAD_PER_PADFUNC |
#define | ARCHI_PAD_NB_PADCFG_REG |
#define | ARCHI_PAD_NB_SLEEPPADCFG_REG |
#define | ARCHI_PAD_NB_PAD_PER_SLEEPPADCFG |
#define | APB_SOC_STATUS_EOC_SHIFT |
Functions | |
static void | soc_ctrl_corestatus_set (int32_t value) |
static uint32_t | soc_ctrl_corestatus_get (void) |
static void | soc_ctrl_safe_padfun_set (uint8_t reg_num, uint32_t value) |
static uint32_t | soc_ctrl_safe_padfun_get (uint8_t reg_num) |
static void | soc_ctrl_safe_sleeppadcfg_set (uint8_t reg_num, uint32_t value) |
static uint32_t | soc_ctrl_safe_sleeppadcfg_get (uint8_t reg_num) |
static void | soc_ctrl_safe_padsleep_set (uint32_t value) |
static uint32_t | soc_ctrl_safe_padsleep_get () |
static void | soc_ctrl_safe_padcfg_set (uint8_t reg_num, uint32_t value) |
static uint32_t | soc_ctrl_safe_padcfg_get (uint8_t reg_num) |
static void | hal_pad_function_set (uint8_t pad, uint8_t func) |
static void | hal_pad_padfunc_set (uint8_t pad_reg, uint32_t value) |
static uint32_t | hal_pad_padfunc_get (uint8_t pad_reg) |
static void | hal_pad_sleeppad_direction_set (uint8_t pad, uint8_t dir) |
static void | hal_pad_sleeppad_state_set (uint8_t pad, uint8_t state) |
static void | hal_pad_sleeppad_configuration_set (uint8_t pad, uint8_t dir, uint8_t state) |
static void | hal_pad_sleeppadcfg_set (uint8_t pad_reg, uint32_t value) |
static uint32_t | hal_pad_sleeppadcfg_get (uint8_t pad_reg) |
static void | hal_pad_padsleep_enable (uint8_t enable) |
static void | hal_pad_padcfg_pull_enable (uint8_t pad, uint8_t pe) |
static void | hal_pad_padcfg_drive_strength_set (uint8_t pad, uint8_t ds) |
static void | hal_pad_padcfg_configuration_set (uint8_t pad, uint8_t pe, uint8_t ds) |
#define APB_SOC_STATUS_EOC_SHIFT |
Referenced by soc_ctrl_corestatus_set().
#define ARCHI_PAD_NB_PAD_PER_PADFUNC |
#define ARCHI_PAD_NB_PAD_PER_SLEEPPADCFG |
#define ARCHI_PAD_NB_PADCFG_REG |
#define ARCHI_PAD_NB_PADFUNC_REG |
Referenced by pi_pad_init().
#define ARCHI_PAD_NB_SLEEPPADCFG_REG |
Referenced by pi_pad_sleepcfg_set().
|
inlinestatic |
Safe_padfun.
References soc_ctrl_safe_padfun_get(), and soc_ctrl_safe_padfun_set().
Referenced by pi_pad_set_function().
|
inlinestatic |
References soc_ctrl_safe_padcfg_get(), and soc_ctrl_safe_padcfg_set().
Referenced by pi_pad_set_configuration().
|
inlinestatic |
References soc_ctrl_safe_padcfg_get(), and soc_ctrl_safe_padcfg_set().
|
inlinestatic |
Safe_padcfg.
References soc_ctrl_safe_padcfg_get(), and soc_ctrl_safe_padcfg_set().
|
inlinestatic |
References soc_ctrl_safe_padfun_get().
|
inlinestatic |
References soc_ctrl_safe_padfun_set().
Referenced by pi_pad_init().
|
inlinestatic |
Safe_padsleep.
References SOC_CTRL_SAFE_PADSLEEP_EN, and soc_ctrl_safe_padsleep_set().
Referenced by pi_pad_sleepcfg_set().
|
inlinestatic |
References soc_ctrl_safe_sleeppadcfg_get(), and soc_ctrl_safe_sleeppadcfg_set().
|
inlinestatic |
Safe_sleeppadcfg.
References soc_ctrl_safe_sleeppadcfg_get(), and soc_ctrl_safe_sleeppadcfg_set().
|
inlinestatic |
References soc_ctrl_safe_sleeppadcfg_get(), and soc_ctrl_safe_sleeppadcfg_set().
|
inlinestatic |
References soc_ctrl_safe_sleeppadcfg_get().
|
inlinestatic |
References soc_ctrl_safe_sleeppadcfg_set().
Referenced by pi_pad_sleepcfg_set().
|
inlinestatic |
References soc_ctrl::corestatus, and hal_read32().
|
inlinestatic |
References APB_SOC_STATUS_EOC_SHIFT, soc_ctrl::corestatus, and hal_write32().
Referenced by system_exit().
|
inlinestatic |
References hal_read32().
Referenced by hal_pad_padcfg_configuration_set(), hal_pad_padcfg_drive_strength_set(), and hal_pad_padcfg_pull_enable().
|
inlinestatic |
References hal_write32().
Referenced by hal_pad_padcfg_configuration_set(), hal_pad_padcfg_drive_strength_set(), and hal_pad_padcfg_pull_enable().
|
inlinestatic |
References hal_read32().
Referenced by hal_pad_function_set(), and hal_pad_padfunc_get().
|
inlinestatic |
References hal_write32().
Referenced by hal_pad_function_set(), and hal_pad_padfunc_set().
|
inlinestatic |
References hal_read32(), and soc_ctrl::safe_padsleep.
|
inlinestatic |
References hal_write32(), and soc_ctrl::safe_padsleep.
Referenced by hal_pad_padsleep_enable().
|
inlinestatic |
References hal_read32(), and soc_ctrl::safe_sleeppadcfg.
Referenced by hal_pad_sleeppad_configuration_set(), hal_pad_sleeppad_direction_set(), hal_pad_sleeppad_state_set(), and hal_pad_sleeppadcfg_get().
|
inlinestatic |
References hal_write32(), and soc_ctrl::safe_sleeppadcfg.
Referenced by hal_pad_sleeppad_configuration_set(), hal_pad_sleeppad_direction_set(), hal_pad_sleeppad_state_set(), and hal_pad_sleeppadcfg_set().