Functions | |
tLegStates | PN_getLegState (void) |
Returns the IRT Legacy mode state. More... | |
void | PN_setLegState (void *arg, void *arg2) |
Sets the state of legacy state machine This API is registered as a callback in PN_registerSetState. More... | |
void | PN_setLegPkt (void *arg, void *arg2) |
Sets the Ethernet packet to output during legacy startup Usually a copy of RTC3 PPM. This API is registered as a callback in PN_registerSetPkt. More... | |
void | PN_registerSetState (PN_Handle pnHandle, pnLegCallBack_t callBack) |
Registers callback function for legacy state This callback is used to change the Legacy state machine. More... | |
void | PN_registerSetPkt (PN_Handle pnHandle, pnLegCallBack_t callBack) |
Registers callback function for packet pointer This callback is used to configure the packet send by the IRT state machine. More... | |
Typedefs | |
typedef void(* | pnLegCallBack_t) (void *arg, void *arg2) |
Callback function for processing Profinet IRQs. More... | |
Enumerations | |
enum | tLegStates { NOINIT, READY, SENDPPM, ABORT } |
possible states for legacy suppport state machine More... | |
typedef void(* pnLegCallBack_t) (void *arg, void *arg2) |
Callback function for processing Profinet IRQs.
arg | |
arg2 |
enum tLegStates |
tLegStates PN_getLegState | ( | void | ) |
Returns the IRT Legacy mode state.
void PN_setLegState | ( | void * | arg, |
void * | arg2 | ||
) |
Sets the state of legacy state machine This API is registered as a callback in PN_registerSetState.
arg | new state tLegStates |
arg2 | not used |
void PN_setLegPkt | ( | void * | arg, |
void * | arg2 | ||
) |
Sets the Ethernet packet to output during legacy startup Usually a copy of RTC3 PPM. This API is registered as a callback in PN_registerSetPkt.
arg | Pointer to valid packet buffer, no checks. t_rtcPacket |
arg2 | not used |
void PN_registerSetState | ( | PN_Handle | pnHandle, |
pnLegCallBack_t | callBack | ||
) |
Registers callback function for legacy state This callback is used to change the Legacy state machine.
pnHandle | Profinet Handle | |
[in] | callBack | Callback function pointer |
void PN_registerSetPkt | ( | PN_Handle | pnHandle, |
pnLegCallBack_t | callBack | ||
) |
Registers callback function for packet pointer This callback is used to configure the packet send by the IRT state machine.
pnHandle | Profinet Handle | |
[in] | callBack | Callback function pointer |