Home
last modified time | relevance | path

Searched refs:NMT (Results 1 – 6 of 6) sorted by relevance

/canopennode-3.5.0-3.4.0/stack/
DCO_NMT_Heartbeat.c40 CO_NMT_t *NMT; in CO_NMT_receive() local
43 NMT = (CO_NMT_t*)object; /* this is the correct pointer type of the first argument */ in CO_NMT_receive()
47 if((msg->DLC == 2) && ((nodeId == 0) || (nodeId == NMT->nodeId))){ in CO_NMT_receive()
49 uint8_t currentOperatingState = NMT->operatingState; in CO_NMT_receive()
53 if((*NMT->emPr->errorRegister) == 0U){ in CO_NMT_receive()
54 NMT->operatingState = CO_NMT_OPERATIONAL; in CO_NMT_receive()
58 NMT->operatingState = CO_NMT_STOPPED; in CO_NMT_receive()
61 NMT->operatingState = CO_NMT_PRE_OPERATIONAL; in CO_NMT_receive()
64 NMT->resetCommand = CO_RESET_APP; in CO_NMT_receive()
67 NMT->resetCommand = CO_RESET_COMM; in CO_NMT_receive()
[all …]
DCO_NMT_Heartbeat.h81 …#define LED_FLICKERING(NMT) (((NMT)->LEDflickering>=0) ? 1 : 0) /**< 10HZ (100MS INTERVAL)… argument
82 …#define LED_BLINKING(NMT) (((NMT)->LEDblinking>=0) ? 1 : 0) /**< 2.5HZ (400MS INTERVAL… argument
83 …#define LED_SINGLE_FLASH(NMT) (((NMT)->LEDsingleFlash>=0) ? 1 : 0) /**< 200MS ON, 1000MS OFF … argument
84 …#define LED_DOUBLE_FLASH(NMT) (((NMT)->LEDdoubleFlash>=0) ? 1 : 0) /**< 200MS ON, 200MS OFF, … argument
85 …#define LED_TRIPLE_FLASH(NMT) (((NMT)->LEDtripleFlash>=0) ? 1 : 0) /**< 200MS ON, 200MS OFF, … argument
86 …#define LED_QUADRUPLE_FLASH(NMT)(((NMT)->LEDquadrupleFlash>=0) ? 1 : 0) /**< 200MS ON, 200MS OFF, … argument
87 …#define LED_GREEN_RUN(NMT) (((NMT)->LEDgreenRun>=0) ? 1 : 0) /**< CANOPEN RUN LED ACCOR… argument
88 …#define LED_RED_ERROR(NMT) (((NMT)->LEDredError>=0) ? 1 : 0) /**< CANopen error LED acc… argument
176 CO_NMT_t *NMT,
202 CO_NMT_t *NMT,
[all …]
/canopennode-3.5.0-3.4.0/
DCANopen.c219 if(nodeID == 0 || nodeID == co->NMT->nodeId){ in CO_sendNMTcommand()
222 if((*co->NMT->emPr->errorRegister) == 0) { in CO_sendNMTcommand()
223 co->NMT->operatingState = CO_NMT_OPERATIONAL; in CO_sendNMTcommand()
227 co->NMT->operatingState = CO_NMT_STOPPED; in CO_sendNMTcommand()
230 co->NMT->operatingState = CO_NMT_PRE_OPERATIONAL; in CO_sendNMTcommand()
233 co->NMT->resetCommand = CO_RESET_APP; in CO_sendNMTcommand()
236 co->NMT->resetCommand = CO_RESET_COMM; in CO_sendNMTcommand()
297 CO->NMT = &COO_NMT; in CO_new()
341 CO->NMT = (CO_NMT_t *) calloc(1, sizeof(CO_NMT_t)); in CO_new()
426 if(CO->NMT == NULL) errCnt++; in CO_new()
[all …]
DREADME.md25 - NMT slave to start, stop, reset device. Simple NMT master.
41 Object **0x1F80** from Object Dictionary enables the NMT slaves to start
44 - Object 0x1F80, value = **0x8** - "NMT slave shall enter the NMT state
45 Operational after the NMT state Initialization autonomously (self starting)"
46 - Object 0x1F80, value = **0x2** - "NMT slave shall execute the NMT service
49 Note: When node is stated (in NMT operational state), it is allowed to send or
51 then NMT operational state is not allowed.
DCANopen.h126 CO_NMT_t *NMT; /**< NMT object */ member
/canopennode-3.5.0-3.4.0/example/
DIO.eds1513 ParameterName=NMT startup