nRF51 SDK - S210 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ulong_union_t Union Reference

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.