Type Alias riot_sys::network_uint32_t

source ·
pub type network_uint32_t = be_uint32_t;
Expand description

@brief A 32 bit integer in big endian aka network byte order. @details This is a wrapper around an uint32_t to catch missing conversions between different byte orders at compile time.

Aliased Type§

union network_uint32_t {
    pub u32_: u32,
    pub u8_: [u8; 4],
    pub u16_: [u16; 2],
    pub b16: [be_uint16_t; 2],
}

Fields§

§u32_: u32

< 32 bit representation

§u8_: [u8; 4]

< 8 bit representation

§u16_: [u16; 2]

< 16 bit representation

§b16: [be_uint16_t; 2]

< big endian 16 bit representation