VLCB SDK
An opinionated SDK for VLCB protocol
Loading...
Searching...
No Matches
node_new_number_from_bytes.c
Go to the documentation of this file.
1#include "vlcb/common/node.h"
2
3#include <stdint.h>
4
5int vlcb_defs_NewNodeNumberFromBytes(const uint8_t hi, const uint8_t lo,
6 VlcbNodeNumber *const addr) {
7 const uint16_t _addr = vlcb_defs_NewNodeNumberFromBytesUnchecked(hi, lo);
8 return vlcb_defs_NewNodeNumber(_addr, addr);
9}
uint16_t VlcbNodeNumber
Definition node.h:8
VlcbNodeNumber vlcb_defs_NewNodeNumberFromBytesUnchecked(uint8_t hi, uint8_t lo)
int vlcb_defs_NewNodeNumber(uint16_t val, VlcbNodeNumber *const addr)
int vlcb_defs_NewNodeNumberFromBytes(const uint8_t hi, const uint8_t lo, VlcbNodeNumber *const addr)