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

Function CO_getUint8

301/CO_driver.h:600–605  ·  view source on GitHub ↗

* Get uint8_t value from memory buffer * * @param buf Memory buffer to get value from. * * @return Value */

Source from the content-addressed store, hash-verified

598 * @return Value
599 */
600static inline uint8_t
601CO_getUint8(const void* buf) {
602 uint8_t value;
603 (void)memmove((void*)&value, buf, sizeof(value));
604 return value;
605}
606
607/** Get uint16_t value from memory buffer, see @ref CO_getUint8 */
608static inline uint16_t

Callers 12

OD_write_13FEFunction · 0.85
OD_write_1300Function · 0.85
OD_write_100DFunction · 0.85
OD_write_1201_additionalFunction · 0.85
OD_write_1003Function · 0.85
CO_PDO.cFile · 0.85
OD_write_14xxFunction · 0.85
OD_write_18xxFunction · 0.85
OD_write_1019Function · 0.85
OD_write_1280Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected