Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
uart_arch.h File Reference
#include "std.h"
+ Include dependency graph for uart_arch.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define B4800   4800
 
#define B9600   9600
 
#define B38400   38400
 
#define B57600   57600
 
#define B115200   115200
 
#define UART_8N1   1
 
#define UART_FIFO_8   1
 
#define USART5   ((USART_TypeDef *) UART5_BASE)
 
#define UART1_TxPin   GPIO_Pin_9
 
#define UART2_TxPin   GPIO_Pin_2
 
#define UART3_TxPin   GPIO_Pin_10
 
#define UART5_TxPin   GPIO_Pin_12
 
#define UART1_RxPin   GPIO_Pin_10
 
#define UART2_RxPin   GPIO_Pin_3
 
#define UART3_RxPin   GPIO_Pin_11
 
#define UART5_RxPin   GPIO_Pin_2
 
#define UART1_CtsPin   GPIO_Pin_11
 
#define UART1_RtsPin   GPIO_Pin_12
 
#define UART1_TxPort   GPIOA
 
#define UART2_TxPort   GPIOA
 
#define UART3_TxPort   GPIOC
 
#define UART5_TxPort   GPIOC
 
#define UART1_RxPort   GPIOA
 
#define UART2_RxPort   GPIOA
 
#define UART3_RxPort   GPIOC
 
#define UART5_RxPort   GPIOD
 
#define UART1_FlowControlPort   GPIOA
 
#define UART1_Periph   RCC_APB2Periph_GPIOA
 
#define UART2_Periph   RCC_APB2Periph_GPIOA
 
#define UART3_Periph   RCC_APB2Periph_GPIOC
 
#define UART5_PeriphTx   RCC_APB2Periph_GPIOC
 
#define UART5_PeriphRx   RCC_APB2Periph_GPIOD
 
#define UART5_Periph   RCC_APB2Periph_GPIOD
 
#define UART1_UartPeriph   RCC_APB2Periph_USART1
 
#define UART2_UartPeriph   RCC_APB1Periph_USART2
 
#define UART3_UartPeriph   RCC_APB1Periph_USART3
 
#define UART5_UartPeriph   RCC_APB1Periph_UART5
 
#define UART1_remap   {}
 
#define UART2_remap   {}
 
#define UART3_remap
 
#define UART5_remap   {}
 
#define UART1_clk(_periph, _val)   RCC_APB2PeriphClockCmd(_periph, _val)
 
#define UART2_clk(_periph, _val)   RCC_APB1PeriphClockCmd(_periph, _val)
 
#define UART3_clk(_periph, _val)   RCC_APB1PeriphClockCmd(_periph, _val);
 
#define UART5_clk(_periph, _val)   RCC_APB1PeriphClockCmd(_periph, _val)
 
#define Uart1_init   uart1_init()
 
#define Uart2_init   uart2_init()
 
#define Uart3_init   uart3_init()
 
#define Uart5_init   uart5_init()
 
#define UART1_irq_handler   usart1_irq_handler
 
#define UART2_irq_handler   usart2_irq_handler
 
#define UART3_irq_handler   usart3_irq_handler
 
#define UART5_irq_handler   usart5_irq_handler
 
#define UART1_IRQn   USART1_IRQn
 
#define UART2_IRQn   USART2_IRQn
 
#define UART3_IRQn   USART3_IRQn
 
#define UART1_reg   USART1
 
#define UART2_reg   USART2
 
#define UART3_reg   USART3
 
#define UART5_reg   USART5
 

Macro Definition Documentation

#define B115200   115200

Definition at line 38 of file uart_arch.h.

#define B38400   38400

Definition at line 36 of file uart_arch.h.

#define B4800   4800

Definition at line 34 of file uart_arch.h.

#define B57600   57600

Definition at line 37 of file uart_arch.h.

#define B9600   9600

Definition at line 35 of file uart_arch.h.

#define UART1_clk (   _periph,
  _val 
)    RCC_APB2PeriphClockCmd(_periph, _val)

Definition at line 96 of file uart_arch.h.

#define UART1_CtsPin   GPIO_Pin_11

Definition at line 58 of file uart_arch.h.

#define UART1_FlowControlPort   GPIOA

Definition at line 71 of file uart_arch.h.

#define Uart1_init   uart1_init()

Definition at line 101 of file uart_arch.h.

#define UART1_irq_handler   usart1_irq_handler

Definition at line 106 of file uart_arch.h.

#define UART1_IRQn   USART1_IRQn

Definition at line 111 of file uart_arch.h.

#define UART1_Periph   RCC_APB2Periph_GPIOA

Definition at line 73 of file uart_arch.h.

#define UART1_reg   USART1

Definition at line 115 of file uart_arch.h.

#define UART1_remap   {}

Definition at line 90 of file uart_arch.h.

