CANopenNode
CANopen protocol stack
|
TIME producer and consumer object. More...
#include <CO_TIME.h>
Data Fields | |
uint8_t | timeStamp [CO_TIME_MSG_LENGTH] |
Received timestamp data. | |
uint32_t | ms |
Milliseconds after midnight. | |
uint16_t | days |
Number of days since January 1, 1984. | |
uint16_t | residual_us |
Residual microseconds calculated inside CO_TIME_process() | |
bool_t | isConsumer |
True, if device is TIME consumer. | |
bool_t | isProducer |
True, if device is TIME producer. | |
volatile void * | CANrxNew |
Variable indicates, if new TIME message received from CAN bus. | |
uint32_t | producerInterval_ms |
Interval for time producer in milli seconds. | |
uint32_t | producerTimer_ms |
Sync producer timer. | |
CO_CANmodule_t * | CANdevTx |
From CO_TIME_init() | |
CO_CANtx_t * | CANtxBuff |
CAN transmit buffer. | |
void(* | pFunctSignalPre )(void *object) |
From CO_TIME_initCallbackPre() or NULL. | |
void * | functSignalObjectPre |
From CO_TIME_initCallbackPre() or NULL. | |
OD_extension_t | OD_1012_extension |
Extension for OD object. | |
TIME producer and consumer object.
bool_t CO_TIME_t::isConsumer |
True, if device is TIME consumer.
Calculated from COB ID TIME Message variable from Object dictionary (index 0x1012).
bool_t CO_TIME_t::isProducer |
True, if device is TIME producer.
Calculated from COB ID TIME Message variable from Object dictionary (index 0x1012).