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

Function OD_set_u16

301/CO_ODinterface.h:598–601  ·  view source on GitHub ↗

Set uint16_t variable in Object Dictionary, see @ref OD_set_value */

Source from the content-addressed store, hash-verified

596
597/** Set uint16_t variable in Object Dictionary, see @ref OD_set_value */
598static inline ODR_t
599OD_set_u16(const OD_entry_t* entry, uint8_t subIndex, uint16_t val, bool_t odOrig) {
600 return OD_set_value(entry, subIndex, &val, sizeof(val), odOrig);
601}
602
603/** Set uint32_t variable in Object Dictionary, see @ref OD_set_value */
604static inline ODR_t

Callers

nothing calls this directly

Calls 1

OD_set_valueFunction · 0.85

Tested by

no test coverage detected