COSA
An Object-Oriented Platform for Arduino Programming
HMC5883L::config_t Struct Reference

#include <HMC5883L.hh>

Collaboration diagram for HMC5883L::config_t:
Collaboration graph

Public Member Functions

 config_t ()
 

Public Attributes

uint8_t MS:2
 Measurement configuration bits. More...
 
uint8_t DO:3
 Data output rate. More...
 
uint8_t MA:2
 Number of samples to average. More...
 
uint8_t reserved:6
 Reserved for future use. More...
 
uint8_t GN:3
 Gain configuration bits. More...
 

Detailed Description

Configuration registers

Definition at line 335 of file HMC5883L.hh.

Constructor & Destructor Documentation

HMC5883L::config_t::config_t ( )
inline

Definition at line 341 of file HMC5883L.hh.

Member Data Documentation

uint8_t HMC5883L::config_t::DO

Data output rate.

Definition at line 337 of file HMC5883L.hh.

uint8_t HMC5883L::config_t::GN

Gain configuration bits.

Definition at line 340 of file HMC5883L.hh.

uint8_t HMC5883L::config_t::MA

Number of samples to average.

Definition at line 338 of file HMC5883L.hh.

uint8_t HMC5883L::config_t::MS

Measurement configuration bits.

Definition at line 336 of file HMC5883L.hh.

uint8_t HMC5883L::config_t::reserved

Reserved for future use.

Definition at line 339 of file HMC5883L.hh.


The documentation for this struct was generated from the following file: