|
MAV'RIC
|
Boardsupport for the Sparky board. More...
#include <sparky_v2.hpp>

Classes | |
| struct | conf_t |
| Configuration structure. More... | |
Public Member Functions | |
| Sparky_v2 (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_stm32 | led_err_gpio_ |
| Gpio_stm32 | led_stat_gpio_ |
| Gpio_stm32 | led_rf_gpio_ |
| Led_gpio | led_err_ |
| Led_gpio | led_stat_ |
| Led_gpio | led_rf_ |
| Serial_stm32 | serial_1_ |
| Serial_usb_stm32 | serial_ |
| Pwm_stm32 | pwm_ [PWM_COUNT] |
| Servo | servo_ [PWM_COUNT] |
| Spi_stm32 | spi_1_ |
| Spi_stm32 | spi_3_ |
| Gpio_stm32 | nss_1_gpio_ |
| Gpio_stm32 | nss_2_gpio_ |
| Gpio_stm32 | nss_3_gpio_ |
| State_display_sparky_v2 | state_display_sparky_v2_ |
| Mpu_9250 | mpu_9250_ |
| Imu | imu_ |
Static Public Attributes | |
| static const uint8_t | PWM_COUNT = 10 |
Boardsupport for the Sparky board.
| Sparky_v2::Sparky_v2 | ( | conf_t | config = default_config() | ) |
Constructor.
| config | Board configuration |
| Sparky_v2::conf_t Sparky_v2::default_config | ( | ) | [inline, static] |
Default configuration for the board.
< +1 or -1
< Should be 0, 1, or 2
< +1 or -1
< Should be 0, 1, or 2
< Should be >0
< +1 or -1
< Should be 0, 1, or 2
| bool Sparky_v2::init | ( | void | ) |
Hardware initialisation.

Public Members
1.7.6.1