![]() |
CANopenNode
CANopen protocol stack
|
SYNC producer and consumer object. More...
#include <CO_SYNC.h>
Collaboration diagram for CO_SYNC_t:Data Fields | |
| CO_EM_t * | em |
| From CO_SYNC_init() | |
| volatile void * | CANrxNew |
| Indicates, if new SYNC message received from CAN bus. | |
| uint8_t | receiveError |
| Set to nonzero value, if SYNC with wrong data length is received. | |
| bool_t | CANrxToggle |
| Variable toggles, if new SYNC message received from CAN bus. | |
| uint8_t | timeoutError |
| Sync timeout monitoring: 0 = not started; 1 = started; 2 = sync timeout error state. | |
| uint8_t | counterOverflowValue |
| Value from Synchronous counter overflow value variable from Object dictionary (index 0x1019) | |
| uint8_t | counter |
| Counter of the SYNC message if counterOverflowValue is different than zero. | |
| bool_t | syncIsOutsideWindow |
| True, if current time is outside "synchronous window" (OD 1007) | |
| uint32_t | timer |
| Timer for the SYNC message in [microseconds]. | |
| uint32_t * | OD_1006_period |
| Pointer to variable in OD, "Communication cycle period" in microseconds. | |
| uint32_t * | OD_1007_window |
| Pointer to variable in OD, "Synchronous window length" in microseconds. | |
| bool_t | isProducer |
| True, if device is SYNC producer. | |
| CO_CANmodule_t * | CANdevTx |
| From CO_SYNC_init() | |
| CO_CANtx_t * | CANtxBuff |
| CAN transmit buffer inside CANdevTx. | |
| CO_CANmodule_t * | CANdevRx |
| From CO_SYNC_init() | |
| uint16_t | CANdevRxIdx |
| From CO_SYNC_init() | |
| OD_extension_t | OD_1005_extension |
| Extension for OD object. | |
| uint16_t | CAN_ID |
| CAN ID of the SYNC message. | |
| uint16_t | CANdevTxIdx |
| From CO_SYNC_init() | |
| OD_extension_t | OD_1019_extension |
| Extension for OD object. | |
| void(* | pFunctSignalPre )(void *object) |
| From CO_SYNC_initCallbackPre() or NULL. | |
| void * | functSignalObjectPre |
| From CO_SYNC_initCallbackPre() or NULL. | |
SYNC producer and consumer object.
| uint32_t CO_SYNC_t::timer |
Timer for the SYNC message in [microseconds].
Set to zero after received or transmitted SYNC message
| bool_t CO_SYNC_t::isProducer |
True, if device is SYNC producer.
Calculated from COB ID SYNC Message variable from Object dictionary(index 0x1005).
| uint16_t CO_SYNC_t::CAN_ID |
CAN ID of the SYNC message.
Calculated from COB ID SYNC Message variable from Object dictionary (index 0x1005).