ulong_union_t

nRF5 SDK v15.2.0

uint32_t type presentation as an union. More...

#include <defines.h>

Data Fields

uint32_t data
uint8_t data_bytes [sizeof(uint32_t)]
struct {
uint8_t byte0
uint8_t byte1
uint8_t byte2
uint8_t byte3
} bytes

Detailed Description

uint32_t type presentation as an union.

Field Documentation

uint8_t ulong_union_t::byte0

Byte 0 of the data content.

uint8_t ulong_union_t::byte1

Byte 1 of the data content.

uint8_t ulong_union_t::byte2

Byte 2 of the data content.

uint8_t ulong_union_t::byte3

Byte 3 of the data content.

uint32_t ulong_union_t::data

The data content as a single variable.

uint8_t ulong_union_t::data_bytes[sizeof(uint32_t)]

The data content as a byte array.

  • components/ant/ant_fs/defines.h