Subversion Repositories FlightCtrl

Rev

Rev 741 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 741 Rev 754
Line 60... Line 60...
60
#define MM3_PERIOD_2048 0x60
60
#define MM3_PERIOD_2048 0x60
61
#define MM3_PERIOD_4096 0x70
61
#define MM3_PERIOD_4096 0x70
Line 62... Line 62...
62
 
62
 
63
MM3_calib_t MM3_calib;
63
MM3_calib_t MM3_calib;
64
volatile MM3_working_t MM3;
64
volatile MM3_working_t MM3;
Line 65... Line 65...
65
static volatile uint8_t MM3_Timeout = 0;
65
volatile uint8_t MM3_Timeout = 0;
66
 
66
 
Line 116... Line 116...
116
 
116
 
117
 
117
 
118
/*********************************************/
118
/*********************************************/
119
/*  Get Data from MM3                        */
119
/*  Get Data from MM3                        */
120
/*********************************************/
120
/*********************************************/
121
void MM3_Update() // called every 102.4 µs by timer 0 ISR
121
void MM3_Update(void) // called every 102.4 µs by timer 0 ISR
122
{
122
{
123
        switch (MM3.STATE)
123
        switch (MM3.STATE)
124
        {
124
        {