PROFINET Device4.2.0
 
Loading...
Searching...
No Matches
Board Support Package

Overview

Functions and callback-prototypes needed for the board support package.

Typedefs

typedef uint32_t(* PN_API_IOD_storeRemaMemCbf) (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 prototype to request NV data storage.
 
typedef uint32_t(* PN_API_IOD_restoreRemaMemCbf) (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 prototype to request stored NV data.
 
typedef uint32_t(* PN_API_IOD_freeRemaMemCbf) (PN_API_IOD_Handle_t *const pnHandle, uint8_t *const destMem)
 Callback function prototype to request to clear data from NV memory.
 
typedef uint32_t(* PN_API_IOD_setLedCbf) (PN_API_IOD_Handle_t *pnHandle, PN_API_IOD_Led_t led, bool state)
 Callback function prototype to request changing of LED states.
 
typedef uint32_t(* PN_API_IOD_startLedBlinkCbf) (PN_API_IOD_Handle_t *const pnHandle, const uint32_t portNum, const uint32_t frequency)
 Callback function prototype to request the start of LED blinking.
 
typedef uint32_t(* PN_API_IOD_stopLedBlinkCbf) (PN_API_IOD_Handle_t *const pnHandle, const uint32_t portNum)
 Callback function prototype to request the stop of LED blinking.
 
typedef uint32_t(* PN_API_IOD_updateAppCycleTimerCbf) (PN_API_IOD_Handle_t *const pnHandle, const uint32_t timeNs)
 Callback function prototype to update app cycle Timer.
 

Functions

void PN_API_IOD_dataStoreComplete (PN_API_IOD_Handle_t *pnHandle, uint32_t lenWritten)
 Non volatile store completed.