Functions | |
| __STATIC_INLINE void | ll_aon_gpio_set_pin_mode (uint32_t pin_mask, uint32_t mode) |
| Set several AON_GPIO pins to input/output mode. More... | |
| __STATIC_INLINE uint32_t | ll_aon_gpio_get_pin_mode (uint32_t pin) |
| Return gpio mode for a AON_GPIO pin. More... | |
| __STATIC_INLINE void | ll_aon_gpio_set_pin_pull (uint32_t pin_mask, uint32_t pull) |
| Configure gpio pull-up or pull-down for a dedicated AON_GPIO pin. More... | |
| __STATIC_INLINE uint32_t | ll_aon_gpio_get_pin_pull (uint32_t pin) |
| Return gpio pull-up or pull-down for a dedicated AON_GPIO pin. More... | |
| __STATIC_INLINE void | ll_aon_gpio_set_mux_pin_0_7 (uint32_t pin, uint32_t mux) |
| Configure gpio pinmux number of a dedicated pin from 0 to 7 for a dedicated port. More... | |
| __STATIC_INLINE uint32_t | ll_aon_gpio_get_mux_pin_0_7 (uint32_t pin) |
| Return gpio alternate function of a dedicated pin from 0 to 7 for a dedicated port. More... | |
| __STATIC_INLINE void | ll_aon_gpio_enable_xo_2mhz_output (void) |
| Enable Xo_2MHz output on AON_GPIO_PIN5. More... | |
| __STATIC_INLINE void | ll_aon_gpio_disable_xo_2mhz_output (void) |
| Disable Xo_2MHz output on AON_GPIO_PIN5. More... | |
| SECTION_RAM_CODE __STATIC_INLINE uint32_t | ll_aon_gpio_is_enabled_xo_2mhz_output (void) |
| Check if Xo_2MHz output on AON_GPIO_PIN5 is enabled or disabled. More... | |
| __STATIC_INLINE void ll_aon_gpio_disable_xo_2mhz_output | ( | void | ) |
Disable Xo_2MHz output on AON_GPIO_PIN5.
| Register | BitsName |
|---|---|
| PWR_RET01 | XO_2MHZ_ENA |
| None |
| __STATIC_INLINE void ll_aon_gpio_enable_xo_2mhz_output | ( | void | ) |
Enable Xo_2MHz output on AON_GPIO_PIN5.
| Register | BitsName |
|---|---|
| PWR_RET01 | XO_2MHZ_ENA |
| None |
| __STATIC_INLINE uint32_t ll_aon_gpio_get_mux_pin_0_7 | ( | uint32_t | pin | ) |
Return gpio alternate function of a dedicated pin from 0 to 7 for a dedicated port.
| Register | BitsName |
|---|---|
| AON_PAD_MUX_CTRL | CTRL0_7 |
| AON_PAD_CTL_0 | MCU_OVR |
| pin | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
| __STATIC_INLINE uint32_t ll_aon_gpio_get_pin_mode | ( | uint32_t | pin | ) |
Return gpio mode for a AON_GPIO pin.
| Register | BitsName |
|---|---|
| AON_PAD_CTL1 | AON_GPO_OE_N |
| pin | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
| __STATIC_INLINE uint32_t ll_aon_gpio_get_pin_pull | ( | uint32_t | pin | ) |
Return gpio pull-up or pull-down for a dedicated AON_GPIO pin.
| Register | BitsName |
|---|---|
| AON_PAD_CTL0 | GPO_RE_N |
| AON_PAD_CTL0 | GPO_RTYPE |
| pin | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
| SECTION_RAM_CODE __STATIC_INLINE uint32_t ll_aon_gpio_is_enabled_xo_2mhz_output | ( | void | ) |
Check if Xo_2MHz output on AON_GPIO_PIN5 is enabled or disabled.
| Register | BitsName |
|---|---|
| PWR_RET01 | XO_2MHZ_ENA |
| None |
| __STATIC_INLINE void ll_aon_gpio_set_mux_pin_0_7 | ( | uint32_t | pin, |
| uint32_t | mux | ||
| ) |
Configure gpio pinmux number of a dedicated pin from 0 to 7 for a dedicated port.
| Register | BitsName |
|---|---|
| AON_PAD_MUX_CTRL | CTRL0_7 |
| AON_PAD_CTL_0 | MCU_OVR |
| pin | This parameter can be one of the following values: |
| mux | This parameter can be one of the following values: |
| None |
| __STATIC_INLINE void ll_aon_gpio_set_pin_mode | ( | uint32_t | pin_mask, |
| uint32_t | mode | ||
| ) |
Set several AON_GPIO pins to input/output mode.
| Register | BitsName |
|---|---|
| AON_PAD_CTL1 | AON_GPO_OE_N |
| pin_mask | This parameter can be a combination of the following values: |
| mode | This parameter can be one of the following values: |
| None |
| __STATIC_INLINE void ll_aon_gpio_set_pin_pull | ( | uint32_t | pin_mask, |
| uint32_t | pull | ||
| ) |
Configure gpio pull-up or pull-down for a dedicated AON_GPIO pin.
| Register | BitsName |
|---|---|
| AON_PAD_CTL0 | GPO_RE_N |
| AON_PAD_CTL0 | GPO_RTYPE |
| pin_mask | This parameter can be a combination of the following values: |
| pull | This parameter can be one of the following values: |
| None |