Functions and callbacks for handling the board support package like memory and LED control.
|
| uint32_t | PN_APP_IOD_cbSetLed (PN_API_IOD_Handle_t *const pnHandle, const PN_API_IOD_Led_t led, const bool state) |
| | Callback function to set LED states.
|
| |
| uint32_t | PN_APP_IOD_cbStartLedBlink (PN_API_IOD_Handle_t *const pnHandle, const uint32_t portNum, const uint32_t frequency) |
| | Callback function to request the start of LED blinking.
|
| |
| uint32_t | PN_APP_IOD_cbStopLedBlink (PN_API_IOD_Handle_t *const pnHandle, const uint32_t portNum) |
| | Callback function to request the stop of LED blinking.
|
| |
| uint32_t | PN_APP_IOD_cbFreeRemaMem (PN_API_IOD_Handle_t *const pnHandle, uint8_t *const destMem) |
| | Callback function to request to clear remanent data from NV memory.
|
| |
| uint32_t | PN_APP_IOD_cbStoreRemaMem (PN_API_IOD_Handle_t *const pnHandle, PN_API_IOD_RemaDataType_t type, const uint32_t instance, const uint32_t memSize, uint8_t *const srcMem) |
| | Callback function to request to store remanent data in NV memory.
|
| |
| uint32_t | PN_APP_IOD_cbRestoreRemaMem (PN_API_IOD_Handle_t *const pnHandle, PN_API_IOD_RemaDataType_t type, const uint32_t instance, uint8_t **const destMem, uint32_t *const memSize) |
| | Callback function to request stored remanent data.
|
| |
| uint32_t | PN_APP_IOD_factoryResetRemaMem (PN_API_IOD_Handle_t *pnHandle, const PN_API_IOD_RtfOption_t rtfOption) |
| | Reset remanent memory to factory defaults.
|
| |
| uint32_t | PN_APP_IOD_updateAppCycle (PN_API_IOD_Handle_t *pnHandle, uint32_t timeNs) |
| | Update App Cycle Timer.
|
| |
| uint32_t | PN_APP_IOD_remaInit (void) |
| | Initialize ramNvData instance, load data from persistent memory and initialize the async write thread.
|
| |
| uint32_t | PN_APP_IOD_ledInit (void) |
| | Initialize ledContext instance and start led task.
|
| |
| uint32_t | PN_APP_IOD_btnInit (void) |
| | Initialize input user GPIO button and configures its interrupt.
|
| |
| uint32_t | PN_APP_IOD_setGpioPin (uint32_t gpioBaseAddr, uint32_t gpioPinNum, uint8_t value) |
| | Set a GPIO PIN to "high" or "low".
|
| |
| uint32_t | PN_APP_IOD_toggleGpioPin (uint32_t gpioBaseAddr, uint32_t gpioPinNum) |
| | Toggle a GPIO PIN to "high" or "low".
|
| |