NinjaFlight
|
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <platform.h>
#include "build_config.h"
#include "gpio.h"
#include "light_led.h"
#include "sound_beeper.h"
#include "nvic.h"
#include "serial.h"
#include "serial_uart.h"
#include "system.h"
Data Structures | |
struct | extiCallbackHandlerConfig_s |
Macros | |
#define | EXTI_CALLBACK_HANDLER_COUNT 1 |
#define | SHORT_FLASH_DURATION 50 |
#define | CODE_FLASH_DURATION 250 |
Typedefs | |
typedef struct extiCallbackHandlerConfig_s | extiCallbackHandlerConfig_t |
Functions | |
void | registerExtiCallbackHandler (int irqn, extiCallbackHandlerFunc *fn) |
void | unregisterExtiCallbackHandler (int irqn, extiCallbackHandlerFunc *fn) |
void | EXTI15_10_IRQHandler (void) |
void | SysTick_Handler (void) |
uint32_t | micros (void) |
uint32_t | millis (void) |
void | systemInit (void) |
void | usleep (uint32_t us) |
void | failureMode (failureMode_e mode) |
Variables | |
uint32_t | cachedRccCsrValue |
#define CODE_FLASH_DURATION 250 |
#define EXTI_CALLBACK_HANDLER_COUNT 1 |
#define SHORT_FLASH_DURATION 50 |
typedef struct extiCallbackHandlerConfig_s extiCallbackHandlerConfig_t |
void EXTI15_10_IRQHandler | ( | void | ) |
void failureMode | ( | failureMode_e | mode | ) |
uint32_t micros | ( | void | ) |
uint32_t millis | ( | void | ) |
void registerExtiCallbackHandler | ( | int | irqn, |
extiCallbackHandlerFunc * | fn | ||
) |
void systemInit | ( | void | ) |
void SysTick_Handler | ( | void | ) |
void unregisterExtiCallbackHandler | ( | int | irqn, |
extiCallbackHandlerFunc * | fn | ||
) |
void usleep | ( | uint32_t | us | ) |
uint32_t cachedRccCsrValue |