Go to the source code of this file.
#define ADC_1_GPIO_PIN GPIO2 |
#define ADC_1_GPIO_PORT GPIOA |
#define ADC_CHANNEL_VSUPPLY ADC_1 |
#define DefaultVoltageOfAdc |
( |
|
adc | ) |
(0.0049*adc) |
#define I2C1_GPIO_PORT GPIOB |
#define I2C1_GPIO_SCL GPIO6 |
#define I2C1_GPIO_SDA GPIO7 |
#define I2C2_GPIO_PORT GPIOB |
#define LED_1_AFIO_REMAP ((void)0) |
#define LED_2_AFIO_REMAP ((void)0) |
#define LED_3_AFIO_REMAP ((void)0) |
#define PPM_CC_IE TIM_DIER_CC1IE |
#define PPM_CC_IF TIM_SR_CC1IF |
#define PPM_CHANNEL TIM_IC1 |
#define PPM_GPIO_PIN GPIO0 |
#define PPM_GPIO_PORT GPIOA |
#define PPM_IRQ NVIC_TIM2_IRQ |
#define PPM_TIMER_INPUT TIM_IC_IN_TI1 |
#define PWM_SERVO_1_GPIO GPIOB |
#define PWM_SERVO_1_OC TIM_OC3 |
#define PWM_SERVO_1_OC_BIT (1<<2) |
#define PWM_SERVO_1_PIN GPIO8 |
#define PWM_SERVO_1_TIMER TIM4 |
#define PWM_SERVO_2_GPIO GPIOB |
#define PWM_SERVO_2_OC TIM_OC4 |
#define PWM_SERVO_2_OC_BIT (1<<3) |
#define PWM_SERVO_2_PIN GPIO9 |
#define PWM_SERVO_2_TIMER TIM4 |
#define PWM_SERVO_3_GPIO GPIOB |
#define PWM_SERVO_3_OC TIM_OC3 |
#define PWM_SERVO_3_OC_BIT (1<<2) |
#define PWM_SERVO_3_PIN GPIO0 |
#define PWM_SERVO_3_TIMER TIM3 |
#define PWM_SERVO_4_GPIO GPIOB |
#define PWM_SERVO_4_OC TIM_OC4 |
#define PWM_SERVO_4_OC_BIT (1<<3) |
#define PWM_SERVO_4_PIN GPIO1 |
#define PWM_SERVO_4_TIMER TIM3 |
#define UART1_GPIO_PORT_RX GPIO_BANK_USART1_RX |
#define UART1_GPIO_PORT_TX GPIO_BANK_USART1_TX |
#define UART1_GPIO_RX GPIO_USART1_RX |
#define UART1_GPIO_TX GPIO_USART1_TX |
#define UART3_GPIO_PORT_RX GPIO_BANK_USART3_RX |
#define UART3_GPIO_PORT_TX GPIO_BANK_USART3_TX |
#define UART3_GPIO_RX GPIO_USART3_RX |
#define UART3_GPIO_TX GPIO_USART3_TX |