CMSIS GPIO Driver Function Documentation
GPIO_GetVersion
ARM_DRIVER_VERSION GPIO_GetVersion()
Location: Driver_GPIO.c:21
GPIO_Initialize
int32_t GPIO_Initialize(GPIO_SignalEvent_t cb)
Location: Driver_GPIO.c:22
Parameters
Direction | Name | Description |
---|---|---|
in |
cb |
Pointer to GPIO_SignalEvent |
GPIO_Configure
int32_t GPIO_Configure(const GPIO_CFG_t * cfg)
Location: Driver_GPIO.c:23
Parameters
Direction | Name | Description |
---|---|---|
in |
cfg |
Pointer to GPIO_CFG_t |
GPIO_ConfigurePad
int32_t GPIO_ConfigurePad(GPIO_SEL_t sel, const GPIO_PAD_CFG_t * cfg)
Location: Driver_GPIO.c:24
Parameters
Direction | Name | Description |
---|---|---|
in |
sel |
Pad selection GPIO_SEL_t |
in |
cfg |
Pointer to GPIO_PAD_CFG_t |
GPIO_ConfigureInterrupt
int32_t GPIO_ConfigureInterrupt(GPIO_INT_SEL_t sel, const GPIO_INT_CFG_t * cfg)
Location: Driver_GPIO.c:25
Parameters
Direction | Name | Description |
---|---|---|
in |
sel |
Interrupt selection GPIO_INT_SEL_t |
in |
cfg |
Pointer to GPIO_INT_CFG_t |
GPIO_SetInterruptPriority
int32_t GPIO_SetInterruptPriority(GPIO_INT_SEL_t sel, const GPIO_PRI_CFG_t * cfg)
Location: Driver_GPIO.c:26
Parameters
Direction | Name | Description |
---|---|---|
in |
sel |
Interrupt selection GPIO_INT_SEL_t |
in |
cfg |
Pointer to GPIO_PRI_CFG_t |
GPIO_ConfigureJTAG
int32_t GPIO_ConfigureJTAG(const GPIO_JTAG_SW_CFG_t * cfg)
Location: Driver_GPIO.c:27
Parameters
Direction | Name | Description |
---|---|---|
in |
cfg |
Pointer to GPIO_JTAG_SW_CFG_t |
GPIO_SetHigh
void GPIO_SetHigh(GPIO_SEL_t sel)
Location: Driver_GPIO.c:29
Parameters
Direction | Name | Description |
---|---|---|
in |
sel |
Pad selection GPIO_SEL_t |
Return
GPIO_ToggleValue
void GPIO_ToggleValue(GPIO_SEL_t sel)
Location: Driver_GPIO.c:30
Parameters
Direction | Name | Description |
---|---|---|
in |
sel |
Pad selection GPIO_SEL_t |
Return
GPIO_SetLow
void GPIO_SetLow(GPIO_SEL_t sel)
Location: Driver_GPIO.c:31
Parameters
Direction | Name | Description |
---|---|---|
in |
sel |
Pad selection GPIO_SEL_t |
Return
GPIO_ReadValue
uint32_t GPIO_ReadValue(GPIO_SEL_t sel)
Location: Driver_GPIO.c:32
Parameters
Direction | Name | Description |
---|---|---|
in |
sel |
Pad selection GPIO_SEL_t |
Return
GPIO_ResetAltFuncRegister
int32_t GPIO_ResetAltFuncRegister(GPIO_FUNC_REGISTERS_t reg)
Location: Driver_GPIO.c:33
Parameters
Direction | Name | Description |
---|---|---|
in |
reg |
Register selection GPIO_FUNC_REGISTERS_t |
GPIO_SignalEvent
void GPIO_SignalEvent(uint32_t event)
Location: Driver_GPIO.c:35
Parameters
Direction | Name | Description |
---|---|---|
in |
event |
notification mask |
Return