CANopen Slave Documentation
Version 6.16.04
|
The following structure provides the data interface between NRL and CANpie driver. A pointer to this data structure can be passed to the CANpie driver by calling CpNrlCoreData().
Data Fields | |
uint8_t | ubInterfaceDCL |
uint8_t | ubInterfaceRCL |
uint16_t | uwMboxTickReload |
uint16_t | auwMboxTick [2][CP_BUFFER_MAX] |
uint16_t | auwMboxResetTick [CP_BUFFER_MAX] |
uint8_t | ubMboxDeviationLimit |
uint8_t | aubMboxDirection [CP_BUFFER_MAX] |
int16_t | aswMboxCounter [CP_BUFFER_MAX] |
uint8_t | ubMboxFaultIndex |
int16_t CpNrlCoreData_s::aswMboxCounter[CP_BUFFER_MAX] |
Mailbox counter for each mailbox. The value is modified by CpNrlMboxCounterEvent().
uint8_t CpNrlCoreData_s::aubMboxDirection[CP_BUFFER_MAX] |
Mailbox direction, the value is defined by enumeration CpBufferDir_e.
uint16_t CpNrlCoreData_s::auwMboxResetTick[CP_BUFFER_MAX] |
Mailbox tick value after reset of individual mailbox.
uint16_t CpNrlCoreData_s::auwMboxTick[2][CP_BUFFER_MAX] |
Mailbox tick values for each mailbox of DCL and RCL.
uint8_t CpNrlCoreData_s::ubInterfaceDCL |
Physical CAN interface for DCL, the value is set by CpNrlRegisterDriver(), value is taken from enumeration CpChannel_e.
uint8_t CpNrlCoreData_s::ubInterfaceRCL |
Physical CAN interface for RCL, the value is set by CpNrlRegisterDriver(), value is taken from enumeration CpChannel_e.
uint8_t CpNrlCoreData_s::ubMboxDeviationLimit |
Mailbox deviation limit, the value is set by CpNrlSetDeviationLimit().
uint8_t CpNrlCoreData_s::ubMboxFaultIndex |
Index of mailbox that has discovered a fault condition
uint16_t CpNrlCoreData_s::uwMboxTickReload |
Mailbox tick reload value, the value is set by CpNrlSetTimeout().