Peripheral_declaration
[Stm32f10x]

Defines

#define ADC1   ((ADC_TypeDef *) ADC1_BASE)
#define ADC2   ((ADC_TypeDef *) ADC2_BASE)
#define ADC3   ((ADC_TypeDef *) ADC3_BASE)
#define AFIO   ((AFIO_TypeDef *) AFIO_BASE)
#define BKP   ((BKP_TypeDef *) BKP_BASE)
#define CAN1   ((CAN_TypeDef *) CAN1_BASE)
#define CAN2   ((CAN_TypeDef *) CAN2_BASE)
#define CEC   ((CEC_TypeDef *) CEC_BASE)
#define CRC   ((CRC_TypeDef *) CRC_BASE)
#define DAC   ((DAC_TypeDef *) DAC_BASE)
#define DBGMCU   ((DBGMCU_TypeDef *) DBGMCU_BASE)
#define DMA1   ((DMA_TypeDef *) DMA1_BASE)
#define DMA1_Channel1   ((DMA_Channel_TypeDef *) DMA1_Channel1_BASE)
#define DMA1_Channel2   ((DMA_Channel_TypeDef *) DMA1_Channel2_BASE)
#define DMA1_Channel3   ((DMA_Channel_TypeDef *) DMA1_Channel3_BASE)
#define DMA1_Channel4   ((DMA_Channel_TypeDef *) DMA1_Channel4_BASE)
#define DMA1_Channel5   ((DMA_Channel_TypeDef *) DMA1_Channel5_BASE)
#define DMA1_Channel6   ((DMA_Channel_TypeDef *) DMA1_Channel6_BASE)
#define DMA1_Channel7   ((DMA_Channel_TypeDef *) DMA1_Channel7_BASE)
#define DMA2   ((DMA_TypeDef *) DMA2_BASE)
#define DMA2_Channel1   ((DMA_Channel_TypeDef *) DMA2_Channel1_BASE)
#define DMA2_Channel2   ((DMA_Channel_TypeDef *) DMA2_Channel2_BASE)
#define DMA2_Channel3   ((DMA_Channel_TypeDef *) DMA2_Channel3_BASE)
#define DMA2_Channel4   ((DMA_Channel_TypeDef *) DMA2_Channel4_BASE)
#define DMA2_Channel5   ((DMA_Channel_TypeDef *) DMA2_Channel5_BASE)
#define ETH   ((ETH_TypeDef *) ETH_BASE)
#define EXTI   ((EXTI_TypeDef *) EXTI_BASE)
#define FLASH   ((FLASH_TypeDef *) FLASH_R_BASE)
#define FSMC_Bank1   ((FSMC_Bank1_TypeDef *) FSMC_Bank1_R_BASE)
#define FSMC_Bank1E   ((FSMC_Bank1E_TypeDef *) FSMC_Bank1E_R_BASE)
#define FSMC_Bank2   ((FSMC_Bank2_TypeDef *) FSMC_Bank2_R_BASE)
#define FSMC_Bank3   ((FSMC_Bank3_TypeDef *) FSMC_Bank3_R_BASE)
#define FSMC_Bank4   ((FSMC_Bank4_TypeDef *) FSMC_Bank4_R_BASE)
#define GPIOA   ((GPIO_TypeDef *) GPIOA_BASE)
#define GPIOB   ((GPIO_TypeDef *) GPIOB_BASE)
#define GPIOC   ((GPIO_TypeDef *) GPIOC_BASE)
#define GPIOD   ((GPIO_TypeDef *) GPIOD_BASE)
#define GPIOE   ((GPIO_TypeDef *) GPIOE_BASE)
#define GPIOF   ((GPIO_TypeDef *) GPIOF_BASE)
#define GPIOG   ((GPIO_TypeDef *) GPIOG_BASE)
#define I2C1   ((I2C_TypeDef *) I2C1_BASE)
#define I2C2   ((I2C_TypeDef *) I2C2_BASE)
#define IWDG   ((IWDG_TypeDef *) IWDG_BASE)
#define OB   ((OB_TypeDef *) OB_BASE)
#define PWR   ((PWR_TypeDef *) PWR_BASE)
#define RCC   ((RCC_TypeDef *) RCC_BASE)
#define RTC   ((RTC_TypeDef *) RTC_BASE)
#define SDIO   ((SDIO_TypeDef *) SDIO_BASE)
#define SPI1   ((SPI_TypeDef *) SPI1_BASE)
#define SPI2   ((SPI_TypeDef *) SPI2_BASE)
#define SPI3   ((SPI_TypeDef *) SPI3_BASE)
#define TIM1   ((TIM_TypeDef *) TIM1_BASE)
#define TIM10   ((TIM_TypeDef *) TIM10_BASE)
#define TIM11   ((TIM_TypeDef *) TIM11_BASE)
#define TIM12   ((TIM_TypeDef *) TIM12_BASE)
#define TIM13   ((TIM_TypeDef *) TIM13_BASE)
#define TIM14   ((TIM_TypeDef *) TIM14_BASE)
#define TIM15   ((TIM_TypeDef *) TIM15_BASE)
#define TIM16   ((TIM_TypeDef *) TIM16_BASE)
#define TIM17   ((TIM_TypeDef *) TIM17_BASE)
#define TIM2   ((TIM_TypeDef *) TIM2_BASE)
#define TIM3   ((TIM_TypeDef *) TIM3_BASE)
#define TIM4   ((TIM_TypeDef *) TIM4_BASE)
#define TIM5   ((TIM_TypeDef *) TIM5_BASE)
#define TIM6   ((TIM_TypeDef *) TIM6_BASE)
#define TIM7   ((TIM_TypeDef *) TIM7_BASE)
#define TIM8   ((TIM_TypeDef *) TIM8_BASE)
#define TIM9   ((TIM_TypeDef *) TIM9_BASE)
#define UART4   ((USART_TypeDef *) UART4_BASE)
#define UART5   ((USART_TypeDef *) UART5_BASE)
#define USART1   ((USART_TypeDef *) USART1_BASE)
#define USART2   ((USART_TypeDef *) USART2_BASE)
#define USART3   ((USART_TypeDef *) USART3_BASE)
#define WWDG   ((WWDG_TypeDef *) WWDG_BASE)

