NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
transponder_ir_stm32f30x.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include <platform.h>
#include "drivers/gpio.h"
#include "drivers/transponder_ir.h"
#include "drivers/nvic.h"
Include dependency graph for transponder_ir_stm32f30x.c:

Macros

#define USE_TRANSPONDER_ON_DMA1_CHANNEL3
 
#define TRANSPONDER_GPIO   GPIOB
 
#define TRANSPONDER_GPIO_AHB_PERIPHERAL   RCC_AHBPeriph_GPIOB
 
#define TRANSPONDER_GPIO_AF   GPIO_AF_1
 
#define TRANSPONDER_PIN   GPIO_Pin_8
 
#define TRANSPONDER_PIN_SOURCE   GPIO_PinSource8
 
#define TRANSPONDER_TIMER   TIM16
 
#define TRANSPONDER_TIMER_APB2_PERIPHERAL   RCC_APB2Periph_TIM16
 
#define TRANSPONDER_DMA_CHANNEL   DMA1_Channel3
 
#define TRANSPONDER_IRQ   DMA1_Channel3_IRQn
 
#define TRANSPONDER_DMA_TC_FLAG   DMA1_FLAG_TC3
 
#define TRANSPONDER_DMA_HANDLER_IDENTIFER   DMA1_CH3_HANDLER
 

Functions

void transponderIrHardwareInit (void)
 
void transponderIrDMAEnable (void)
 
void transponderIrDisable (void)
 

Macro Definition Documentation

#define TRANSPONDER_DMA_CHANNEL   DMA1_Channel3
#define TRANSPONDER_DMA_HANDLER_IDENTIFER   DMA1_CH3_HANDLER
#define TRANSPONDER_DMA_TC_FLAG   DMA1_FLAG_TC3
#define TRANSPONDER_GPIO   GPIOB
#define TRANSPONDER_GPIO_AF   GPIO_AF_1
#define TRANSPONDER_GPIO_AHB_PERIPHERAL   RCC_AHBPeriph_GPIOB
#define TRANSPONDER_IRQ   DMA1_Channel3_IRQn
#define TRANSPONDER_PIN   GPIO_Pin_8
#define TRANSPONDER_PIN_SOURCE   GPIO_PinSource8
#define TRANSPONDER_TIMER   TIM16
#define TRANSPONDER_TIMER_APB2_PERIPHERAL   RCC_APB2Periph_TIM16
#define USE_TRANSPONDER_ON_DMA1_CHANNEL3

Function Documentation

void transponderIrDisable ( void  )

Here is the call graph for this function:

void transponderIrDMAEnable ( void  )

Here is the call graph for this function:

void transponderIrHardwareInit ( void  )

Here is the call graph for this function: