Union Adxl345Register
Defined in File adxl345_register.h
Union Documentation
-
union Adxl345Register
- #include <adxl345_register.h>
Union for convenient type-casting in between raw data and respective register type without c-style cast.
Provides convenient and readable “casting”.
Public Members
-
struct Adxl345Register_DataFormat asDataFormat
cast to Adxl345Register_DataFormat
-
struct Adxl345Register_BwRate asBwRate
cast to Adxl345Register_BwRate
-
struct Adxl345Register_PowerCtl asPowerControl
cast to Adxl345Register_PowerCtl
-
struct Adxl345Register_IntEnable asIntEnable
cast to Adxl345Register_IntEnable
-
struct Adxl345Register_IntMap asIntMap
cast to Adxl345Register_IntMap
-
struct Adxl345Register_FifoCtl asFifoCtl
cast to Adxl345Register_FifoCtl
-
struct Adxl345Register_FifoStatus asFifoStatus
cast to Adxl345Register_FifoStatus
-
struct Adxl345Register_DataFormat asDataFormat