#include <lis3l06al.h>
Definition at line 135 of file lis3l06al.h.
Data Fields | |
| xyz_t | m |
| 3-axis adc measures | |
| struct { | |
| unsigned char down:1 | |
| flip backward state | |
| unsigned char left:1 | |
| flip over to the left state | |
| unsigned char right:1 | |
| flip over to the right state | |
| unsigned char topdown:1 | |
| top-down state | |
| unsigned char up:1 | |
| flip forward state | |
| } | pos |
| Angle direction states. | |
| xyz_t | ag |
| acceleration = m - g | |
| int | ag2 |
| length = sumsq(ag) | |
| xyz_t | g |
| optional (for fast moves) | |
| xyz_t | s |
| speed = sum(a) | |
| int | s2 |
| length = sumsq(s) [with sumsq = x*x + y*y + z*z] | |
| xyz_t | ak |
| acceleration = m - k | |
| int | ak2 |
| length = sumsq(ak) | |
| xyz_t | k |
| Required to decide slow or fast. | |
| int avr32_acc_t::ag2 |
acceleration = m - k
Definition at line 150 of file lis3l06al.h.
Referenced by acc_update(), is_acc_abs_angle_x(), and is_acc_abs_angle_y().
| int avr32_acc_t::ak2 |
length = sumsq(ak)
Definition at line 151 of file lis3l06al.h.
Referenced by acc_update(), and is_acc_slow().
| unsigned char avr32_acc_t::down |
optional (for fast moves)
gravity = ( 0 , 0 , 1g )
Definition at line 156 of file lis3l06al.h.
Referenced by acc_update().
Required to decide slow or fast.
zero point = ( 0 , 0 , 0 )
Definition at line 149 of file lis3l06al.h.
Referenced by acc_update().
| unsigned char avr32_acc_t::left |
flip over to the left state
Definition at line 140 of file lis3l06al.h.
Referenced by is_acc_left().
3-axis adc measures
Definition at line 137 of file lis3l06al.h.
Referenced by acc_get_m_x(), acc_get_m_y(), acc_get_m_z(), acc_update(), is_acc_down(), is_acc_left(), is_acc_meuh(), is_acc_right(), is_acc_topdown(), and is_acc_up().
| struct { ... } avr32_acc_t::pos |
Angle direction states.
Referenced by is_acc_down(), is_acc_left(), is_acc_right(), is_acc_topdown(), and is_acc_up().
| unsigned char avr32_acc_t::right |
flip over to the right state
Definition at line 141 of file lis3l06al.h.
Referenced by is_acc_right().
| int avr32_acc_t::s2 |
| unsigned char avr32_acc_t::topdown |
| unsigned char avr32_acc_t::up |
1.5.5