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

◆ PN_APP_IOD_setGpioPin()

uint32_t PN_APP_IOD_setGpioPin ( uint32_t  gpioBaseAddr,
uint32_t  gpioPinNum,
uint8_t  value 
)

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

Parameters
[in]gpioBaseAddrBase address for the GPIO.
[in]gpioPinNumNumber of the GPIO PIN.
[in]value1 for "high", 0 for "low"
Returns
result of the operation as uint32_t.
Return values
PN_API_OKSuccess.