![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE uint32_t | DDL_GPIO_ReadInputPort (GPIO_Type GPIOx) |
| Return full input data register value for a dedicated port. | |
| __STATIC_INLINE uint32_t | DDL_GPIO_IsInputPinSet (GPIO_Type GPIOx, uint32_t PinMask) |
| Return if input data level for several pins of a dedicated port is high or low. | |
| __STATIC_INLINE void | DDL_GPIO_WriteOutputPort (GPIO_Type GPIOx, uint32_t PortValue) |
| Write output data register for the port. | |
| __STATIC_INLINE uint32_t | DDL_GPIO_ReadOutputPort (GPIO_Type GPIOx) |
| Return full output data register value for a dedicated port. | |
| __STATIC_INLINE uint32_t | DDL_GPIO_IsOutputPinSet (GPIO_Type GPIOx, uint32_t PinMask) |
| Return if input data level for several pins of dedicated port is high or low. | |
| __STATIC_INLINE void | DDL_GPIO_SetOutputPin (GPIO_Type GPIOx, uint32_t PinMask) |
| Set several pins to high level on dedicated gpio port. | |
| __STATIC_INLINE void | DDL_GPIO_ResetOutputPin (GPIO_Type GPIOx, uint32_t PinMask) |
| Set several pins to low level on dedicated gpio port. | |
| __STATIC_INLINE void | DDL_GPIO_TogglePin (GPIO_Type GPIOx, uint32_t PinMask) |
| Toggle data value for several pin of dedicated port. | |
| void | DDL_GPIO_EnableAdc3AnalogSwitchPin (GPIO_Type GPIOx, uint32_t PinMask) |
| Enable ADC3 analog switch bits in SWR for the given GPIO port. | |
| void | DDL_GPIO_DisableAdc3AnalogSwitchPin (GPIO_Type GPIOx, uint32_t PinMask) |
| Disable ADC3 analog switch bits in SWR for the given GPIO port. | |
| void | DDL_GPIO_SetSpecialPinType (GPIO_Type GPIOx, uint32_t PinMask, uint32_t PinType) |
| Configure special pin type for the dedicated special GPIO pin. | |
| uint32_t | DDL_GPIO_GetSpecialPinType (GPIO_Type GPIOx, uint32_t PinMask) |
| Return special pin type configuration for the dedicated special GPIO pin. | |
| void DDL_GPIO_DisableAdc3AnalogSwitchPin | ( | GPIO_Type | GPIOx, |
| uint32_t | PinMask ) |
Disable ADC3 analog switch bits in SWR for the given GPIO port.
| GPIOx | GPIO Port. |
| PinMask | Combination of pins allowed for this port (see Enable API). |
| None |
Disable ADC3 analog switch bits in SWR for the given GPIO port.
| GPIOx | GPIO port. |
| PinMask | ADC3 analog-switch pin mask for this port. |
| None |
Definition at line 278 of file g32r4xx_ddl_gpio.c.
| void DDL_GPIO_EnableAdc3AnalogSwitchPin | ( | GPIO_Type | GPIOx, |
| uint32_t | PinMask ) |
Enable ADC3 analog switch bits in SWR for the given GPIO port.
| GPIOx | GPIO Port. |
| PinMask | Combination of pins allowed for this port: GPIOB: DDL_GPIO_PIN_2 (ADC3_CH0), DDL_GPIO_PIN_3 (ADC3_CH1), DDL_GPIO_PIN_5 (ADC3_CH2) GPIOC: DDL_GPIO_PIN_3 (ADC3_CH0), DDL_GPIO_PIN_4 (ADC3_CH1), DDL_GPIO_PIN_5 (ADC3_CH2), DDL_GPIO_PIN_6 (ADC3_CH3), DDL_GPIO_PIN_9 (ADC3_CH6), DDL_GPIO_PIN_10 (ADC3_CH7), DDL_GPIO_PIN_11 (ADC3_CH8) GPIOD: DDL_GPIO_PIN_0 (ADC3_CH10), DDL_GPIO_PIN_1 (ADC3_CH11), DDL_GPIO_PIN_2 (ADC3_CH12) |
| None |
Enable ADC3 analog switch bits in SWR for the given GPIO port.
| GPIOx | GPIO port. |
| PinMask | ADC3 analog-switch pin mask for this port. |
| None |
Definition at line 262 of file g32r4xx_ddl_gpio.c.
| uint32_t DDL_GPIO_GetSpecialPinType | ( | GPIO_Type | GPIOx, |
| uint32_t | PinMask ) |
Return special pin type configuration for the dedicated special GPIO pin.
| GPIOx | GPIO port. |
| PinMask | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
| GPIOx | GPIO port. |
| PinMask | GPIO pin mask. |
| Returned | value can be a value of Special Pin Type Configuration. |
Definition at line 312 of file g32r4xx_ddl_gpio.c.
| __STATIC_INLINE uint32_t DDL_GPIO_IsInputPinSet | ( | GPIO_Type | GPIOx, |
| uint32_t | PinMask ) |
Return if input data level for several pins of a dedicated port is high or low.
| GPIOx | GPIO Port. |
| PinMask | This parameter can be a combination of the following values: |
| State | of bit (1 or 0). |
Definition at line 761 of file g32r4xx_ddl_gpio.h.
| __STATIC_INLINE uint32_t DDL_GPIO_IsOutputPinSet | ( | GPIO_Type | GPIOx, |
| uint32_t | PinMask ) |
Return if input data level for several pins of dedicated port is high or low.
| GPIOx | GPIO Port |
| PinMask | This parameter can be a combination of the following values: |
| State | of bit (1 or 0). |
Definition at line 813 of file g32r4xx_ddl_gpio.h.
| __STATIC_INLINE uint32_t DDL_GPIO_ReadInputPort | ( | GPIO_Type | GPIOx | ) |
Return full input data register value for a dedicated port.
| GPIOx | GPIO port. |
| Input | data register value of port |
Definition at line 732 of file g32r4xx_ddl_gpio.h.
| __STATIC_INLINE uint32_t DDL_GPIO_ReadOutputPort | ( | GPIO_Type | GPIOx | ) |
Return full output data register value for a dedicated port.
| GPIOx | GPIO Port |
| Output | data register value of port |
Definition at line 784 of file g32r4xx_ddl_gpio.h.
| __STATIC_INLINE void DDL_GPIO_ResetOutputPin | ( | GPIO_Type | GPIOx, |
| uint32_t | PinMask ) |
Set several pins to low level on dedicated gpio port.
| GPIOx | GPIO Port. |
| PinMask | This parameter can be a combination of the following values: |
| None |
Definition at line 871 of file g32r4xx_ddl_gpio.h.
| __STATIC_INLINE void DDL_GPIO_SetOutputPin | ( | GPIO_Type | GPIOx, |
| uint32_t | PinMask ) |
Set several pins to high level on dedicated gpio port.
| GPIOx | GPIO Port. |
| PinMask | This parameter can be a combination of the following values: |
| None |
Definition at line 842 of file g32r4xx_ddl_gpio.h.
| void DDL_GPIO_SetSpecialPinType | ( | GPIO_Type | GPIOx, |
| uint32_t | PinMask, | ||
| uint32_t | PinType ) |
Configure special pin type for the dedicated special GPIO pin.
| GPIOx | GPIO port. |
| PinMask | This parameter can be one of the following values: |
| PinType | This parameter can be one of the following values: |
| GPIOx | GPIO port. |
| PinMask | GPIO pin mask. |
| PinType | This parameter can be a value of Special Pin Type Configuration. |
| None |
Definition at line 295 of file g32r4xx_ddl_gpio.c.
| __STATIC_INLINE void DDL_GPIO_TogglePin | ( | GPIO_Type | GPIOx, |
| uint32_t | PinMask ) |
Toggle data value for several pin of dedicated port.
| GPIOx | GPIO Port |
| PinMask | This parameter can be a combination of the following values: |
| None |
Definition at line 900 of file g32r4xx_ddl_gpio.h.
| __STATIC_INLINE void DDL_GPIO_WriteOutputPort | ( | GPIO_Type | GPIOx, |
| uint32_t | PortValue ) |
Write output data register for the port.
| GPIOx | GPIO Port. |
| PortValue | Level value for each pin of the port. limited in 0x0000 - 0xffff |
| None |
Definition at line 773 of file g32r4xx_ddl_gpio.h.