SI_UU32 Union Reference

Union used to address upper bytes of 32-bit exponential average easily.

#include <cslib.h>

Data Fields

uint32_t u32
The 4-byte value as a 32-bit unsigned integer.
uint32_t s32
The 4-byte value as a 32-bit signed integer.
uint16_t uu16 [2]
The 4-byte value as a SI_UU16_t.
uint16_t u16 [2]
The 4-byte value as two unsigned 16-bit integers.
uint16_t s16 [2]
The 4-byte value as two signed 16-bit integers.
uint8_t u8 [4]
The 4-byte value as 4 unsigned 8-bit integers.
uint8_t s8 [4]
The 4-byte value as 4 signed 8-bit integers.

Union used to address upper bytes of 32-bit exponential average easily.

Field Documentation

u32

uint32_t SI_UU32::u32

The 4-byte value as a 32-bit unsigned integer.

s32

uint32_t SI_UU32::s32

The 4-byte value as a 32-bit signed integer.

uu16

uint16_t SI_UU32::uu16[2]

The 4-byte value as a SI_UU16_t.

u16

uint16_t SI_UU32::u16[2]

The 4-byte value as two unsigned 16-bit integers.

s16

uint16_t SI_UU32::s16[2]

The 4-byte value as two signed 16-bit integers.

u8

uint8_t SI_UU32::u8[4]

The 4-byte value as 4 unsigned 8-bit integers.

s8

uint8_t SI_UU32::s8[4]

The 4-byte value as 4 signed 8-bit integers.