Go to the source code of this file.
◆ ActuatorDefaultSet
◆ ACTUATORS_PWM_NB
#define ACTUATORS_PWM_NB 4 |
◆ ActuatorsDefaultCommit
◆ ActuatorsDefaultInit
◆ AHB_CLK
Definition at line 6 of file cc3d.h.
◆ DEFAULT_ACTUATORS
◆ DefaultVoltageOfAdc
#define DefaultVoltageOfAdc |
( |
|
adc | ) |
(50) |
◆ EXT_CLK
Definition at line 5 of file cc3d.h.
◆ I2C2_GPIO_PORT
#define I2C2_GPIO_PORT GPIOB |
◆ I2C2_GPIO_SCL
◆ I2C2_GPIO_SDA
◆ LED_1_AFIO_REMAP
Value: { \
rcc_periph_clock_enable(RCC_AFIO); \
AFIO_MAPR |= AFIO_MAPR_SWJ_CFG_JTAG_OFF_SW_ON; \
}
Definition at line 20 of file cc3d.h.
◆ LED_1_GPIO
◆ LED_1_GPIO_OFF
◆ LED_1_GPIO_ON
◆ LED_1_GPIO_PIN
#define LED_1_GPIO_PIN GPIO3 |
◆ PPM_CC_IE
#define PPM_CC_IE TIM_DIER_CC2IE |
◆ PPM_CC_IF
#define PPM_CC_IF TIM_SR_CC2IF |
◆ PPM_CHANNEL
#define PPM_CHANNEL TIM_IC2 |
◆ PPM_CONFIG
◆ PPM_GPIO_AF
◆ PPM_GPIO_PIN
#define PPM_GPIO_PIN GPIO1 |
◆ PPM_GPIO_PORT
#define PPM_GPIO_PORT GPIOA |
◆ PPM_IRQ
#define PPM_IRQ NVIC_TIM2_IRQ |
◆ PPM_TIMER_INPUT
#define PPM_TIMER_INPUT TIM_IC_IN_TI2 |
◆ PWM_SERVO_1
◆ PWM_SERVO_1_AF
◆ PWM_SERVO_1_GPIO
#define PWM_SERVO_1_GPIO GPIOB |
◆ PWM_SERVO_1_OC
#define PWM_SERVO_1_OC TIM_OC4 |
◆ PWM_SERVO_1_OC_BIT
#define PWM_SERVO_1_OC_BIT (1<<3) |
◆ PWM_SERVO_1_PIN
#define PWM_SERVO_1_PIN GPIO9 |
◆ PWM_SERVO_1_TIMER
#define PWM_SERVO_1_TIMER TIM4 |
◆ PWM_SERVO_2
◆ PWM_SERVO_2_AF
◆ PWM_SERVO_2_GPIO
#define PWM_SERVO_2_GPIO GPIOB |
◆ PWM_SERVO_2_OC
#define PWM_SERVO_2_OC TIM_OC3 |
◆ PWM_SERVO_2_OC_BIT
#define PWM_SERVO_2_OC_BIT (1<<2) |
◆ PWM_SERVO_2_PIN
#define PWM_SERVO_2_PIN GPIO8 |
◆ PWM_SERVO_2_TIMER
#define PWM_SERVO_2_TIMER TIM4 |
◆ PWM_SERVO_3
◆ PWM_SERVO_3_AF
◆ PWM_SERVO_3_GPIO
#define PWM_SERVO_3_GPIO GPIOB |
◆ PWM_SERVO_3_OC
#define PWM_SERVO_3_OC TIM_OC2 |
◆ PWM_SERVO_3_OC_BIT
#define PWM_SERVO_3_OC_BIT (1<<1) |
◆ PWM_SERVO_3_PIN
#define PWM_SERVO_3_PIN GPIO7 |
◆ PWM_SERVO_3_TIMER
#define PWM_SERVO_3_TIMER TIM4 |
◆ PWM_SERVO_4
◆ PWM_SERVO_4_AF
◆ PWM_SERVO_4_GPIO
#define PWM_SERVO_4_GPIO GPIOA |
◆ PWM_SERVO_4_OC
#define PWM_SERVO_4_OC TIM_OC1 |
◆ PWM_SERVO_4_OC_BIT
#define PWM_SERVO_4_OC_BIT (1<<0) |
◆ PWM_SERVO_4_PIN
#define PWM_SERVO_4_PIN GPIO1 |
◆ PWM_SERVO_4_TIMER
#define PWM_SERVO_4_TIMER TIM1 |
◆ PWM_SERVO_5_OC_BIT
#define PWM_SERVO_5_OC_BIT 0 |
◆ PWM_SERVO_6_OC_BIT
#define PWM_SERVO_6_OC_BIT 0 |
◆ PWM_TIM1_CHAN_MASK
◆ PWM_TIM2_CHAN_MASK
◆ PWM_TIM3_CHAN_MASK
◆ PWM_TIM4_CHAN_MASK
◆ PWM_USE_TIM1
◆ PWM_USE_TIM2
◆ PWM_USE_TIM3
◆ PWM_USE_TIM4
◆ RC_POLARITY_GPIO_PIN
#define RC_POLARITY_GPIO_PIN GPIO2 |
◆ RC_POLARITY_GPIO_PORT
#define RC_POLARITY_GPIO_PORT GPIOB |
◆ SPEKTRUM_BIND_PIN
#define SPEKTRUM_BIND_PIN GPIO1 |
◆ SPEKTRUM_BIND_PIN_PORT
#define SPEKTRUM_BIND_PIN_PORT GPIOA |
◆ SPEKTRUM_UART1_AF
#define SPEKTRUM_UART1_AF 0 |
◆ SPEKTRUM_UART1_BANK
#define SPEKTRUM_UART1_BANK GPIO_BANK_USART1_RX |
◆ SPEKTRUM_UART1_DEV
#define SPEKTRUM_UART1_DEV USART1 |
◆ SPEKTRUM_UART1_IRQ
#define SPEKTRUM_UART1_IRQ NVIC_USART1_IRQ |
◆ SPEKTRUM_UART1_ISR
#define SPEKTRUM_UART1_ISR usart1_isr |
◆ SPEKTRUM_UART1_PIN
#define SPEKTRUM_UART1_PIN GPIO_USART1_RX |
◆ SPEKTRUM_UART1_RCC
#define SPEKTRUM_UART1_RCC RCC_USART1 |
◆ SPEKTRUM_UART3_AF
#define SPEKTRUM_UART3_AF AFIO_MAPR_USART3_REMAP_PARTIAL_REMAP |
◆ SPEKTRUM_UART3_BANK
#define SPEKTRUM_UART3_BANK GPIO_BANK_USART3_PR_RX |
◆ SPEKTRUM_UART3_DEV
#define SPEKTRUM_UART3_DEV USART3 |
◆ SPEKTRUM_UART3_IRQ
#define SPEKTRUM_UART3_IRQ NVIC_USART3_IRQ |
◆ SPEKTRUM_UART3_ISR
#define SPEKTRUM_UART3_ISR usart3_isr |
◆ SPEKTRUM_UART3_PIN
#define SPEKTRUM_UART3_PIN GPIO_USART3_PR_RX |
◆ SPEKTRUM_UART3_RCC
#define SPEKTRUM_UART3_RCC RCC_USART3 |
◆ SPI_SELECT_SLAVE0_PIN
#define SPI_SELECT_SLAVE0_PIN GPIO4 |
◆ SPI_SELECT_SLAVE0_PORT
#define SPI_SELECT_SLAVE0_PORT GPIOA |
◆ SPI_SELECT_SLAVE1_PIN
#define SPI_SELECT_SLAVE1_PIN GPIO12 |
◆ SPI_SELECT_SLAVE1_PORT
#define SPI_SELECT_SLAVE1_PORT GPIOB |
◆ UART1_GPIO_AF
◆ UART1_GPIO_PORT_RX
#define UART1_GPIO_PORT_RX GPIO_BANK_USART1_RX |
◆ UART1_GPIO_PORT_TX
#define UART1_GPIO_PORT_TX GPIO_BANK_USART1_TX |
◆ UART1_GPIO_RX
#define UART1_GPIO_RX GPIO_USART1_RX |
◆ UART1_GPIO_TX
#define UART1_GPIO_TX GPIO_USART1_TX |
◆ UART3_GPIO_AF
#define UART3_GPIO_AF AFIO_MAPR_USART3_REMAP_PARTIAL_REMAP |
◆ UART3_GPIO_PORT_RX
#define UART3_GPIO_PORT_RX GPIO_BANK_USART3_PR_RX |
◆ UART3_GPIO_PORT_TX
#define UART3_GPIO_PORT_TX GPIO_BANK_USART3_PR_TX |
◆ UART3_GPIO_RX
#define UART3_GPIO_RX GPIO_USART3_PR_RX |
◆ UART3_GPIO_TX
#define UART3_GPIO_TX GPIO_USART3_PR_TX |
◆ USE_LED_1
◆ USE_PPM_TIM2
◆ USE_PWM1
◆ USE_PWM2
◆ USE_PWM3
◆ USE_PWM4
◆ USE_PWM5
◆ USE_PWM6