 |
Paparazzi UAS
v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
30 #define A_RX_PIN GPIO10
31 #define A_RX_PORT A_PORT
32 #define A_TX_PIN GPIO9
33 #define A_TX_PORT A_PORT
37 #define B_RX_PIN GPIO3
38 #define B_RX_PORT B_PORT
39 #define B_TX_PIN GPIO2
40 #define B_TX_PORT B_PORT
48 for (; nCount != 0; nCount--);
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
static struct spektrum_t spektrum
static void main_event(void)
void gpio_setup_output(ioportid_t port, uint16_t gpios)
Setup one or more pins of the given GPIO port as outputs.
static void gpio_clear(ioportid_t port, uint16_t pin)
Clear a gpio output to low level.
static void main_periodic(void)
Arch independent mcu ( Micro Controller Unit ) utilities.
static const struct usb_config_descriptor config
Architecture independent timing functions.
arch independent LED (Light Emitting Diodes) API
void Delay(volatile uint32_t nCount)
static uint8_t gpio_get(ioportid_t port, uint16_t pin)
Get level of a gpio.
timer subsystem PPM input on SERVO6 pin actuators pwm(if PWM_USE_TIM1) TIM8 radio_control/ppm(if USE_PPM_TIM8)(non-advanced timers using RCC_APB2) TIM2 adc(if USE_AD_TIM2
tid_t sys_time_register_timer(float duration, sys_time_cb cb)
Register a new system timer.
timer subsystem type(config options) --------------------------------------------(advanced timers using RCC_APB1) TIM1 adc(if USE_AD_TIM1) radio_control/ppm(if USE_PPM_TIM1
timer subsystem PPM input on SERVO6 pin actuators default radio_control ppm(if USE_PPM_TIM2, PPM input on UART1_RX pin) actuators/pwm(if PWM_USE_TIM2) TIM3 actuators/pwm(if PWM_USE_TIM3
void gpio_setup_input_pullup(ioportid_t port, uint16_t gpios)
Setup one or more pins of the given GPIO port as inputs with pull up resistor enabled.
static void gpio_set(ioportid_t port, uint16_t pin)
Set a gpio output to high level.
void mcu_init(void)
Microcontroller peripherals initialization.
static bool sys_time_check_and_ack_timer(tid_t id)
Check if timer has elapsed.
struct RadioControl radio_control