MCPcopy Create free account
hub / github.com/CANopenNode/CANopenNode / CO_CANrxMsg_readDLC

Function CO_CANrxMsg_readDLC

301/CO_driver.h:192–195  ·  view source on GitHub ↗

* CANrx_callback() can read Data Length Code from received CAN message * * See also CO_CANrxMsg_readIdent(): * * @param rxMsg Pointer to received message * @return data length in bytes (0 to 8) */

Source from the content-addressed store, hash-verified

190 * @return data length in bytes (0 to 8)
191 */
192static inline uint8_t
193CO_CANrxMsg_readDLC(void* rxMsg) {
194 return 0;
195}
196
197/**
198 * CANrx_callback() can read pointer to data from received CAN message

Callers 13

CO_SRDO_receive_normalFunction · 0.85
CO_SRDO_receive_invertedFunction · 0.85
CO_GFC_receiveFunction · 0.85
CO_LSSslave_receiveFunction · 0.85
CO_LSSmaster_receiveFunction · 0.85
CO_ngm_receiveFunction · 0.85
CO_SDO_receiveFunction · 0.85
CO_NMT_receiveFunction · 0.85
CO_PDO.cFile · 0.85
CO_TIME_receiveFunction · 0.85
CO_SYNC_receiveFunction · 0.85
CO_SDOclient_receiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected