CANopenNode
CANopen protocol stack
Loading...
Searching...
No Matches
CO_TIME_t Struct Reference

TIME producer and consumer object. More...

#include <CO_TIME.h>

+ Collaboration diagram for CO_TIME_t:

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_tCANdevTx
 From CO_TIME_init()
 
CO_CANtx_tCANtxBuff
 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.
 

Detailed Description

TIME producer and consumer object.

Field Documentation

◆ isConsumer

bool_t CO_TIME_t::isConsumer

True, if device is TIME consumer.

Calculated from COB ID TIME Message variable from Object dictionary (index 0x1012).

◆ isProducer

bool_t CO_TIME_t::isProducer

True, if device is TIME producer.

Calculated from COB ID TIME Message variable from Object dictionary (index 0x1012).


The documentation for this struct was generated from the following file: