dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
main.c File Reference
#include <pios.h>
#include <openpilot.h>
#include "uavobjectsinit.h"
#include "systemmod.h"
#include <board_hw_defs.c>
#include <pios_hal.h>
#include <pios_rtc_priv.h>
#include <pios_internal_adc_simple.h>
#include "hwshared.h"

Go to the source code of this file.

Functions

void PIOS_Board_Init (void)
 
void TIM1_CC_IRQHandler (void)
 
void TIM1_BRK_UP_TRG_COM_IRQHandler (void)
 
void TIM2_IRQHandler (void)
 
void TIM3_IRQHandler (void)
 
void TIM14_IRQHandler (void)
 
void TIM15_IRQHandler (void)
 
void TIM16_IRQHandler (void)
 
void TIM17_IRQHandler (void)
 
void USART1_IRQHandler (void)
 
const void *_interrupt_vectors[USART2_IRQn] __attribute ((section(".interrupt_vectors")))
 
static void handle_cfg_fa (struct flyingpicmd_cfg_fa *cmd)
 
static void handle_actuator_fc (struct flyingpicmd_actuator_fc *cmd)
 
static void generate_status_message (int *resp_len)
 
static void process_pio_message_impl (int *resp_len)
 
static void process_pio_message (void *ctx, int len, int *resp_len)
 
int main ()
 

Variables

static bool inited
 
static struct flyingpicmd_cfg_fa cfg
 
uintptr_t adc_id
 
static uint16_t msg_num
 

Detailed Description

Author
Tau Labs, http://taulabs.org, Copyright (C) 2012-2014
dRonin, http://dronin.org, Copyright (C) 2016

Definition in file main.c.