#define UART1_RtsPin   GPIO_Pin_12

Definition at line 59 of file uart_arch.h.

#define UART1_RxPin   GPIO_Pin_10

Definition at line 53 of file uart_arch.h.

#define UART1_RxPort   GPIOA

Definition at line 66 of file uart_arch.h.

#define UART1_TxPin   GPIO_Pin_9

Definition at line 48 of file uart_arch.h.

#define UART1_TxPort   GPIOA

Definition at line 61 of file uart_arch.h.

#define UART1_UartPeriph   RCC_APB2Periph_USART1

Definition at line 85 of file uart_arch.h.

#define UART2_clk (   _periph,
  _val 
)    RCC_APB1PeriphClockCmd(_periph, _val)

Definition at line 97 of file uart_arch.h.

#define Uart2_init   uart2_init()

Definition at line 102 of file uart_arch.h.

#define UART2_irq_handler   usart2_irq_handler

Definition at line 107 of file uart_arch.h.

#define UART2_IRQn   USART2_IRQn

Definition at line 112 of file uart_arch.h.

#define UART2_Periph   RCC_APB2Periph_GPIOA

Definition at line 74 of file uart_arch.h.

#define UART2_reg   USART2

Definition at line 116 of file uart_arch.h.

#define UART2_remap   {}

Definition at line 91 of file uart_arch.h.

#define UART2_RxPin   GPIO_Pin_3

Definition at line 54 of file uart_arch.h.

#define UART2_RxPort   GPIOA

Definition at line 67 of file uart_arch.h.

#define UART2_TxPin   GPIO_Pin_2

Definition at line 49 of file uart_arch.h.

#define UART2_TxPort   GPIOA

Definition at line 62 of file uart_arch.h.

#define UART2_UartPeriph   RCC_APB1Periph_USART2

Definition at line 86 of file uart_arch.h.

#define UART3_clk (   _periph,
  _val 
)    RCC_APB1PeriphClockCmd(_periph, _val);

Definition at line 98 of file uart_arch.h.

#define Uart3_init   uart3_init()

Definition at line 103 of file uart_arch.h.

#define UART3_irq_handler   usart3_irq_handler

Definition at line 108 of file uart_arch.h.

#define UART3_IRQn   USART3_IRQn

Definition at line 113 of file uart_arch.h.

#define UART3_Periph   RCC_APB2Periph_GPIOC

Definition at line 75 of file uart_arch.h.

#define UART3_reg   USART3

Definition at line 117 of file uart_arch.h.

#define UART3_remap
Value:
{RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE); \
GPIO_PinRemapConfig(GPIO_PartialRemap_USART3, ENABLE);}

Definition at line 92 of file uart_arch.h.

#define UART3_RxPin   GPIO_Pin_11

Definition at line 55 of file uart_arch.h.

#define UART3_RxPort   GPIOC

Definition at line 68 of file uart_arch.h.

#define UART3_TxPin   GPIO_Pin_10

Definition at line 50 of file uart_arch.h.

#define UART3_TxPort   GPIOC

Definition at line 63 of file uart_arch.h.

#define UART3_UartPeriph   RCC_APB1Periph_USART3

Definition at line 87 of file uart_arch.h.

#define UART5_clk (   _periph,
  _val 
)    RCC_APB1PeriphClockCmd(_periph, _val)

Definition at line 99 of file uart_arch.h.

#define Uart5_init   uart5_init()

Definition at line 104 of file uart_arch.h.

#define UART5_irq_handler   usart5_irq_handler

Definition at line 109 of file uart_arch.h.

#define UART5_Periph   RCC_APB2Periph_GPIOD

Definition at line 83 of file uart_arch.h.

#define UART5_PeriphRx   RCC_APB2Periph_GPIOD

Definition at line 77 of file uart_arch.h.

#define UART5_PeriphTx   RCC_APB2Periph_GPIOC

Definition at line 76 of file uart_arch.h.

#define UART5_reg   USART5

Definition at line 118 of file uart_arch.h.

#define UART5_remap   {}

Definition at line 94 of file uart_arch.h.

#define UART5_RxPin   GPIO_Pin_2

Definition at line 56 of file uart_arch.h.

#define UART5_RxPort   GPIOD

Definition at line 69 of file uart_arch.h.

#define UART5_TxPin   GPIO_Pin_12

Definition at line 51 of file uart_arch.h.

#define UART5_TxPort   GPIOC

Definition at line 64 of file uart_arch.h.

#define UART5_UartPeriph   RCC_APB1Periph_UART5

Definition at line 88 of file uart_arch.h.

#define UART_8N1   1

Definition at line 41 of file uart_arch.h.

#define UART_FIFO_8   1

Definition at line 42 of file uart_arch.h.

#define USART5   ((USART_TypeDef *) UART5_BASE)

Definition at line 45 of file uart_arch.h.