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_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 4 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 4 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_N MSIO_PAD_CFG_0 | IE_N
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 326 of file gr55xx_ll_msio.h.
References LL_MSIO_DIRECTION_INOUT, LL_MSIO_DIRECTION_INPUT, LL_MSIO_DIRECTION_NONE, and LL_MSIO_DIRECTION_OUTPUT.
__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_1 | AE_N
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 396 of file gr55xx_ll_msio.h.
References 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 4 for a dedicated port.
Register|BitsName --------|-------- MSIO_PAD_MUX_CTL | CTL_00_04 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: |
Definition at line 555 of file gr55xx_ll_msio.h.
References LL_MSIO_MUX_7.
__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_0 | RE_N MSIO_PAD_CFG_1 | RTYPE
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 468 of file gr55xx_ll_msio.h.
References LL_MSIO_PULL_DOWN, LL_MSIO_PULL_NO, and LL_MSIO_PULL_UP.
__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_N MSIO_PAD_CFG_0 | IE_N
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 275 of file gr55xx_ll_msio.h.
References LL_MSIO_DIRECTION_INOUT, LL_MSIO_DIRECTION_INPUT, LL_MSIO_DIRECTION_NONE, and LL_MSIO_DIRECTION_OUTPUT.
__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_1 | AE_N
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 366 of file gr55xx_ll_msio.h.
References 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 4 for a dedicated port.
Register|BitsName --------|-------- MSIO_PAD_MUX_CTL | CTL_00_04 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: |
None |
Definition at line 513 of file gr55xx_ll_msio.h.
References LL_MSIO_MUX_7.
__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_0 | RE_N MSIO_PAD_CFG_1 | RTYPE
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 427 of file gr55xx_ll_msio.h.
References LL_MSIO_PULL_NO, and LL_MSIO_PULL_UP.