NinjaFlight
|
#include "target.h"
Go to the source code of this file.
Data Structures | |
struct | GPIO_TypeDef |
struct | TIM_TypeDef |
struct | DMA_Channel_TypeDef |
Macros | |
#define | U_ID_0 0 |
#define | U_ID_1 1 |
#define | U_ID_2 2 |
#define | MAG |
#define | BARO |
#define | GPS |
#define | TELEMETRY |
#define | LED_STRIP |
#define | USE_SERVOS |
#define | USART1 ((USART_TypeDef *) 1) |
#define | USART2 ((USART_TypeDef *) 2) |
#define | USART3 ((USART_TypeDef *) 3) |
#define | UART4 ((USART_TypeDef *) 4) |
#define | UART5 ((USART_TypeDef *) 5) |
#define | WS2811_DMA_TC_FLAG 1 |
#define | WS2811_DMA_HANDLER_IDENTIFER 0 |
#define | MAX_SIMULTANEOUS_ADJUSTMENT_COUNT 6 |
Typedefs | |
typedef enum FlagStatus | ITStatus |
typedef struct USART_Struct | USART_TypeDef |
Enumerations | |
enum | GPIO_Mode { Mode_TEST = 0x0, Mode_Out_PP = 0x10 } |
enum | FlagStatus { RESET = 0, SET = !RESET } |
enum | FunctionalState { DISABLE = 0, ENABLE = !DISABLE } |
enum | IRQn_Type { TEST_IRQ = 0 } |
enum | FLASH_Status { FLASH_BUSY = 1, FLASH_ERROR_PG, FLASH_ERROR_WRP, FLASH_COMPLETE, FLASH_TIMEOUT } |
Functions | |
uint8_t | DMA_GetFlagStatus (uint32_t) |
void | DMA_Cmd (DMA_Channel_TypeDef *, FunctionalState) |
void | DMA_ClearFlag (uint32_t) |
void | FLASH_Unlock (void) |
void | FLASH_Lock (void) |
FLASH_Status | FLASH_ErasePage (uint32_t Page_Address) |
FLASH_Status | FLASH_ProgramWord (uint32_t Address, uint32_t Data) |
#define BARO |
#define GPS |
#define LED_STRIP |
#define MAG |
#define MAX_SIMULTANEOUS_ADJUSTMENT_COUNT 6 |
#define TELEMETRY |
#define U_ID_0 0 |
#define U_ID_1 1 |
#define U_ID_2 2 |
#define UART4 ((USART_TypeDef *) 4) |
#define UART5 ((USART_TypeDef *) 5) |
#define USART1 ((USART_TypeDef *) 1) |
#define USART2 ((USART_TypeDef *) 2) |
#define USART3 ((USART_TypeDef *) 3) |
#define USE_SERVOS |
#define WS2811_DMA_HANDLER_IDENTIFER 0 |
#define WS2811_DMA_TC_FLAG 1 |
typedef enum FlagStatus ITStatus |
typedef struct USART_Struct USART_TypeDef |
enum FlagStatus |
enum FLASH_Status |
enum FunctionalState |
enum GPIO_Mode |
enum IRQn_Type |
void DMA_ClearFlag | ( | uint32_t | ) |
void DMA_Cmd | ( | DMA_Channel_TypeDef * | , |
FunctionalState | |||
) |
uint8_t DMA_GetFlagStatus | ( | uint32_t | ) |
FLASH_Status FLASH_ErasePage | ( | uint32_t | Page_Address | ) |
void FLASH_Lock | ( | void | ) |
FLASH_Status FLASH_ProgramWord | ( | uint32_t | Address, |
uint32_t | Data | ||
) |
void FLASH_Unlock | ( | void | ) |