Define Documentation

#define ADC1   ((ADC_TypeDef *) ADC1_BASE)

Definition at line 1398 of file stm32f10x.h.

Referenced by ADC1_2_IRQHandler(), ADC_DeInit(), ADC_TempSensorVrefintCmd(), and main().

#define ADC2   ((ADC_TypeDef *) ADC2_BASE)

Definition at line 1399 of file stm32f10x.h.

Referenced by ADC1_2_IRQHandler(), ADC_DeInit(), and main().

#define ADC3   ((ADC_TypeDef *) ADC3_BASE)

Definition at line 1404 of file stm32f10x.h.

Referenced by ADC_DeInit(), and main().

#define AFIO   ((AFIO_TypeDef *) AFIO_BASE)

Definition at line 1389 of file stm32f10x.h.

Referenced by GPIO_EventOutputConfig(), GPIO_EXTILineConfig(), and GPIO_PinRemapConfig().

#define BKP   ((BKP_TypeDef *) BKP_BASE)
#define CAN1   ((CAN_TypeDef *) CAN1_BASE)
#define CAN2   ((CAN_TypeDef *) CAN2_BASE)

Definition at line 1384 of file stm32f10x.h.

Referenced by CAN2_RX0_IRQHandler(), CAN_Config(), and main().

#define CEC   ((CEC_TypeDef *) CEC_BASE)
#define CRC   ((CRC_TypeDef *) CRC_BASE)
#define DAC   ((DAC_TypeDef *) DAC_BASE)
#define DBGMCU   ((DBGMCU_TypeDef *) DBGMCU_BASE)

Definition at line 1436 of file stm32f10x.h.

Referenced by DBGMCU_Config(), DBGMCU_GetDEVID(), and DBGMCU_GetREVID().

#define DMA1   ((DMA_TypeDef *) DMA1_BASE)
#define DMA1_Channel1   ((DMA_Channel_TypeDef *) DMA1_Channel1_BASE)

Definition at line 1414 of file stm32f10x.h.

Referenced by DMA_DeInit(), and main().

#define DMA1_Channel2   ((DMA_Channel_TypeDef *) DMA1_Channel2_BASE)

Definition at line 1415 of file stm32f10x.h.

Referenced by DMA_DeInit().

#define DMA1_Channel3   ((DMA_Channel_TypeDef *) DMA1_Channel3_BASE)

Definition at line 1416 of file stm32f10x.h.

Referenced by DMA_DeInit(), and main().

#define DMA1_Channel4   ((DMA_Channel_TypeDef *) DMA1_Channel4_BASE)

Definition at line 1417 of file stm32f10x.h.

Referenced by DMA_DeInit(), and main().

