dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
board_hw_defs.c File Reference

Board specific hardware configuration file. More...

#include <pios_config.h>
#include <pios_board_info.h>
#include <pios_usart_priv.h>
#include "pios_tim_priv.h"
#include <pios_servo_priv.h>

Go to the source code of this file.

Functions

const struct pios_usart_cfgget_usart_rcvr_cfg (uint32_t board_revision)
 Get the rcvr uart configuration. More...
 
const struct pios_servo_cfgget_servo_cfg (uint32_t board_revision)
 Get the flashfs settings. More...
 

Variables

static const struct pios_usart_cfg pios_usart_main_cfg
 
static const struct pios_usart_cfg pios_usart_rcvr_pc7_cfg
 
static const struct pios_usart_cfg pios_usart_rcvr_pd2_cfg
 
static const struct pios_usart_cfg pios_usart_flexi_cfg
 
static const
TIM_TimeBaseInitTypeDef 
tim_apb1_time_base
 
static const
TIM_TimeBaseInitTypeDef 
tim_apb2_time_base
 
static const struct
pios_tim_clock_cfg 
tim_3_cfg
 
static const struct
pios_tim_clock_cfg 
tim_5_cfg
 
static const struct
pios_tim_clock_cfg 
tim_8_cfg
 
static const struct
pios_tim_clock_cfg 
tim_9_cfg
 
static const struct
pios_tim_clock_cfg 
tim_12_cfg
 
static const struct
pios_tim_channel 
pios_tim_servoport_all_pins []
 
const struct pios_servo_cfg pios_servo_cfg
 Sparky2 has all 10 outputs. More...
 
const struct pios_servo_cfg pios_servo_8_cfg
 Brushed Sparky skips last two output ports. More...
 

Detailed Description

Board specific hardware configuration file.

Author
Tau Labs, http://taulabs.org, Copyright (C) 2012-2015
dRonin, http://dronin.org Copyright (C) 2015-2016
See Also
The GNU Public License (GPL) Version 3

Definition in file board_hw_defs.c.