Macros
Collaboration diagram for TIM_Remap:

Macros

#define IS_TIM_REMAP(TIM_REMAP)
 
#define IS_TIM_REMAP(TIM_REMAP)
 
#define TIM11_GPIO   ((uint16_t)0x0000)
 
#define TIM11_HSE   ((uint16_t)0x0002)
 
#define TIM16_GPIO   ((uint16_t)0x0000)
 
#define TIM16_HSEDiv32   ((uint16_t)0x0002)
 
#define TIM16_MCO   ((uint16_t)0x0003)
 
#define TIM16_RTC_CLK   ((uint16_t)0x0001)
 
#define TIM1_ADC1_AWDG1   ((uint16_t)0x0001)
 
#define TIM1_ADC1_AWDG2   ((uint16_t)0x0002)
 
#define TIM1_ADC1_AWDG3   ((uint16_t)0x0003)
 
#define TIM1_ADC4_AWDG1   ((uint16_t)0x0004)
 
#define TIM1_ADC4_AWDG2   ((uint16_t)0x0008)
 
#define TIM1_ADC4_AWDG3   ((uint16_t)0x000C)
 
#define TIM2_ETH_PTP   ((uint16_t)0x0400)
 
#define TIM2_TIM8_TRGO   ((uint16_t)0x0000)
 
#define TIM2_USBFS_SOF   ((uint16_t)0x0800)
 
#define TIM2_USBHS_SOF   ((uint16_t)0x0C00)
 
#define TIM5_GPIO   ((uint16_t)0x0000)
 
#define TIM5_LSE   ((uint16_t)0x0080)
 
#define TIM5_LSI   ((uint16_t)0x0040)
 
#define TIM5_RTC   ((uint16_t)0x00C0)
 
#define TIM8_ADC2_AWDG1   ((uint16_t)0x0001)
 
#define TIM8_ADC2_AWDG2   ((uint16_t)0x0002)
 
#define TIM8_ADC2_AWDG3   ((uint16_t)0x0003)
 
#define TIM8_ADC3_AWDG1   ((uint16_t)0x0004)
 
#define TIM8_ADC3_AWDG2   ((uint16_t)0x0008)
 
#define TIM8_ADC3_AWDG3   ((uint16_t)0x000C)
 

Detailed Description

Macro Definition Documentation

#define IS_TIM_REMAP (   TIM_REMAP)
Value:
(((TIM_REMAP) == TIM2_TIM8_TRGO)||\
((TIM_REMAP) == TIM2_ETH_PTP)||\
((TIM_REMAP) == TIM2_USBFS_SOF)||\
((TIM_REMAP) == TIM2_USBHS_SOF)||\
((TIM_REMAP) == TIM5_GPIO)||\
((TIM_REMAP) == TIM5_LSI)||\
((TIM_REMAP) == TIM5_LSE)||\
((TIM_REMAP) == TIM5_RTC)||\
((TIM_REMAP) == TIM11_GPIO)||\
((TIM_REMAP) == TIM11_HSE))
#define TIM11_HSE
#define TIM2_ETH_PTP
#define TIM2_USBHS_SOF
#define TIM2_USBFS_SOF
#define TIM11_GPIO
#define TIM5_LSI
#define TIM5_LSE
#define TIM2_TIM8_TRGO
#define TIM5_RTC
#define TIM5_GPIO

Definition at line 931 of file stm32f4xx_tim.h.

#define IS_TIM_REMAP (   TIM_REMAP)
Value:
(((TIM_REMAP) == TIM16_GPIO)|| \
((TIM_REMAP) == TIM16_RTC_CLK) || \
((TIM_REMAP) == TIM16_HSEDiv32) || \
((TIM_REMAP) == TIM16_MCO) ||\
((TIM_REMAP) == TIM1_ADC1_AWDG1) ||\
((TIM_REMAP) == TIM1_ADC1_AWDG2) ||\
((TIM_REMAP) == TIM1_ADC1_AWDG3) ||\
((TIM_REMAP) == TIM1_ADC4_AWDG1) ||\
((TIM_REMAP) == TIM1_ADC4_AWDG2) ||\
((TIM_REMAP) == TIM1_ADC4_AWDG3) ||\
((TIM_REMAP) == TIM8_ADC2_AWDG1) ||\
((TIM_REMAP) == TIM8_ADC2_AWDG2) ||\
((TIM_REMAP) == TIM8_ADC2_AWDG3) ||\
((TIM_REMAP) == TIM8_ADC3_AWDG1) ||\
((TIM_REMAP) == TIM8_ADC3_AWDG2) ||\
((TIM_REMAP) == TIM8_ADC3_AWDG3))
#define TIM16_HSEDiv32
#define TIM8_ADC2_AWDG3
#define TIM1_ADC1_AWDG1
#define TIM8_ADC2_AWDG1
#define TIM1_ADC4_AWDG3
#define TIM1_ADC1_AWDG2
#define TIM16_RTC_CLK
#define TIM1_ADC4_AWDG2
#define TIM8_ADC3_AWDG3
#define TIM8_ADC3_AWDG2
#define TIM1_ADC1_AWDG3
#define TIM16_MCO
#define TIM16_GPIO
#define TIM1_ADC4_AWDG1
#define TIM8_ADC2_AWDG2
#define TIM8_ADC3_AWDG1

Definition at line 1072 of file stm32f30x_tim.h.

#define TIM11_GPIO   ((uint16_t)0x0000)

Definition at line 928 of file stm32f4xx_tim.h.

#define TIM11_HSE   ((uint16_t)0x0002)

Definition at line 929 of file stm32f4xx_tim.h.

#define TIM16_GPIO   ((uint16_t)0x0000)

Definition at line 1053 of file stm32f30x_tim.h.

#define TIM16_HSEDiv32   ((uint16_t)0x0002)

Definition at line 1055 of file stm32f30x_tim.h.

#define TIM16_MCO   ((uint16_t)0x0003)

Definition at line 1056 of file stm32f30x_tim.h.

#define TIM16_RTC_CLK   ((uint16_t)0x0001)

Definition at line 1054 of file stm32f30x_tim.h.

#define TIM1_ADC1_AWDG1   ((uint16_t)0x0001)

Definition at line 1058 of file stm32f30x_tim.h.

#define TIM1_ADC1_AWDG2   ((uint16_t)0x0002)

Definition at line 1059 of file stm32f30x_tim.h.

#define TIM1_ADC1_AWDG3   ((uint16_t)0x0003)

Definition at line 1060 of file stm32f30x_tim.h.

#define TIM1_ADC4_AWDG1   ((uint16_t)0x0004)

Definition at line 1061 of file stm32f30x_tim.h.

#define TIM1_ADC4_AWDG2   ((uint16_t)0x0008)

Definition at line 1062 of file stm32f30x_tim.h.

#define TIM1_ADC4_AWDG3   ((uint16_t)0x000C)

Definition at line 1063 of file stm32f30x_tim.h.

#define TIM2_ETH_PTP   ((uint16_t)0x0400)

Definition at line 919 of file stm32f4xx_tim.h.

#define TIM2_TIM8_TRGO   ((uint16_t)0x0000)

Definition at line 918 of file stm32f4xx_tim.h.

#define TIM2_USBFS_SOF   ((uint16_t)0x0800)

Definition at line 920 of file stm32f4xx_tim.h.

#define TIM2_USBHS_SOF   ((uint16_t)0x0C00)

Definition at line 921 of file stm32f4xx_tim.h.

#define TIM5_GPIO   ((uint16_t)0x0000)

Definition at line 923 of file stm32f4xx_tim.h.

#define TIM5_LSE   ((uint16_t)0x0080)

Definition at line 925 of file stm32f4xx_tim.h.

#define TIM5_LSI   ((uint16_t)0x0040)

Definition at line 924 of file stm32f4xx_tim.h.

#define TIM5_RTC   ((uint16_t)0x00C0)

Definition at line 926 of file stm32f4xx_tim.h.

#define TIM8_ADC2_AWDG1   ((uint16_t)0x0001)

Definition at line 1065 of file stm32f30x_tim.h.

#define TIM8_ADC2_AWDG2   ((uint16_t)0x0002)

Definition at line 1066 of file stm32f30x_tim.h.

#define TIM8_ADC2_AWDG3   ((uint16_t)0x0003)

Definition at line 1067 of file stm32f30x_tim.h.

#define TIM8_ADC3_AWDG1   ((uint16_t)0x0004)

Definition at line 1068 of file stm32f30x_tim.h.

#define TIM8_ADC3_AWDG2   ((uint16_t)0x0008)

Definition at line 1069 of file stm32f30x_tim.h.

#define TIM8_ADC3_AWDG3   ((uint16_t)0x000C)

Definition at line 1070 of file stm32f30x_tim.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:29