master board program  v. 2 - 2018
/home/krtko/robocup_2018/robocup_2018/compass.h File Reference
#include "ch.h"
#include "hal.h"
#include "chprintf.h"
#include "leds.h"
+ Include dependency graph for compass.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COMPASS_SERIAL   &SD1
 
#define LOAD_COMPASS_DEGREE   -385
 

Functions

int16_t get_compass_degree (void)
 
int16_t get_azimuth (void)
 
void compass_init (void)
 
void read (uint8_t address, uint8_t length)
 
void write (uint8_t address, uint8_t value)
 
void start (void)
 
uint8_t start2 (void)
 
void get_compass_values (void)
 
void get_calibration_status (void)
 
void get_calibration_values (void)
 
void set_calibration_values (void)
 
void set_calibration_values2 (void)
 
void clean_serial (SerialDriver *SD)
 

Macro Definition Documentation

#define COMPASS_SERIAL   &SD1
#define LOAD_COMPASS_DEGREE   -385

Function Documentation

void clean_serial ( SerialDriver *  SD)

+ Here is the caller graph for this function:

void compass_init ( void  )

+ Here is the call graph for this function:

int16_t get_azimuth ( void  )
void get_calibration_status ( void  )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void get_calibration_values ( void  )

+ Here is the call graph for this function:

int16_t get_compass_degree ( void  )
void get_compass_values ( void  )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void read ( uint8_t  address,
uint8_t  length 
)
void set_calibration_values ( void  )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void set_calibration_values2 ( void  )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void start ( void  )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint8_t start2 ( void  )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void write ( uint8_t  address,
uint8_t  value 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: