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

Function OD_set_i16

301/CO_ODinterface.h:574–577  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

572
573/** Set int16_t variable in Object Dictionary, see @ref OD_set_value */
574static inline ODR_t
575OD_set_i16(const OD_entry_t* entry, uint8_t subIndex, int16_t val, bool_t odOrig) {
576 return OD_set_value(entry, subIndex, &val, sizeof(val), odOrig);
577}
578
579/** Set int32_t variable in Object Dictionary, see @ref OD_set_value */
580static inline ODR_t

Callers

nothing calls this directly

Calls 1

OD_set_valueFunction · 0.85

Tested by

no test coverage detected