Functions | |
| __STATIC_INLINE void | ll_gpio_set_pin_mode (gpio_regs_t *GPIOx, uint32_t pin_mask, uint32_t mode) |
| Set several pins to input/output mode on dedicated port. More... | |
| __STATIC_INLINE uint32_t | ll_gpio_get_pin_mode (gpio_regs_t *GPIOx, uint32_t pin) |
| Return gpio mode for a dedicated pin on dedicated port. More... | |
| __STATIC_INLINE void | ll_gpio_set_pin_input_type (gpio_regs_t *GPIOx, uint32_t pin_mask, uint32_t type) |
| Set several pins input type on dedicated port. More... | |
| __STATIC_INLINE uint32_t | ll_gpio_get_pin_input_type (gpio_regs_t *GPIOx, uint32_t pin) |
| Return gpio input type for a dedicated pin on dedicated port. More... | |
| __STATIC_INLINE void | ll_gpio_set_pin_pull (gpio_regs_t *GPIOx, uint32_t pin_mask, uint32_t pull) |
| Configure gpio pull-up or pull-down for a dedicated pin on a dedicated port. More... | |
| __STATIC_INLINE uint32_t | ll_gpio_get_pin_pull (gpio_regs_t *GPIOx, uint32_t pin) |
| Return gpio pull-up or pull-down for a dedicated pin on a dedicated port. More... | |
| __STATIC_INLINE void | ll_gpio_set_pin_mux (gpio_regs_t *GPIOx, uint32_t pin, uint32_t mux) |
| Configure gpio pinmux number of a dedicated pin from 0 to 15 for a dedicated port. More... | |
| __STATIC_INLINE uint32_t | ll_gpio_get_pin_mux (gpio_regs_t *GPIOx, uint32_t pin) |
| Return gpio alternate function of a dedicated pin from 0 to 15 for a dedicated port. More... | |
| __STATIC_INLINE void | ll_gpio_set_pin_speed (gpio_regs_t *GPIOx, uint32_t pin_mask, uint32_t speed) |
| Configure gpio speed for a dedicated pin on a dedicated port. More... | |
| __STATIC_INLINE uint32_t | ll_gpio_get_pin_speed (gpio_regs_t *GPIOx, uint32_t pin_mask) |
| Return gpio speed for a dedicated pin on a dedicated port. More... | |
| __STATIC_INLINE void | ll_gpio_set_pin_strength (gpio_regs_t *GPIOx, uint32_t pin_mask, uint32_t strength) |
| Configure gpio output drive strength for a dedicated pin on a dedicated port. More... | |
| __STATIC_INLINE uint32_t | ll_gpio_get_pin_strength (gpio_regs_t *GPIOx, uint32_t pin_mask) |
| Return gpio output drive strength for a dedicated pin on a dedicated port. More... | |
| __STATIC_INLINE uint32_t ll_gpio_get_pin_input_type | ( | gpio_regs_t * | GPIOx, |
| uint32_t | pin | ||
| ) |
Return gpio input type for a dedicated pin on dedicated port.
Register|BitsName --------|-------- OUTENSET | OUTENSET
| GPIOx | GPIO Port |
| pin | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 549 of file gr55xx_ll_gpio.h.
References LL_GPIO_INPUT_TYPE_CMOS, and LL_GPIO_INPUT_TYPE_SCHMITT.
| __STATIC_INLINE uint32_t ll_gpio_get_pin_mode | ( | gpio_regs_t * | GPIOx, |
| uint32_t | pin | ||
| ) |
Return gpio mode for a dedicated pin on dedicated port.
Register|BitsName --------|-------- OUTENSET | OUTENSET
| GPIOx | GPIO Port |
| pin | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 433 of file gr55xx_ll_gpio.h.
References IE_SET, LL_GPIO_MODE_INOUT, LL_GPIO_MODE_INPUT, LL_GPIO_MODE_NONE, LL_GPIO_MODE_OUTPUT, and OE_SET.
| __STATIC_INLINE uint32_t ll_gpio_get_pin_mux | ( | gpio_regs_t * | GPIOx, |
| uint32_t | pin | ||
| ) |
Return gpio alternate function of a dedicated pin from 0 to 15 for a dedicated port.
Register|BitsName --------|-------- DPAD_MUX_CTRL8_15 | CTRL8_15 DPAD_MUX_CTRL24_31 | CTRL24_31
| GPIOx | GPIO Port |
| pin | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 764 of file gr55xx_ll_gpio.h.
References LL_GPIO_PIN_8.
| __STATIC_INLINE uint32_t ll_gpio_get_pin_pull | ( | gpio_regs_t * | GPIOx, |
| uint32_t | pin | ||
| ) |
Return gpio pull-up or pull-down for a dedicated pin on a dedicated port.
Register|BitsName --------|-------- DPAD_PE_BUS | PE DPAD_PS_BUS | PS
| GPIOx | GPIO Port |
| pin | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 645 of file gr55xx_ll_gpio.h.
References LL_GPIO_PULL_DOWN, LL_GPIO_PULL_NO, and LL_GPIO_PULL_UP.
| __STATIC_INLINE uint32_t ll_gpio_get_pin_speed | ( | gpio_regs_t * | GPIOx, |
| uint32_t | pin_mask | ||
| ) |
Return gpio speed for a dedicated pin on a dedicated port.
Register|BitsName --------|-------- MCU_RET | DPAD_SR_BUS MCU_RET | DPAD_SR_BUS
| GPIOx | GPIO Port |
| pin_mask | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 878 of file gr55xx_ll_gpio.h.
| __STATIC_INLINE uint32_t ll_gpio_get_pin_strength | ( | gpio_regs_t * | GPIOx, |
| uint32_t | pin_mask | ||
| ) |
Return gpio output drive strength for a dedicated pin on a dedicated port.
Register|BitsName --------|-------- MCU_RET | DPAD_DS0_BUS MCU_RET | DPAD_DS1_BUS
| GPIOx | GPIO Port |
| pin_mask | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 979 of file gr55xx_ll_gpio.h.
References LL_GPIO_STRENGTH_DS0_POS, and LL_GPIO_STRENGTH_DS1_POS.
| __STATIC_INLINE void ll_gpio_set_pin_input_type | ( | gpio_regs_t * | GPIOx, |
| uint32_t | pin_mask, | ||
| uint32_t | type | ||
| ) |
Set several pins input type on dedicated port.
Register|BitsName --------|-------- OUTENSET | OUTENSET OUTENCLR | OUTENCLR
| GPIOx | GPIO Port |
| 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 505 of file gr55xx_ll_gpio.h.
References LL_GPIO_INPUT_TYPE_SCHMITT.
| __STATIC_INLINE void ll_gpio_set_pin_mode | ( | gpio_regs_t * | GPIOx, |
| uint32_t | pin_mask, | ||
| uint32_t | mode | ||
| ) |
Set several pins to input/output mode on dedicated port.
Register|BitsName --------|-------- OUTENSET | OUTENSET OUTENCLR | OUTENCLR
| GPIOx | GPIO Port |
| 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 381 of file gr55xx_ll_gpio.h.
References LL_GPIO_MODE_INOUT, LL_GPIO_MODE_INPUT, and LL_GPIO_MODE_OUTPUT.
| __STATIC_INLINE void ll_gpio_set_pin_mux | ( | gpio_regs_t * | GPIOx, |
| uint32_t | pin, | ||
| uint32_t | mux | ||
| ) |
Configure gpio pinmux number of a dedicated pin from 0 to 15 for a dedicated port.
Register|BitsName --------|-------- DPAD_MUX_CTRL0_7 | CTRL0_7 DPAD_MUX_CTRL16_23 | CTRL16_23
| GPIOx | GPIO Port |
| pin | This parameter can be one of the following values: |
| mux | This parameter can be one of the following values: |
| None |
Definition at line 701 of file gr55xx_ll_gpio.h.
| __STATIC_INLINE void ll_gpio_set_pin_pull | ( | gpio_regs_t * | GPIOx, |
| uint32_t | pin_mask, | ||
| uint32_t | pull | ||
| ) |
Configure gpio pull-up or pull-down for a dedicated pin on a dedicated port.
Register|BitsName --------|-------- DPAD_PE_BUS | PE DPAD_PS_BUS | PS
| GPIOx | GPIO Port |
| 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 597 of file gr55xx_ll_gpio.h.
References LL_GPIO_PULL_NO, and LL_GPIO_PULL_UP.
| __STATIC_INLINE void ll_gpio_set_pin_speed | ( | gpio_regs_t * | GPIOx, |
| uint32_t | pin_mask, | ||
| uint32_t | speed | ||
| ) |
Configure gpio speed for a dedicated pin on a dedicated port.
Register|BitsName --------|-------- MCU_RET | DPAD_SR_BUS MCU_RET | DPAD_SR_BUS
| GPIOx | GPIO Port |
| pin_mask | This parameter can be a combination of the following values: |
| speed | This parameter can be one of the following values: |
| None |
Definition at line 832 of file gr55xx_ll_gpio.h.
| __STATIC_INLINE void ll_gpio_set_pin_strength | ( | gpio_regs_t * | GPIOx, |
| uint32_t | pin_mask, | ||
| uint32_t | strength | ||
| ) |
Configure gpio output drive strength for a dedicated pin on a dedicated port.
Register|BitsName --------|-------- MCU_RET | DPAD_DS0_BUS MCU_RET | DPAD_DS1_BUS
| GPIOx | GPIO Port |
| pin_mask | This parameter can be a combination of the following values: |
| strength | This parameter can be one of the following values: |
| None |
Definition at line 926 of file gr55xx_ll_gpio.h.
References LL_GPIO_STRENGTH_DS0_MASK, LL_GPIO_STRENGTH_DS0_POS, LL_GPIO_STRENGTH_DS1_MASK, and LL_GPIO_STRENGTH_DS1_POS.