#define DMA1_Channel5   ((DMA_Channel_TypeDef *) DMA1_Channel5_BASE)

Definition at line 1418 of file stm32f10x.h.

Referenced by DMA_Configuration(), DMA_DeInit(), and main().

#define DMA1_Channel6   ((DMA_Channel_TypeDef *) DMA1_Channel6_BASE)

Definition at line 1419 of file stm32f10x.h.

Referenced by DMA1_Channel6_IRQHandler(), DMA_DeInit(), and main().

#define DMA1_Channel7   ((DMA_Channel_TypeDef *) DMA1_Channel7_BASE)

Definition at line 1420 of file stm32f10x.h.

Referenced by DMA_DeInit().

#define DMA2   ((DMA_TypeDef *) DMA2_BASE)
#define DMA2_Channel1   ((DMA_Channel_TypeDef *) DMA2_Channel1_BASE)

Definition at line 1421 of file stm32f10x.h.

Referenced by DMA_DeInit().

#define DMA2_Channel2   ((DMA_Channel_TypeDef *) DMA2_Channel2_BASE)

Definition at line 1422 of file stm32f10x.h.

Referenced by DMA_DeInit().

#define DMA2_Channel3   ((DMA_Channel_TypeDef *) DMA2_Channel3_BASE)

Definition at line 1423 of file stm32f10x.h.

Referenced by DMA_DeInit(), and main().

#define DMA2_Channel4   ((DMA_Channel_TypeDef *) DMA2_Channel4_BASE)

Definition at line 1424 of file stm32f10x.h.

Referenced by DMA_DeInit(), main(), SD_LowLevel_DMA_RxConfig(), and SD_LowLevel_DMA_TxConfig().

#define DMA2_Channel5   ((DMA_Channel_TypeDef *) DMA2_Channel5_BASE)

Definition at line 1425 of file stm32f10x.h.

Referenced by DMA_DeInit(), and main().

#define ETH   ((ETH_TypeDef *) ETH_BASE)

Definition at line 1430 of file stm32f10x.h.

#define EXTI   ((EXTI_TypeDef *) EXTI_BASE)
#define FLASH   ((FLASH_TypeDef *) FLASH_R_BASE)
#define FSMC_Bank1   ((FSMC_Bank1_TypeDef *) FSMC_Bank1_R_BASE)

Definition at line 1431 of file stm32f10x.h.

Referenced by FSMC_NORSRAMCmd(), FSMC_NORSRAMDeInit(), and FSMC_NORSRAMInit().

#define FSMC_Bank1E   ((FSMC_Bank1E_TypeDef *) FSMC_Bank1E_R_BASE)

Definition at line 1432 of file stm32f10x.h.

Referenced by FSMC_NORSRAMDeInit(), and FSMC_NORSRAMInit().

#define FSMC_Bank2   ((FSMC_Bank2_TypeDef *) FSMC_Bank2_R_BASE)
#define FSMC_Bank3   ((FSMC_Bank3_TypeDef *) FSMC_Bank3_R_BASE)
#define FSMC_Bank4   ((FSMC_Bank4_TypeDef *) FSMC_Bank4_R_BASE)
#define GPIOA   ((GPIO_TypeDef *) GPIOA_BASE)

Definition at line 1391 of file stm32f10x.h.

Referenced by GPIO_Configuration(), GPIO_DeInit(), and main().

#define GPIOB   ((GPIO_TypeDef *) GPIOB_BASE)

Definition at line 1392 of file stm32f10x.h.

Referenced by CAN_Config(), GPIO_Configuration(), GPIO_DeInit(), main(), and OneNAND_Init().

#define GPIOC   ((GPIO_TypeDef *) GPIOC_BASE)
#define GPIOD   ((GPIO_TypeDef *) GPIOD_BASE)
#define GPIOE   ((GPIO_TypeDef *) GPIOE_BASE)
#define GPIOF   ((GPIO_TypeDef *) GPIOF_BASE)
#define GPIOG   ((GPIO_TypeDef *) GPIOG_BASE)
#define I2C1   ((I2C_TypeDef *) I2C1_BASE)

Definition at line 1381 of file stm32f10x.h.

Referenced by I2C_DeInit(), and main().

#define I2C2   ((I2C_TypeDef *) I2C2_BASE)

Definition at line 1382 of file stm32f10x.h.

Referenced by main().

