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

Function CO_getUint16

301/CO_driver.h:608–613  ·  view source on GitHub ↗

Get uint16_t value from memory buffer, see @ref CO_getUint8 */

Source from the content-addressed store, hash-verified

606
607/** Get uint16_t value from memory buffer, see @ref CO_getUint8 */
608static inline uint16_t
609CO_getUint16(const void* buf) {
610 uint16_t value;
611 (void)memmove((void*)&value, buf, sizeof(value));
612 return value;
613}
614
615/** Get uint32_t value from memory buffer, see @ref CO_getUint8 */
616static inline uint32_t

Callers 7

OD_write_100CFunction · 0.85
OD_write_1017Function · 0.85
OD_write_1015Function · 0.85
OD_write_14xxFunction · 0.85
OD_write_18xxFunction · 0.85
CO_TIME_processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected