DIY Logging Volt/Ampmeter
Peripheral_declaration

Macros

#define TIM2   ((TIM_TypeDef *)TIM2_BASE)
 
#define TIM3   ((TIM_TypeDef *)TIM3_BASE)
 
#define TIM4   ((TIM_TypeDef *)TIM4_BASE)
 
#define RTC   ((RTC_TypeDef *)RTC_BASE)
 
#define WWDG   ((WWDG_TypeDef *)WWDG_BASE)
 
#define IWDG   ((IWDG_TypeDef *)IWDG_BASE)
 
#define SPI2   ((SPI_TypeDef *)SPI2_BASE)
 
#define USART2   ((USART_TypeDef *)USART2_BASE)
 
#define USART3   ((USART_TypeDef *)USART3_BASE)
 
#define I2C1   ((I2C_TypeDef *)I2C1_BASE)
 
#define I2C2   ((I2C_TypeDef *)I2C2_BASE)
 
#define USB   ((USB_TypeDef *)USB_BASE)
 
#define CAN1   ((CAN_TypeDef *)CAN1_BASE)
 
#define BKP   ((BKP_TypeDef *)BKP_BASE)
 
#define PWR   ((PWR_TypeDef *)PWR_BASE)
 
#define AFIO   ((AFIO_TypeDef *)AFIO_BASE)
 
#define EXTI   ((EXTI_TypeDef *)EXTI_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 ADC1   ((ADC_TypeDef *)ADC1_BASE)
 
#define ADC2   ((ADC_TypeDef *)ADC2_BASE)
 
#define ADC12_COMMON   ((ADC_Common_TypeDef *)ADC1_BASE)
 
#define TIM1   ((TIM_TypeDef *)TIM1_BASE)
 
#define SPI1   ((SPI_TypeDef *)SPI1_BASE)
 
#define USART1   ((USART_TypeDef *)USART1_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 RCC   ((RCC_TypeDef *)RCC_BASE)
 
#define CRC   ((CRC_TypeDef *)CRC_BASE)
 
#define FLASH   ((FLASH_TypeDef *)FLASH_R_BASE)
 
#define OB   ((OB_TypeDef *)OB_BASE)
 
#define DBGMCU   ((DBGMCU_TypeDef *)DBGMCU_BASE)
 

Detailed Description

Macro Definition Documentation

◆ ADC1

#define ADC1   ((ADC_TypeDef *)ADC1_BASE)

Definition at line 670 of file stm32f103xb.h.

◆ ADC12_COMMON

#define ADC12_COMMON   ((ADC_Common_TypeDef *)ADC1_BASE)

Definition at line 672 of file stm32f103xb.h.

◆ ADC2

#define ADC2   ((ADC_TypeDef *)ADC2_BASE)

Definition at line 671 of file stm32f103xb.h.

◆ AFIO

#define AFIO   ((AFIO_TypeDef *)AFIO_BASE)

Definition at line 663 of file stm32f103xb.h.

◆ BKP

#define BKP   ((BKP_TypeDef *)BKP_BASE)

Definition at line 661 of file stm32f103xb.h.

◆ CAN1

#define CAN1   ((CAN_TypeDef *)CAN1_BASE)

Definition at line 660 of file stm32f103xb.h.

◆ CRC

#define CRC   ((CRC_TypeDef *)CRC_BASE)

Definition at line 685 of file stm32f103xb.h.

◆ DBGMCU

#define DBGMCU   ((DBGMCU_TypeDef *)DBGMCU_BASE)

Definition at line 688 of file stm32f103xb.h.

◆ DMA1

#define DMA1   ((DMA_TypeDef *)DMA1_BASE)

Definition at line 676 of file stm32f103xb.h.

◆ DMA1_Channel1

#define DMA1_Channel1   ((DMA_Channel_TypeDef *)DMA1_Channel1_BASE)

Definition at line 677 of file stm32f103xb.h.

◆ DMA1_Channel2

#define DMA1_Channel2   ((DMA_Channel_TypeDef *)DMA1_Channel2_BASE)

Definition at line 678 of file stm32f103xb.h.

◆ DMA1_Channel3

#define DMA1_Channel3   ((DMA_Channel_TypeDef *)DMA1_Channel3_BASE)

Definition at line 679 of file stm32f103xb.h.

◆ DMA1_Channel4

#define DMA1_Channel4   ((DMA_Channel_TypeDef *)DMA1_Channel4_BASE)

Definition at line 680 of file stm32f103xb.h.

◆ DMA1_Channel5

#define DMA1_Channel5   ((DMA_Channel_TypeDef *)DMA1_Channel5_BASE)

Definition at line 681 of file stm32f103xb.h.

◆ DMA1_Channel6

#define DMA1_Channel6   ((DMA_Channel_TypeDef *)DMA1_Channel6_BASE)

Definition at line 682 of file stm32f103xb.h.

◆ DMA1_Channel7

#define DMA1_Channel7   ((DMA_Channel_TypeDef *)DMA1_Channel7_BASE)

Definition at line 683 of file stm32f103xb.h.

◆ EXTI

#define EXTI   ((EXTI_TypeDef *)EXTI_BASE)

Definition at line 664 of file stm32f103xb.h.

◆ FLASH

#define FLASH   ((FLASH_TypeDef *)FLASH_R_BASE)

Definition at line 686 of file stm32f103xb.h.

◆ GPIOA

#define GPIOA   ((GPIO_TypeDef *)GPIOA_BASE)

Definition at line 665 of file stm32f103xb.h.

◆ GPIOB

#define GPIOB   ((GPIO_TypeDef *)GPIOB_BASE)

Definition at line 666 of file stm32f103xb.h.

◆ GPIOC

#define GPIOC   ((GPIO_TypeDef *)GPIOC_BASE)

Definition at line 667 of file stm32f103xb.h.

◆ GPIOD

#define GPIOD   ((GPIO_TypeDef *)GPIOD_BASE)

Definition at line 668 of file stm32f103xb.h.

◆ GPIOE

#define GPIOE   ((GPIO_TypeDef *)GPIOE_BASE)

Definition at line 669 of file stm32f103xb.h.

◆ I2C1

#define I2C1   ((I2C_TypeDef *)I2C1_BASE)

Definition at line 657 of file stm32f103xb.h.

◆ I2C2

#define I2C2   ((I2C_TypeDef *)I2C2_BASE)

Definition at line 658 of file stm32f103xb.h.

◆ IWDG

#define IWDG   ((IWDG_TypeDef *)IWDG_BASE)

Definition at line 653 of file stm32f103xb.h.

◆ OB

#define OB   ((OB_TypeDef *)OB_BASE)

Definition at line 687 of file stm32f103xb.h.

◆ PWR

#define PWR   ((PWR_TypeDef *)PWR_BASE)

Definition at line 662 of file stm32f103xb.h.

◆ RCC

#define RCC   ((RCC_TypeDef *)RCC_BASE)

Definition at line 684 of file stm32f103xb.h.

◆ RTC

#define RTC   ((RTC_TypeDef *)RTC_BASE)

Definition at line 651 of file stm32f103xb.h.

◆ SPI1

#define SPI1   ((SPI_TypeDef *)SPI1_BASE)

Definition at line 674 of file stm32f103xb.h.

◆ SPI2

#define SPI2   ((SPI_TypeDef *)SPI2_BASE)

Definition at line 654 of file stm32f103xb.h.

◆ TIM1

#define TIM1   ((TIM_TypeDef *)TIM1_BASE)

Definition at line 673 of file stm32f103xb.h.

◆ TIM2

#define TIM2   ((TIM_TypeDef *)TIM2_BASE)

Definition at line 648 of file stm32f103xb.h.

◆ TIM3

#define TIM3   ((TIM_TypeDef *)TIM3_BASE)

Definition at line 649 of file stm32f103xb.h.

◆ TIM4

#define TIM4   ((TIM_TypeDef *)TIM4_BASE)

Definition at line 650 of file stm32f103xb.h.

◆ USART1

#define USART1   ((USART_TypeDef *)USART1_BASE)

Definition at line 675 of file stm32f103xb.h.

◆ USART2

#define USART2   ((USART_TypeDef *)USART2_BASE)

Definition at line 655 of file stm32f103xb.h.

◆ USART3

#define USART3   ((USART_TypeDef *)USART3_BASE)

Definition at line 656 of file stm32f103xb.h.

◆ USB

#define USB   ((USB_TypeDef *)USB_BASE)

Definition at line 659 of file stm32f103xb.h.

◆ WWDG

#define WWDG   ((WWDG_TypeDef *)WWDG_BASE)

Definition at line 652 of file stm32f103xb.h.