#define IWDG   ((IWDG_TypeDef *) IWDG_BASE)
#define OB   ((OB_TypeDef *) OB_BASE)
#define PWR   ((PWR_TypeDef *) PWR_BASE)
#define RCC   ((RCC_TypeDef *) RCC_BASE)
#define RTC   ((RTC_TypeDef *) RTC_BASE)
#define SDIO   ((SDIO_TypeDef *) SDIO_BASE)
#define SPI1   ((SPI_TypeDef *) SPI1_BASE)

Definition at line 1401 of file stm32f10x.h.

Referenced by main(), and SPI_I2S_DeInit().

#define SPI2   ((SPI_TypeDef *) SPI2_BASE)

Definition at line 1375 of file stm32f10x.h.

Referenced by main(), SPI2_IRQHandler(), and SPI_I2S_DeInit().

#define SPI3   ((SPI_TypeDef *) SPI3_BASE)

Definition at line 1376 of file stm32f10x.h.

Referenced by main(), SPI3_IRQHandler(), and SPI_I2S_DeInit().

#define TIM1   ((TIM_TypeDef *) TIM1_BASE)
#define TIM10   ((TIM_TypeDef *) TIM10_BASE)

Definition at line 1409 of file stm32f10x.h.

Referenced by main(), and TIM_DeInit().

#define TIM11   ((TIM_TypeDef *) TIM11_BASE)

Definition at line 1410 of file stm32f10x.h.

Referenced by TIM_DeInit().

#define TIM12   ((TIM_TypeDef *) TIM12_BASE)

Definition at line 1369 of file stm32f10x.h.

Referenced by TIM_DeInit().

#define TIM13   ((TIM_TypeDef *) TIM13_BASE)

Definition at line 1370 of file stm32f10x.h.

Referenced by TIM_DeInit().

#define TIM14   ((TIM_TypeDef *) TIM14_BASE)

Definition at line 1371 of file stm32f10x.h.

Referenced by TIM_DeInit().

#define TIM15   ((TIM_TypeDef *) TIM15_BASE)

Definition at line 1405 of file stm32f10x.h.

Referenced by main(), TIM_DeInit(), TIM_OC1Init(), and TIM_TimeBaseInit().

#define TIM16   ((TIM_TypeDef *) TIM16_BASE)

Definition at line 1406 of file stm32f10x.h.

Referenced by TIM_DeInit(), TIM_OC1Init(), and TIM_TimeBaseInit().

#define TIM17   ((TIM_TypeDef *) TIM17_BASE)

Definition at line 1407 of file stm32f10x.h.

Referenced by TIM_DeInit(), TIM_OC1Init(), and TIM_TimeBaseInit().

#define TIM2   ((TIM_TypeDef *) TIM2_BASE)
#define TIM3   ((TIM_TypeDef *) TIM3_BASE)
#define TIM4   ((TIM_TypeDef *) TIM4_BASE)
#define TIM5   ((TIM_TypeDef *) TIM5_BASE)
#define TIM6   ((TIM_TypeDef *) TIM6_BASE)

Definition at line 1367 of file stm32f10x.h.

Referenced by main(), TIM_DeInit(), and TIM_TimeBaseInit().

#define TIM7   ((TIM_TypeDef *) TIM7_BASE)

Definition at line 1368 of file stm32f10x.h.

Referenced by TIM_DeInit(), and TIM_TimeBaseInit().

#define TIM8   ((TIM_TypeDef *) TIM8_BASE)
#define TIM9   ((TIM_TypeDef *) TIM9_BASE)

Definition at line 1408 of file stm32f10x.h.

Referenced by main(), TIM1_BRK_TIM9_IRQHandler(), and TIM_DeInit().

#define UART4   ((USART_TypeDef *) UART4_BASE)

Definition at line 1379 of file stm32f10x.h.

Referenced by USART_DeInit().

#define UART5   ((USART_TypeDef *) UART5_BASE)

Definition at line 1380 of file stm32f10x.h.

Referenced by USART_DeInit().

#define USART1   ((USART_TypeDef *) USART1_BASE)

Definition at line 1403 of file stm32f10x.h.

Referenced by USART_DeInit().

#define USART2   ((USART_TypeDef *) USART2_BASE)

Definition at line 1377 of file stm32f10x.h.

Referenced by main(), USART2_IRQHandler(), and USART_DeInit().

#define USART3   ((USART_TypeDef *) USART3_BASE)

Definition at line 1378 of file stm32f10x.h.

Referenced by USART3_IRQHandler(), and USART_DeInit().

#define WWDG   ((WWDG_TypeDef *) WWDG_BASE)
STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32