Functions | |
__STATIC_INLINE void | ll_msio_set_pin_direction (msio_pad_t MSIOx, uint32_t pin_mask, uint32_t direction) |
Set several MSIO pins to input/output direction. More... | |
__STATIC_INLINE uint32_t | ll_msio_get_pin_direction (msio_pad_t MSIOx, uint32_t pin) |
Return gpio direction for a MSIO pin. More... | |
__STATIC_INLINE void | ll_msio_set_pin_mode (msio_pad_t MSIOx, uint32_t pin_mask, uint32_t mode) |
Set several MSIO pins to analog/digital mode. More... | |
__STATIC_INLINE uint32_t | ll_msio_get_pin_mode (msio_pad_t MSIOx, uint32_t pin) |
Return gpio mode for a MSIO pin. More... | |
__STATIC_INLINE void | ll_msio_set_pin_input_type (msio_pad_t MSIOx, uint32_t pin_mask, uint32_t type) |
Set several MSIO pins input type. More... | |
__STATIC_INLINE uint32_t | ll_msio_get_pin_input_type (msio_pad_t MSIOx, uint32_t pin) |
Return input type for a MSIO pin. More... | |
__STATIC_INLINE void | ll_msio_set_pin_pull (msio_pad_t MSIOx, uint32_t pin_mask, uint32_t pull) |
Configure gpio pull-up or pull-down for a dedicated MSIO pin. More... | |
__STATIC_INLINE uint32_t | ll_msio_get_pin_pull (msio_pad_t MSIOx, uint32_t pin) |
Return gpio pull-up or pull-down for a dedicated MSIO pin. More... | |
__STATIC_INLINE void | ll_msio_set_pin_mux (msio_pad_t MSIOx, uint32_t pin, uint32_t mux) |
Configure gpio pinmux number of a dedicated pin from 0 to 9 for a dedicated port. More... | |
__STATIC_INLINE uint32_t | ll_msio_get_pin_mux (msio_pad_t MSIOx, uint32_t pin) |
Return gpio alternate function of a dedicated pin from 0 to 9 for a dedicated port. More... | |
__STATIC_INLINE void | ll_msio_set_pin_speed (msio_pad_t MSIOx, uint32_t pin_mask, uint32_t speed) |
Configure gpio pinmux number of a dedicated pin from 0 to 9 for a dedicated port. More... | |
__STATIC_INLINE uint32_t | ll_msio_get_pin_speed (msio_pad_t MSIOx, uint32_t pin) |
Return gpio alternate function of a dedicated pin from 0 to 9 for a dedicated port. More... | |
__STATIC_INLINE void | ll_msio_set_pin_strength (msio_pad_t MSIOx, uint32_t pin_mask, uint32_t strength) |
Configure gpio pinmux number of a dedicated pin from 0 to 9 for a dedicated port. More... | |
__STATIC_INLINE uint32_t | ll_msio_get_pin_strength (msio_pad_t MSIOx, uint32_t pin_mask) |
Return gpio alternate function of a dedicated pin from 0 to 9 for a dedicated port. More... | |
__STATIC_INLINE uint32_t ll_msio_get_pin_direction | ( | msio_pad_t | MSIOx, |
uint32_t | pin | ||
) |
Return gpio direction for a MSIO pin.
Register|BitsName --------|-------- MSIO_PAD_CFG_0 | OE MSIO_PAD_CFG_1 | IE
MSIOx | MSIO instance. |
pin | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 351 of file ll_msio.h.
References AON_MSIO, LL_MSIO_INPUT_POS, and LL_MSIO_OUTPUT_POS.
__STATIC_INLINE uint32_t ll_msio_get_pin_input_type | ( | msio_pad_t | MSIOx, |
uint32_t | pin | ||
) |
Return input type for a MSIO pin.
Register|BitsName --------|-------- MSIO_A_PAD_CFG2 | IS
MSIOx | MSIO instance. |
pin | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 487 of file ll_msio.h.
References AON_MSIO, LL_MSIO_INPUT_TYPE_CMOS, and LL_MSIO_INPUT_TYPE_SCHMITT.
__STATIC_INLINE uint32_t ll_msio_get_pin_mode | ( | msio_pad_t | MSIOx, |
uint32_t | pin | ||
) |
Return gpio mode for a MSIO pin.
Register|BitsName --------|-------- MSIO_PAD_CFG_3 | AE
MSIOx | MSIO instance. |
pin | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 424 of file ll_msio.h.
References AON_MSIO, LL_MSIO_MODE_ANALOG, and LL_MSIO_MODE_DIGITAL.
__STATIC_INLINE uint32_t ll_msio_get_pin_mux | ( | msio_pad_t | MSIOx, |
uint32_t | pin | ||
) |
Return gpio alternate function of a dedicated pin from 0 to 9 for a dedicated port.
Register|BitsName --------|-------- MSIO_PAD_MUX | MSIO_PAD_MUX MSIO_PAD_CFG_1 | MCU_OVR
MSIOx | MSIO instance. |
pin | This parameter can be one of the following values: |
Returned | value can be one of the following values: IO_MUX_GPIO define |
Definition at line 635 of file ll_msio.h.
References AON_MSIO, and IO_MUX_GPIO.
__STATIC_INLINE uint32_t ll_msio_get_pin_pull | ( | msio_pad_t | MSIOx, |
uint32_t | pin | ||
) |
Return gpio pull-up or pull-down for a dedicated MSIO pin.
Register|BitsName --------|-------- MSIO_PAD_CFG_1 | PE MSIO_PAD_CFG_1 | PS
MSIOx | MSIO instance. |
pin | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 556 of file ll_msio.h.
References AON_MSIO, LL_MSIO_PULL_DOWN, LL_MSIO_PULL_NO, and LL_MSIO_PULL_UP.
__STATIC_INLINE uint32_t ll_msio_get_pin_speed | ( | msio_pad_t | MSIOx, |
uint32_t | pin | ||
) |
Return gpio alternate function of a dedicated pin from 0 to 9 for a dedicated port.
Register|BitsName --------|-------- MSIO_A_PAD_CFG2 | SR
MSIOx | MSIO instance. |
pin | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 716 of file ll_msio.h.
References AON_MSIO.
__STATIC_INLINE uint32_t ll_msio_get_pin_strength | ( | msio_pad_t | MSIOx, |
uint32_t | pin_mask | ||
) |
Return gpio alternate function of a dedicated pin from 0 to 9 for a dedicated port.
Register|BitsName --------|-------- MSIO_A_PAD_CFG3 | DS0 MSIO_A_PAD_CFG3 | DS1
MSIOx | MSIO instance. |
pin_mask | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 801 of file ll_msio.h.
References AON_MSIO, LL_MSIO_STRENGTH_DS0_POS, and LL_MSIO_STRENGTH_DS1_POS.
__STATIC_INLINE void ll_msio_set_pin_direction | ( | msio_pad_t | MSIOx, |
uint32_t | pin_mask, | ||
uint32_t | direction | ||
) |
Set several MSIO pins to input/output direction.
Register|BitsName --------|-------- MSIO_PAD_CFG_0 | OE MSIO_PAD_CFG_1 | IE
MSIOx | MSIO instance |
pin_mask | This parameter can be a combination of the following values: |
direction | This parameter can be one of the following values: |
None |
Definition at line 312 of file ll_msio.h.
References AON_MSIO, LL_MSIO_DIRECTION_INOUT, LL_MSIO_DIRECTION_INPUT, and LL_MSIO_DIRECTION_OUTPUT.
__STATIC_INLINE void ll_msio_set_pin_input_type | ( | msio_pad_t | MSIOx, |
uint32_t | pin_mask, | ||
uint32_t | type | ||
) |
Set several MSIO pins input type.
Register|BitsName --------|-------- MSIO_A_PAD_CFG2 | IS
MSIOx | MSIO instance. |
pin_mask | This parameter can be a combination of the following values: |
type | This parameter can be one of the following values: |
None |
Definition at line 456 of file ll_msio.h.
References AON_MSIO, and LL_MSIO_INPUT_TYPE_SCHMITT.
__STATIC_INLINE void ll_msio_set_pin_mode | ( | msio_pad_t | MSIOx, |
uint32_t | pin_mask, | ||
uint32_t | mode | ||
) |
Set several MSIO pins to analog/digital mode.
Register|BitsName --------|-------- MSIO_PAD_CFG_3 | AE
MSIOx | MSIO instance. |
pin_mask | This parameter can be a combination of the following values: |
mode | This parameter can be one of the following values: |
None |
Definition at line 386 of file ll_msio.h.
References AON_MSIO, and LL_MSIO_MODE_ANALOG.
__STATIC_INLINE void ll_msio_set_pin_mux | ( | msio_pad_t | MSIOx, |
uint32_t | pin, | ||
uint32_t | mux | ||
) |
Configure gpio pinmux number of a dedicated pin from 0 to 9 for a dedicated port.
Register|BitsName --------|-------- MSIO_PAD_MUX | MSIO_PAD_MUX MSIO_PAD_CFG_1 | MCU_OVR
MSIOx | MSIO instance. |
pin | This parameter can be one of the following values: |
mux | This parameter can be one of the following values: IO_MUX_GPIO define |
None |
Definition at line 590 of file ll_msio.h.
References AON_MSIO, and IO_MUX_GPIO.
__STATIC_INLINE void ll_msio_set_pin_pull | ( | msio_pad_t | MSIOx, |
uint32_t | pin_mask, | ||
uint32_t | pull | ||
) |
Configure gpio pull-up or pull-down for a dedicated MSIO pin.
Register|BitsName --------|-------- MSIO_PAD_CFG_1 | PE MSIO_PAD_CFG_1 | PS
MSIOx | MSIO instance. |
pin_mask | This parameter can be a combination of the following values: |
pull | This parameter can be one of the following values: |
None |
Definition at line 521 of file ll_msio.h.
References AON_MSIO, LL_MSIO_PULL_NO, and LL_MSIO_PULL_UP.
__STATIC_INLINE void ll_msio_set_pin_speed | ( | msio_pad_t | MSIOx, |
uint32_t | pin_mask, | ||
uint32_t | speed | ||
) |
Configure gpio pinmux number of a dedicated pin from 0 to 9 for a dedicated port.
Register|BitsName --------|-------- MSIO_A_PAD_CFG2 | SR
MSIOx | MSIO instance. |
pin_mask | This parameter can be one of the following values: |
speed | This parameter can be one of the following values: |
None |
Definition at line 681 of file ll_msio.h.
References AON_MSIO.
__STATIC_INLINE void ll_msio_set_pin_strength | ( | msio_pad_t | MSIOx, |
uint32_t | pin_mask, | ||
uint32_t | strength | ||
) |
Configure gpio pinmux number of a dedicated pin from 0 to 9 for a dedicated port.
Register|BitsName --------|-------- MSIO_A_PAD_CFG3 | DS0 MSIO_A_PAD_CFG3 | DS1
MSIOx | MSIO instance. |
pin_mask | This parameter can be one of the following values: |
strength | This parameter can be one of the following values: |
None |
Definition at line 753 of file ll_msio.h.
References AON_MSIO, LL_MSIO_STRENGTH_DS0_MASK, LL_MSIO_STRENGTH_DS0_POS, LL_MSIO_STRENGTH_DS1_MASK, and LL_MSIO_STRENGTH_DS1_POS.