MAV'RIC
|
Configuration structure. More...
#include <sparky_chibi.hpp>
Classes | |
struct | conf_t |
Configuration structure. More... | |
Public Member Functions | |
Sparky_chibi (conf_t config=default_config()) | |
Constructor. | |
bool | init (void) |
Hardware initialisation. | |
Static Public Member Functions | |
static conf_t | default_config () |
Default configuration for the board. | |
Public Attributes | |
Gpio_chibios | gpio_led_err_ |
Gpio_chibios | gpio_led_stat_ |
Gpio_chibios | gpio_led_rf_ |
Led_gpio | led_err_ |
Led_gpio | led_stat_ |
Led_gpio | led_rf_ |
Serial_chibios | serial_ |
Pwm_chibios | pwm_ [PWM_COUNT] |
Servo | servo_ [PWM_COUNT] |
State_display_sparky_v2 | state_display_ |
I2c_chibios | i2c1_ |
Barometer_MS5611 | barometer_ |
Static Public Attributes | |
static const uint8_t | PWM_COUNT = 10 |
Configuration structure.
Default configuration for the board
Sparky_chibi::Sparky_chibi | ( | conf_t | config = default_config() | ) |
Constructor.
config | Board configuration |
Sparky_chibi::conf_t Sparky_chibi::default_config | ( | ) | [inline, static] |
Default configuration for the board.
bool Sparky_chibi::init | ( | void | ) |
Hardware initialisation.
Public Members