Public Member Functions | Public Attributes | Private Attributes | Friends | List of all members
um7::Registers Class Reference

#include <registers.h>

Public Member Functions

 Registers ()
 
void write_raw (uint8_t register_index, std::string data)
 

Public Attributes

const Accessor< float > accel
 
const Accessor< int16_t > accel_raw
 
const Accessor< uint32_t > cmd_reset_ekf
 
const Accessor< uint32_t > cmd_set_mag_ref
 
const Accessor< uint32_t > cmd_zero_gyros
 
const Accessor< uint32_t > communication
 
const Accessor< uint32_t > comrate2
 
const Accessor< uint32_t > comrate4
 
const Accessor< uint32_t > comrate5
 
const Accessor< uint32_t > comrate6
 
const Accessor< int16_t > euler
 
const Accessor< float > gyro
 
const Accessor< int16_t > gyro_raw
 
const Accessor< float > mag
 
const Accessor< float > mag_bias
 
const Accessor< int16_t > mag_raw
 
const Accessor< uint32_t > misc_config
 
const Accessor< int16_t > quat
 
const Accessor< uint32_t > status
 
const Accessor< float > temperature
 

Private Attributes

uint32_t raw_ [NUM_REGISTERS]
 

Friends

class Accessor_
 

Detailed Description

Definition at line 158 of file registers.h.

Constructor & Destructor Documentation

um7::Registers::Registers ( )
inline

Definition at line 161 of file registers.h.

Member Function Documentation

void um7::Registers::write_raw ( uint8_t  register_index,
std::string  data 
)
inline

Definition at line 200 of file registers.h.

Friends And Related Function Documentation

friend class Accessor_
friend

Definition at line 212 of file registers.h.

Member Data Documentation

const Accessor<float> um7::Registers::accel

Definition at line 189 of file registers.h.

const Accessor<int16_t> um7::Registers::accel_raw

Definition at line 187 of file registers.h.

const Accessor<uint32_t> um7::Registers::cmd_reset_ekf

Definition at line 198 of file registers.h.

const Accessor<uint32_t> um7::Registers::cmd_set_mag_ref

Definition at line 198 of file registers.h.

const Accessor<uint32_t> um7::Registers::cmd_zero_gyros

Definition at line 198 of file registers.h.

const Accessor<uint32_t> um7::Registers::communication

Definition at line 192 of file registers.h.

const Accessor<uint32_t> um7::Registers::comrate2

Definition at line 192 of file registers.h.

const Accessor<uint32_t> um7::Registers::comrate4

Definition at line 192 of file registers.h.

const Accessor<uint32_t> um7::Registers::comrate5

Definition at line 192 of file registers.h.

const Accessor<uint32_t> um7::Registers::comrate6

Definition at line 192 of file registers.h.

const Accessor<int16_t> um7::Registers::euler

Definition at line 187 of file registers.h.

const Accessor<float> um7::Registers::gyro

Definition at line 189 of file registers.h.

const Accessor<int16_t> um7::Registers::gyro_raw

Definition at line 187 of file registers.h.

const Accessor<float> um7::Registers::mag

Definition at line 189 of file registers.h.

const Accessor<float> um7::Registers::mag_bias

Definition at line 195 of file registers.h.

const Accessor<int16_t> um7::Registers::mag_raw

Definition at line 187 of file registers.h.

const Accessor<uint32_t> um7::Registers::misc_config

Definition at line 192 of file registers.h.

const Accessor<int16_t> um7::Registers::quat

Definition at line 187 of file registers.h.

uint32_t um7::Registers::raw_[NUM_REGISTERS]
private

Definition at line 210 of file registers.h.

const Accessor<uint32_t> um7::Registers::status

Definition at line 192 of file registers.h.

const Accessor<float> um7::Registers::temperature

Definition at line 189 of file registers.h.


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


um7
Author(s): Mike Purvis , Alex Brown
autogenerated on Tue Feb 11 2020 03:26:50