MAV'RIC
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
Sparky_chibi Class Reference

Configuration structure. More...

#include <sparky_chibi.hpp>

Collaboration diagram for Sparky_chibi:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Configuration structure.

Default configuration for the board

Returns:
Config structure Boardsupport for the Sparky board

Constructor & Destructor Documentation

Constructor.

Parameters:
configBoard configuration

Member Function Documentation

Default configuration for the board.

Returns:
Config structure
bool Sparky_chibi::init ( void  )

Hardware initialisation.

Returns:
Success

Here is the call graph for this function:


Member Data Documentation

Public Members


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines