CANopen Slave Documentation
Version 6.16.04
Loading...
Searching...
No Matches
CpNrlCoreData_s Struct Reference

Detailed Description

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().

+ Collaboration diagram for CpNrlCoreData_s:

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
 

Field Documentation

◆ aswMboxCounter

int16_t CpNrlCoreData_s::aswMboxCounter[CP_BUFFER_MAX]

Mailbox counter for each mailbox. The value is modified by CpNrlMboxCounterEvent().

◆ aubMboxDirection

uint8_t CpNrlCoreData_s::aubMboxDirection[CP_BUFFER_MAX]

Mailbox direction, the value is defined by enumeration CpBufferDir_e.

◆ auwMboxResetTick

uint16_t CpNrlCoreData_s::auwMboxResetTick[CP_BUFFER_MAX]

Mailbox tick value after reset of individual mailbox.

◆ auwMboxTick

uint16_t CpNrlCoreData_s::auwMboxTick[2][CP_BUFFER_MAX]

Mailbox tick values for each mailbox of DCL and RCL.

◆ ubInterfaceDCL

uint8_t CpNrlCoreData_s::ubInterfaceDCL

Physical CAN interface for DCL, the value is set by CpNrlRegisterDriver(), value is taken from enumeration CpChannel_e.

◆ ubInterfaceRCL

uint8_t CpNrlCoreData_s::ubInterfaceRCL

Physical CAN interface for RCL, the value is set by CpNrlRegisterDriver(), value is taken from enumeration CpChannel_e.

◆ ubMboxDeviationLimit

uint8_t CpNrlCoreData_s::ubMboxDeviationLimit

Mailbox deviation limit, the value is set by CpNrlSetDeviationLimit().

◆ ubMboxFaultIndex

uint8_t CpNrlCoreData_s::ubMboxFaultIndex

Index of mailbox that has discovered a fault condition

◆ uwMboxTickReload

uint16_t CpNrlCoreData_s::uwMboxTickReload

Mailbox tick reload value, the value is set by CpNrlSetTimeout().