PROFINET Device4.2.0
 
Loading...
Searching...
No Matches

◆ PN_APP_IOD_toggleGpioPin()

uint32_t PN_APP_IOD_toggleGpioPin ( uint32_t  gpioBaseAddr,
uint32_t  gpioPinNum 
)

Toggle a GPIO PIN to "high" or "low".

Parameters
[in]gpioBaseAddrBase address for the GPIO.
[in]gpioPinNumNumber of the GPIO PIN.
Returns
result of the operation as uint32_t.
Return values
PN_API_OKSuccess.