15 #ifndef _REG_STM32F4xx_H 16 #define _REG_STM32F4xx_H 25 #define REG_SET(REG, BIT) ( (REG) |= (BIT) ) 26 #define REG_CLR(REG, BIT) ( (REG) &= ~(BIT) ) 29 #define REG_TGL(REG, BIT) do { \ 30 REG_SET((REG), (BIT)); \ 31 REG_CLR((REG), (BIT)); \ 48 volatile uint32_t
CIR;
55 uint32_t RESERVED1[2];
62 uint32_t RESERVED3[2];
69 uint32_t RESERVED5[2];
71 volatile uint32_t
CSR;
72 uint32_t RESERVED6[2];
82 #define RCC ( (reg_rcc_t *) &rcc_testing ) 84 #define RCC ( (reg_rcc_t *) 0x40023800 ) 98 volatile uint32_t
ACR;
101 volatile uint32_t
SR;
102 volatile uint32_t
CR;
110 #define FLASH ( (reg_flash_t *) &flash_testing ) 112 #define FLASH ( (reg_flash_t *) 0x40023c00 ) 125 volatile uint32_t
DR;
127 volatile uint32_t
CR;
135 #define CRC ( (reg_crc_t *) &crc_testing ) 137 #define CRC ( (reg_crc_t *) 0x40023000 ) 143 #define CRC_RCC_PATTERN ( 0x1 << 12u ) 144 #define CRC_RESET() REG_TGL(RCC->AHB1RSTR, CRC_RCC_PATTERN) 145 #define CRC_ENABLE() REG_SET(RCC->AHB1ENR, CRC_RCC_PATTERN) 146 #define CRC_DISABLE() REG_CLR(RCC->AHB1ENR, CRC_RCC_PATTERN) 147 #define CRC_LP_ENABLE() REG_SET(RCC->AHB1LPENR, CRC_RCC_PATTERN) 148 #define CRC_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, CRC_RCC_PATTERN) 161 volatile uint32_t
CR;
170 #define PWR ( (reg_pwr_t *) &pwr_testing ) 172 #define PWR ( (reg_pwr_t *) 0x40007000 ) 177 #define PWR_RCC_PATTERN ( 0x1 << 28u ) 178 #define PWR_RESET() REG_TGL(RCC->APB1RSTR, PWR_RCC_PATTERN) 179 #define PWR_ENABLE() REG_SET(RCC->APB1ENR, PWR_RCC_PATTERN) 180 #define PWR_DISABLE() REG_CLR(RCC->APB1ENR, PWR_RCC_PATTERN) 181 #define PWR_LP_ENABLE() REG_SET(RCC->APB1LPENR, PWR_RCC_PATTERN) 182 #define PWR_LP_DISABLE() REG_CLR(RCC->APB1LPENR, PWR_RCC_PATTERN) 223 #define GPIOA ( (reg_gpio_t *) &gpioa_testing ) 224 #define GPIOB ( (reg_gpio_t *) &gpiob_testing ) 225 #define GPIOC ( (reg_gpio_t *) &gpioc_testing ) 226 #define GPIOD ( (reg_gpio_t *) &gpiod_testing ) 227 #define GPIOE ( (reg_gpio_t *) &gpioe_testing ) 228 #define GPIOF ( (reg_gpio_t *) &gpiof_testing ) 229 #define GPIOG ( (reg_gpio_t *) &gpiog_testing ) 230 #define GPIOH ( (reg_gpio_t *) &gpioh_testing ) 231 #define GPIOI ( (reg_gpio_t *) &gpioi_testing ) 232 #define GPIOJ ( (reg_gpio_t *) &gpioj_testing ) 233 #define GPIOK ( (reg_gpio_t *) &gpiok_testing ) 235 #define GPIOA ( (reg_gpio_t *) 0x40020000 ) 236 #define GPIOB ( (reg_gpio_t *) 0x40020400 ) 237 #define GPIOC ( (reg_gpio_t *) 0x40020800 ) 238 #define GPIOD ( (reg_gpio_t *) 0x40020c00 ) 239 #define GPIOE ( (reg_gpio_t *) 0x40021000 ) 240 #define GPIOF ( (reg_gpio_t *) 0x40021400 ) 241 #define GPIOG ( (reg_gpio_t *) 0x40021800 ) 242 #define GPIOH ( (reg_gpio_t *) 0x40021c00 ) 243 #define GPIOI ( (reg_gpio_t *) 0x40022000 ) 244 #define GPIOJ ( (reg_gpio_t *) 0x40022400 ) 245 #define GPIOK ( (reg_gpio_t *) 0x40022800 ) 251 #define GPIOA_RCC_PATTERN ( 0x1 << 0u ) 252 #define GPIOA_RESET() REG_TGL(RCC->AHB1RSTR, GPIOA_RCC_PATTERN) 253 #define GPIOA_ENABLE() REG_SET(RCC->AHB1ENR, GPIOA_RCC_PATTERN) 254 #define GPIOA_DISABLE() REG_CLR(RCC->AHB1ENR, GPIOA_RCC_PATTERN) 255 #define GPIOA_LP_ENABLE() REG_SET(RCC->AHB1LPENR, GPIOA_RCC_PATTERN) 256 #define GPIOA_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, GPIOA_RCC_PATTERN) 258 #define GPIOB_RCC_PATTERN ( 0x1 << 1u ) 259 #define GPIOB_RESET() REG_TGL(RCC->AHB1RSTR, GPIOB_RCC_PATTERN) 260 #define GPIOB_ENABLE() REG_SET(RCC->AHB1ENR, GPIOB_RCC_PATTERN) 261 #define GPIOB_DISABLE() REG_CLR(RCC->AHB1ENR, GPIOB_RCC_PATTERN) 262 #define GPIOB_LP_ENABLE() REG_SET(RCC->AHB1LPENR, GPIOB_RCC_PATTERN) 263 #define GPIOB_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, GPIOB_RCC_PATTERN) 265 #define GPIOC_RCC_PATTERN ( 0x1 << 2u ) 266 #define GPIOC_RESET() REG_TGL(RCC->AHB1RSTR, GPIOC_RCC_PATTERN) 267 #define GPIOC_ENABLE() REG_SET(RCC->AHB1ENR, GPIOC_RCC_PATTERN) 268 #define GPIOC_DISABLE() REG_CLR(RCC->AHB1ENR, GPIOC_RCC_PATTERN) 269 #define GPIOC_LP_ENABLE() REG_SET(RCC->AHB1LPENR, GPIOC_RCC_PATTERN) 270 #define GPIOC_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, GPIOC_RCC_PATTERN) 272 #define GPIOD_RCC_PATTERN ( 0x1 << 3u ) 273 #define GPIOD_RESET() REG_TGL(RCC->AHB1RSTR, GPIOD_RCC_PATTERN) 274 #define GPIOD_ENABLE() REG_SET(RCC->AHB1ENR, GPIOD_RCC_PATTERN) 275 #define GPIOD_DISABLE() REG_CLR(RCC->AHB1ENR, GPIOD_RCC_PATTERN) 276 #define GPIOD_LP_ENABLE() REG_SET(RCC->AHB1LPENR, GPIOD_RCC_PATTERN) 277 #define GPIOD_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, GPIOD_RCC_PATTERN) 279 #define GPIOE_RCC_PATTERN ( 0x1 << 4u ) 280 #define GPIOE_RESET() REG_TGL(RCC->AHB1RSTR, GPIOE_RCC_PATTERN) 281 #define GPIOE_ENABLE() REG_SET(RCC->AHB1ENR, GPIOE_RCC_PATTERN) 282 #define GPIOE_DISABLE() REG_CLR(RCC->AHB1ENR, GPIOE_RCC_PATTERN) 283 #define GPIOE_LP_ENABLE() REG_SET(RCC->AHB1LPENR, GPIOE_RCC_PATTERN) 284 #define GPIOE_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, GPIOE_RCC_PATTERN) 286 #define GPIOF_RCC_PATTERN ( 0x1 << 5u ) 287 #define GPIOF_RESET() REG_TGL(RCC->AHB1RSTR, GPIOF_RCC_PATTERN) 288 #define GPIOF_ENABLE() REG_SET(RCC->AHB1ENR, GPIOF_RCC_PATTERN) 289 #define GPIOF_DISABLE() REG_CLR(RCC->AHB1ENR, GPIOF_RCC_PATTERN) 290 #define GPIOF_LP_ENABLE() REG_SET(RCC->AHB1LPENR, GPIOF_RCC_PATTERN) 291 #define GPIOF_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, GPIOF_RCC_PATTERN) 293 #define GPIOG_RCC_PATTERN ( 0x1 << 6u ) 294 #define GPIOG_RESET() REG_TGL(RCC->AHB1RSTR, GPIOG_RCC_PATTERN) 295 #define GPIOG_ENABLE() REG_SET(RCC->AHB1ENR, GPIOG_RCC_PATTERN) 296 #define GPIOG_DISABLE() REG_CLR(RCC->AHB1ENR, GPIOG_RCC_PATTERN) 297 #define GPIOG_LP_ENABLE() REG_SET(RCC->AHB1LPENR, GPIOG_RCC_PATTERN) 298 #define GPIOG_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, GPIOG_RCC_PATTERN) 300 #define GPIOH_RCC_PATTERN ( 0x1 << 7u ) 301 #define GPIOH_RESET() REG_TGL(RCC->AHB1RSTR, GPIOH_RCC_PATTERN) 302 #define GPIOH_ENABLE() REG_SET(RCC->AHB1ENR, GPIOH_RCC_PATTERN) 303 #define GPIOH_DISABLE() REG_CLR(RCC->AHB1ENR, GPIOH_RCC_PATTERN) 304 #define GPIOH_LP_ENABLE() REG_SET(RCC->AHB1LPENR, GPIOH_RCC_PATTERN) 305 #define GPIOH_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, GPIOH_RCC_PATTERN) 307 #define GPIOI_RCC_PATTERN ( 0x1 << 8u ) 308 #define GPIOI_RESET() REG_TGL(RCC->AHB1RSTR, GPIOI_RCC_PATTERN) 309 #define GPIOI_ENABLE() REG_SET(RCC->AHB1ENR, GPIOI_RCC_PATTERN) 310 #define GPIOI_DISABLE() REG_CLR(RCC->AHB1ENR, GPIOI_RCC_PATTERN) 311 #define GPIOI_LP_ENABLE() REG_SET(RCC->AHB1LPENR, GPIOI_RCC_PATTERN) 312 #define GPIOI_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, GPIOI_RCC_PATTERN) 314 #define GPIOJ_RCC_PATTERN ( 0x1 << 9u ) 315 #define GPIOJ_RESET() REG_TGL(RCC->AHB1RSTR, GPIOJ_RCC_PATTERN) 316 #define GPIOJ_ENABLE() REG_SET(RCC->AHB1ENR, GPIOJ_RCC_PATTERN) 317 #define GPIOJ_DISABLE() REG_CLR(RCC->AHB1ENR, GPIOJ_RCC_PATTERN) 318 #define GPIOJ_LP_ENABLE() REG_SET(RCC->AHB1LPENR, GPIOJ_RCC_PATTERN) 319 #define GPIOJ_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, GPIOJ_RCC_PATTERN) 321 #define GPIOK_RCC_PATTERN ( 0x1 << 10u ) 322 #define GPIOK_RESET() REG_TGL(RCC->AHB1RSTR, GPIOK_RCC_PATTERN) 323 #define GPIOK_ENABLE() REG_SET(RCC->AHB1ENR, GPIOK_RCC_PATTERN) 324 #define GPIOK_DISABLE() REG_CLR(RCC->AHB1ENR, GPIOK_RCC_PATTERN) 325 #define GPIOK_LP_ENABLE() REG_SET(RCC->AHB1LPENR, GPIOK_RCC_PATTERN) 326 #define GPIOK_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, GPIOK_RCC_PATTERN) 345 uint32_t RESERVED[2];
354 #define SYSCFG ( (reg_syscfg_t *) &syscfg_testing ) 356 #define SYSCFG ( (reg_syscfg_t *) 0x40013800 ) 362 #define SYSCFG_RCC_PATTERN ( 0x1 << 14u ) 363 #define SYSCFG_RESET() REG_TGL(RCC->APB2RSTR, SYSCFG_RCC_PATTERN) 364 #define SYSCFG_ENABLE() REG_SET(RCC->APB2ENR, SYSCFG_RCC_PATTERN) 365 #define SYSCFG_DISABLE() REG_CLR(RCC->APB2ENR, SYSCFG_RCC_PATTERN) 366 #define SYSCFG_LP_ENABLE() REG_SET(RCC->APB2LPENR, SYSCFG_RCC_PATTERN) 367 #define SYSCFG_LP_DISABLE() REG_CLR(RCC->APB2LPENR, SYSCFG_RCC_PATTERN) 378 volatile uint32_t
CR;
407 #define DMA1 ( (reg_dma_t *) &dma1_testing ) 408 #define DMA2 ( (reg_dma_t *) &dma2_testing ) 410 #define DMA1 ( (reg_dma_t *) 0x40026000 ) 411 #define DMA2 ( (reg_dma_t *) 0x40026400 ) 417 #define DMA1_RCC_PATTERN ( 0x1 << 21u ) 418 #define DMA1_RESET() REG_TGL(RCC->AHB1RSTR, DMA1_RCC_PATTERN) 419 #define DMA1_ENABLE() REG_SET(RCC->AHB1ENR, DMA1_RCC_PATTERN) 420 #define DMA1_DISABLE() REG_CLR(RCC->AHB1ENR, DMA1_RCC_PATTERN) 421 #define DMA1_LP_ENABLE() REG_SET(RCC->AHB1LPENR, DMA1_RCC_PATTERN) 422 #define DMA1_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, DMA1_RCC_PATTERN) 424 #define DMA2_RCC_PATTERN ( 0x1 << 22u ) 425 #define DMA2_RESET() REG_TGL(RCC->AHB1RSTR, DMA2_RCC_PATTERN) 426 #define DMA2_ENABLE() REG_SET(RCC->AHB1ENR, DMA2_RCC_PATTERN) 427 #define DMA2_DISABLE() REG_CLR(RCC->AHB1ENR, DMA2_RCC_PATTERN) 428 #define DMA2_LP_ENABLE() REG_SET(RCC->AHB1LPENR, DMA2_RCC_PATTERN) 429 #define DMA2_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, DMA2_RCC_PATTERN) 440 volatile uint32_t
CR;
467 #define DMA2D ( (reg_dma2d_t *) &dma2d_testing ) 469 #define DMA2D ( (reg_dma2d_t *) 0x4002b000 ) 475 #define DMA2D_RCC_PATTERN ( 0x1 << 23u ) 476 #define DMA2D_RESET() REG_TGL(RCC->AHB1RSTR, DMA1_RCC_PATTERN) 477 #define DMA2D_ENABLE() REG_SET(RCC->AHB1ENR, DMA1_RCC_PATTERN) 478 #define DMA2D_DISABLE() REG_CLR(RCC->AHB1ENR, DMA1_RCC_PATTERN) 479 #define DMA2D_LP_ENABLE() REG_SET(RCC->AHB1LPENR, DMA1_RCC_PATTERN) 480 #define DMA2D_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, DMA1_RCC_PATTERN) 496 uint32_t RESERVED1[29];
500 uint32_t RESERVED2[29];
504 uint32_t RESERVED3[29];
508 uint32_t RESERVED4[29];
512 uint32_t RESERVED5[61];
513 volatile uint8_t IP[81];
514 uint8_t RESERVED6[3];
515 uint32_t RESERVED7[684];
524 #define NVIC ( (reg_nvic_t *) &nvic_testing ) 526 #define NVIC ( (reg_nvic_t *) 0xe000e100 ) 544 volatile uint32_t
PR;
552 #define EXTI ( (reg_exti_t *) &exti_testing ) 554 #define EXTI ( (reg_exti_t *) 0x40013c00 ) 568 volatile uint32_t
SR;
587 volatile uint32_t
DR;
597 #define ADC1 ( (reg_adc_t *) &adc1_testing ) 598 #define ADC2 ( (reg_adc_t *) &adc2_testing ) 599 #define ADC3 ( (reg_adc_t *) &adc3_testing ) 601 #define ADC1 ( (reg_adc_t *) 0x40012000 ) 602 #define ADC2 ( (reg_adc_t *) 0x40012100 ) 603 #define ADC3 ( (reg_adc_t *) 0x40012200 ) 609 #define ADC1_RCC_PATTERN ( 0x1 << 8u ) 610 #define ADC1_ENABLE() REG_SET(RCC->APB2ENR, ADC1_RCC_PATTERN) 611 #define ADC1_DISABLE() REG_CLR(RCC->APB2ENR, ADC1_RCC_PATTERN) 612 #define ADC1_LP_ENABLE() REG_SET(RCC->APB2LPENR, ADC1_RCC_PATTERN) 613 #define ADC1_LP_DISABLE() REG_CLR(RCC->APB2LPENR, ADC1_RCC_PATTERN) 615 #define ADC2_RCC_PATTERN ( 0x1 << 9u ) 616 #define ADC2_ENABLE() REG_SET(RCC->APB2ENR, ADC2_RCC_PATTERN) 617 #define ADC2_DISABLE() REG_CLR(RCC->APB2ENR, ADC2_RCC_PATTERN) 618 #define ADC2_LP_ENABLE() REG_SET(RCC->APB2LPENR, ADC2_RCC_PATTERN) 619 #define ADC2_LP_DISABLE() REG_CLR(RCC->APB2LPENR, ADC2_RCC_PATTERN) 621 #define ADC3_RCC_PATTERN ( 0x1 << 10u ) 622 #define ADC3_ENABLE() REG_SET(RCC->APB2ENR, ADC3_RCC_PATTERN) 623 #define ADC3_DISABLE() REG_CLR(RCC->APB2ENR, ADC3_RCC_PATTERN) 624 #define ADC3_LP_ENABLE() REG_SET(RCC->APB2LPENR, ADC3_RCC_PATTERN) 625 #define ADC3_LP_DISABLE() REG_CLR(RCC->APB2LPENR, ADC3_RCC_PATTERN) 627 #define ADCx_RESET() REG_TGL(RCC->APB2RSTR, ADC1_RCC_PATTERN) 647 #define ADCCOM ( (reg_adccom_t *) &adccom_testing ) 649 #define ADCCOM ( (reg_adccom_t *) 0x40012300 ) 663 volatile uint32_t
CR;
676 volatile uint32_t
SR;
684 #define DAC ( (reg_dac_t *) &dac_testing ) 686 #define DAC ( (reg_dac_t *) 0x40007400 ) 692 #define DAC_RCC_PATTERN ( 0x1 << 29u ) 693 #define DAC_RESET() REG_TGL(RCC->APB1RSTR, DAC_RCC_PATTERN) 694 #define DAC_ENABLE() REG_SET(RCC->APB1ENR, DAC_RCC_PATTERN) 695 #define DAC_DISABLE() REG_CLR(RCC->APB1ENR, DAC_RCC_PATTERN) 696 #define DAC_LP_ENABLE() REG_SET(RCC->APB1LPENR, DAC_RCC_PATTERN) 697 #define DAC_LP_DISABLE() REG_CLR(RCC->APB1LPENR, DAC_RCC_PATTERN) 710 volatile uint32_t
CR;
711 volatile uint32_t
SR;
720 volatile uint32_t
DR;
728 #define DCMI ( (reg_dcmi_t *) &dcmi_testing ) 730 #define DCMI ( (reg_dcmi_t *) 0x50050000 ) 736 #define DCMI_RCC_PATTERN ( 0x1 << 0u ) 737 #define DCMI_RESET() REG_TGL(RCC->AHB2RSTR, DCMI_RCC_PATTERN) 738 #define DCMI_ENABLE() REG_SET(RCC->AHB2ENR, DCMI_RCC_PATTERN) 739 #define DCMI_DISABLE() REG_CLR(RCC->AHB2ENR, DCMI_RCC_PATTERN) 740 #define DCMI_LP_ENABLE() REG_SET(RCC->AHB2LPENR, DCMI_RCC_PATTERN) 741 #define DCMI_LP_DISABLE() REG_CLR(RCC->AHB2LPENR, DCMI_RCC_PATTERN) 752 volatile uint32_t
CR;
774 uint32_t RESERVED1[2];
788 uint32_t RESERVED2[14];
790 uint32_t RESERVED3[15];
799 #define LTDC ( (reg_ltdc_t *) <dc_testing ) 801 #define LTDC ( (reg_ltdc_t *) 0x40016800 ) 807 #define LTDC_RCC_PATTERN ( 0x1 << 26u ) 808 #define LTDC_RESET() REG_TGL(RCC->APB2RSTR, LTDC_RCC_PATTERN) 809 #define LTDC_ENABLE() REG_SET(RCC->APB2ENR, LTDC_RCC_PATTERN) 810 #define LTDC_DISABLE() REG_CLR(RCC->APB2ENR, LTDC_RCC_PATTERN) 811 #define LTDC_LP_ENABLE() REG_SET(RCC->APB2LPENR, LTDC_RCC_PATTERN) 812 #define LTDC_LP_DISABLE() REG_CLR(RCC->APB2LPENR, LTDC_RCC_PATTERN) 829 volatile uint32_t
SR;
845 volatile uint32_t
OR;
867 #define TIM1 ( (reg_tim_t *) &tim1_testing ) 868 #define TIM2 ( (reg_tim_t *) &tim2_testing ) 869 #define TIM3 ( (reg_tim_t *) &tim3_testing ) 870 #define TIM4 ( (reg_tim_t *) &tim4_testing ) 871 #define TIM5 ( (reg_tim_t *) &tim5_testing ) 872 #define TIM6 ( (reg_tim_t *) &tim6_testing ) 873 #define TIM7 ( (reg_tim_t *) &tim7_testing ) 874 #define TIM8 ( (reg_tim_t *) &tim8_testing ) 875 #define TIM9 ( (reg_tim_t *) &tim9_testing ) 876 #define TIM10 ( (reg_tim_t *) &tim10_testing ) 877 #define TIM11 ( (reg_tim_t *) &tim11_testing ) 878 #define TIM12 ( (reg_tim_t *) &tim12_testing ) 879 #define TIM13 ( (reg_tim_t *) &tim13_testing ) 880 #define TIM14 ( (reg_tim_t *) &tim14_testing ) 882 #define TIM1 ( (reg_tim_t *) 0x40010000 ) 883 #define TIM2 ( (reg_tim_t *) 0x40000000 ) 884 #define TIM3 ( (reg_tim_t *) 0x40000400 ) 885 #define TIM4 ( (reg_tim_t *) 0x40000800 ) 886 #define TIM5 ( (reg_tim_t *) 0x40000c00 ) 887 #define TIM6 ( (reg_tim_t *) 0x40001000 ) 888 #define TIM7 ( (reg_tim_t *) 0x40001400 ) 889 #define TIM8 ( (reg_tim_t *) 0x40010400 ) 890 #define TIM9 ( (reg_tim_t *) 0x40014000 ) 891 #define TIM10 ( (reg_tim_t *) 0x40014400 ) 892 #define TIM11 ( (reg_tim_t *) 0x40014800 ) 893 #define TIM12 ( (reg_tim_t *) 0x40001800 ) 894 #define TIM13 ( (reg_tim_t *) 0x40001c00 ) 895 #define TIM14 ( (reg_tim_t *) 0x40002000 ) 901 #define TIM1_RCC_PATTERN ( 0x1 << 0u ) 902 #define TIM1_RESET() REG_TGL(RCC->APB2RSTR, TIM1_RCC_PATTERN) 903 #define TIM1_ENABLE() REG_SET(RCC->APB2ENR, TIM1_RCC_PATTERN) 904 #define TIM1_DISABLE() REG_CLR(RCC->APB2ENR, TIM1_RCC_PATTERN) 905 #define TIM1_LP_ENABLE() REG_SET(RCC->APB2LPENR, TIM1_RCC_PATTERN) 906 #define TIM1_LP_DISABLE() REG_CLR(RCC->APB2LPENR, TIM1_RCC_PATTERN) 908 #define TIM2_RCC_PATTERN ( 0x1 << 0u ) 909 #define TIM2_RESET() REG_TGL(RCC->APB1RSTR, TIM2_RCC_PATTERN) 910 #define TIM2_ENABLE() REG_SET(RCC->APB1ENR, TIM2_RCC_PATTERN) 911 #define TIM2_DISABLE() REG_CLR(RCC->APB1ENR, TIM2_RCC_PATTERN) 912 #define TIM2_LP_ENABLE() REG_SET(RCC->APB1LPENR, TIM2_RCC_PATTERN) 913 #define TIM2_LP_DISABLE() REG_CLR(RCC->APB1LPENR, TIM2_RCC_PATTERN) 915 #define TIM3_RCC_PATTERN ( 0x1 << 1u ) 916 #define TIM3_RESET() REG_TGL(RCC->APB1RSTR, TIM3_RCC_PATTERN) 917 #define TIM3_ENABLE() REG_SET(RCC->APB1ENR, TIM3_RCC_PATTERN) 918 #define TIM3_DISABLE() REG_CLR(RCC->APB1ENR, TIM3_RCC_PATTERN) 919 #define TIM3_LP_ENABLE() REG_SET(RCC->APB1LPENR, TIM3_RCC_PATTERN) 920 #define TIM3_LP_DISABLE() REG_CLR(RCC->APB1LPENR, TIM3_RCC_PATTERN) 922 #define TIM4_RCC_PATTERN ( 0x1 << 2u ) 923 #define TIM4_RESET() REG_TGL(RCC->APB1RSTR, TIM4_RCC_PATTERN) 924 #define TIM4_ENABLE() REG_SET(RCC->APB1ENR, TIM4_RCC_PATTERN) 925 #define TIM4_DISABLE() REG_CLR(RCC->APB1ENR, TIM4_RCC_PATTERN) 926 #define TIM4_LP_ENABLE() REG_SET(RCC->APB1LPENR, TIM4_RCC_PATTERN) 927 #define TIM4_LP_DISABLE() REG_CLR(RCC->APB1LPENR, TIM4_RCC_PATTERN) 929 #define TIM5_RCC_PATTERN ( 0x1 << 3u ) 930 #define TIM5_RESET() REG_TGL(RCC->APB1RSTR, TIM5_RCC_PATTERN) 931 #define TIM5_ENABLE() REG_SET(RCC->APB1ENR, TIM5_RCC_PATTERN) 932 #define TIM5_DISABLE() REG_CLR(RCC->APB1ENR, TIM5_RCC_PATTERN) 933 #define TIM5_LP_ENABLE() REG_SET(RCC->APB1LPENR, TIM5_RCC_PATTERN) 934 #define TIM5_LP_DISABLE() REG_CLR(RCC->APB1LPENR, TIM5_RCC_PATTERN) 936 #define TIM6_RCC_PATTERN ( 0x1 << 4u ) 937 #define TIM6_RESET() REG_TGL(RCC->APB1RSTR, TIM6_RCC_PATTERN) 938 #define TIM6_ENABLE() REG_SET(RCC->APB1ENR, TIM6_RCC_PATTERN) 939 #define TIM6_DISABLE() REG_CLR(RCC->APB1ENR, TIM6_RCC_PATTERN) 940 #define TIM6_LP_ENABLE() REG_SET(RCC->APB1LPENR, TIM6_RCC_PATTERN) 941 #define TIM6_LP_DISABLE() REG_CLR(RCC->APB1LPENR, TIM6_RCC_PATTERN) 943 #define TIM7_RCC_PATTERN ( 0x1 << 5u ) 944 #define TIM7_RESET() REG_TGL(RCC->APB1RSTR, TIM7_RCC_PATTERN) 945 #define TIM7_ENABLE() REG_SET(RCC->APB1ENR, TIM7_RCC_PATTERN) 946 #define TIM7_DISABLE() REG_CLR(RCC->APB1ENR, TIM7_RCC_PATTERN) 947 #define TIM7_LP_ENABLE() REG_SET(RCC->APB1LPENR, TIM7_RCC_PATTERN) 948 #define TIM7_LP_DISABLE() REG_CLR(RCC->APB1LPENR, TIM7_RCC_PATTERN) 950 #define TIM8_RCC_PATTERN ( 0x1 << 1u ) 951 #define TIM8_RESET() REG_TGL(RCC->APB2RSTR, TIM8_RCC_PATTERN) 952 #define TIM8_ENABLE() REG_SET(RCC->APB2ENR, TIM8_RCC_PATTERN) 953 #define TIM8_DISABLE() REG_CLR(RCC->APB2ENR, TIM8_RCC_PATTERN) 954 #define TIM8_LP_ENABLE() REG_SET(RCC->APB2LPENR, TIM8_RCC_PATTERN) 955 #define TIM8_LP_DISABLE() REG_CLR(RCC->APB2LPENR, TIM8_RCC_PATTERN) 957 #define TIM9_RCC_PATTERN ( 0x1 << 16u ) 958 #define TIM9_RESET() REG_TGL(RCC->APB2RSTR, TIM9_RCC_PATTERN) 959 #define TIM9_ENABLE() REG_SET(RCC->APB2ENR, TIM9_RCC_PATTERN) 960 #define TIM9_DISABLE() REG_CLR(RCC->APB2ENR, TIM9_RCC_PATTERN) 961 #define TIM9_LP_ENABLE() REG_SET(RCC->APB2LPENR, TIM9_RCC_PATTERN) 962 #define TIM9_LP_DISABLE() REG_CLR(RCC->APB2LPENR, TIM9_RCC_PATTERN) 964 #define TIM10_RCC_PATTERN ( 0x1 << 17u ) 965 #define TIM10_RESET() REG_TGL(RCC->APB2RSTR, TIM10_RCC_PATTERN) 966 #define TIM10_ENABLE() REG_SET(RCC->APB2ENR, TIM10_RCC_PATTERN) 967 #define TIM10_DISABLE() REG_CLR(RCC->APB2ENR, TIM10_RCC_PATTERN) 968 #define TIM10_LP_ENABLE() REG_SET(RCC->APB2LPENR, TIM10_RCC_PATTERN) 969 #define TIM10_LP_DISABLE() REG_CLR(RCC->APB2LPENR, TIM10_RCC_PATTERN) 971 #define TIM11_RCC_PATTERN ( 0x1 << 18u ) 972 #define TIM11_RESET() REG_TGL(RCC->APB2RSTR, TIM11_RCC_PATTERN) 973 #define TIM11_ENABLE() REG_SET(RCC->APB2ENR, TIM11_RCC_PATTERN) 974 #define TIM11_DISABLE() REG_CLR(RCC->APB2ENR, TIM11_RCC_PATTERN) 975 #define TIM11_LP_ENABLE() REG_SET(RCC->APB2LPENR, TIM11_RCC_PATTERN) 976 #define TIM11_LP_DISABLE() REG_CLR(RCC->APB2LPENR, TIM11_RCC_PATTERN) 978 #define TIM12_RCC_PATTERN ( 0x1 << 6u ) 979 #define TIM12_RESET() REG_TGL(RCC->APB1RSTR, TIM12_RCC_PATTERN) 980 #define TIM12_ENABLE() REG_SET(RCC->APB1ENR, TIM12_RCC_PATTERN) 981 #define TIM12_DISABLE() REG_CLR(RCC->APB1ENR, TIM12_RCC_PATTERN) 982 #define TIM12_LP_ENABLE() REG_SET(RCC->APB1LPENR, TIM12_RCC_PATTERN) 983 #define TIM12_LP_DISABLE() REG_CLR(RCC->APB1LPENR, TIM12_RCC_PATTERN) 985 #define TIM13_RCC_PATTERN ( 0x1 << 7u ) 986 #define TIM13_RESET() REG_TGL(RCC->APB1RSTR, TIM13_RCC_PATTERN) 987 #define TIM13_ENABLE() REG_SET(RCC->APB1ENR, TIM13_RCC_PATTERN) 988 #define TIM13_DISABLE() REG_CLR(RCC->APB1ENR, TIM13_RCC_PATTERN) 989 #define TIM13_LP_ENABLE() REG_SET(RCC->APB1LPENR, TIM13_RCC_PATTERN) 990 #define TIM13_LP_DISABLE() REG_CLR(RCC->APB1LPENR, TIM13_RCC_PATTERN) 992 #define TIM14_RCC_PATTERN ( 0x1 << 8u ) 993 #define TIM14_RESET() REG_TGL(RCC->APB1RSTR, TIM14_RCC_PATTERN) 994 #define TIM14_ENABLE() REG_SET(RCC->APB1ENR, TIM14_RCC_PATTERN) 995 #define TIM14_DISABLE() REG_CLR(RCC->APB1ENR, TIM14_RCC_PATTERN) 996 #define TIM14_LP_ENABLE() REG_SET(RCC->APB1LPENR, TIM14_RCC_PATTERN) 997 #define TIM14_LP_DISABLE() REG_CLR(RCC->APB1LPENR, TIM14_RCC_PATTERN) 1021 #define IWDG ( (reg_iwdg_t *) &iwdg_testing ) 1023 #define IWDG ( (reg_iwdg_t *) 0x40003000 ) 1047 #define WWDG ( (reg_wwdg_t *) &wwgd_testing ) 1049 #define WWDG ( (reg_wwdg_t *) 0x40002c00 ) 1055 #define WWDG_RCC_PATTERN ( 0x1 << 11u ) 1056 #define WWDG_RESET() REG_TGL(RCC->APB1RSTR, WWDG_RCC_PATTERN) 1057 #define WWDG_ENABLE() REG_SET(RCC->APB1ENR, WWDG_RCC_PATTERN) 1058 #define WWDG_DISABLE() REG_CLR(RCC->APB1ENR, WWDG_RCC_PATTERN) 1059 #define WWDG_LP_ENABLE() REG_SET(RCC->APB1LPENR, WWDG_RCC_PATTERN) 1060 #define WWDG_LP_DISABLE() REG_CLR(RCC->APB1LPENR, WWDG_RCC_PATTERN) 1116 #define CRYP ( (reg_cryp_t *) &cryp_testing ) 1118 #define CRYP ( (reg_cryp_t *) 0x50060000 ) 1124 #define CRYP_RCC_PATTERN ( 0x1 << 4u ) 1125 #define CRYP_RESET() REG_TGL(RCC->AHB2RSTR, CRYP_RCC_PATTERN) 1126 #define CRYP_ENABLE() REG_SET(RCC->AHB2ENR, CRYP_RCC_PATTERN) 1127 #define CRYP_DISABLE() REG_CLR(RCC->AHB2ENR, CRYP_RCC_PATTERN) 1128 #define CRYP_LP_ENABLE() REG_SET(RCC->AHB2LPENR, CRYP_RCC_PATTERN) 1129 #define CRYP_LP_DISABLE() REG_CLR(RCC->AHB2LPENR, CRYP_RCC_PATTERN) 1152 #define RNG ( (reg_rng_t *) &rng_testing ) 1154 #define RNG ( (reg_rng_t *) 0x50060800 ) 1160 #define RNG_RCC_PATTERN ( 0x1 << 6u ) 1161 #define RNG_RESET() REG_TGL(RCC->AHB2RSTR, RNG_RCC_PATTERN) 1162 #define RNG_ENABLE() REG_SET(RCC->AHB2ENR, RNG_RCC_PATTERN) 1163 #define RNG_DISABLE() REG_CLR(RCC->AHB2ENR, RNG_RCC_PATTERN) 1164 #define RNG_LP_ENABLE() REG_SET(RCC->AHB2LPENR, RNG_RCC_PATTERN) 1165 #define RNG_LP_DISABLE() REG_CLR(RCC->AHB2LPENR, RNG_RCC_PATTERN) 1182 uint32_t RESERVED1[5];
1185 uint32_t RESERVED2[48];
1186 volatile uint32_t CSR[54];
1187 uint32_t RESERVED3[80];
1203 #define HASH ( (reg_hash_t *) &hash_testing ) 1205 #define HASH ( (reg_hash_t *) 0x50060400 ) 1211 #define HASH_RCC_PATTERN ( 0x1 << 5u ) 1212 #define HASH_RESET() REG_TGL(RCC->AHB2RSTR, HASH_RCC_PATTERN) 1213 #define HASH_ENABLE() REG_SET(RCC->AHB2ENR, HASH_RCC_PATTERN) 1214 #define HASH_DISABLE() REG_CLR(RCC->AHB2ENR, HASH_RCC_PATTERN) 1215 #define HASH_LP_ENABLE() REG_SET(RCC->AHB2LPENR, HASH_RCC_PATTERN) 1216 #define HASH_LP_DISABLE() REG_CLR(RCC->AHB2LPENR, HASH_RCC_PATTERN) 1276 #define RTC ( (reg_rtc_t *) &hash_testing ) 1278 #define RTC ( (reg_rtc_t *) 0x40002800 ) 1311 #define I2C1 ( (reg_i2c_t *) &i2c1_testing ) 1312 #define I2C2 ( (reg_i2c_t *) &i2c2_testing ) 1313 #define I2C3 ( (reg_i2c_t *) &i2c3_testing ) 1315 #define I2C1 ( (reg_i2c_t *) 0x40005400 ) 1316 #define I2C2 ( (reg_i2c_t *) 0x40005800 ) 1317 #define I2C3 ( (reg_i2c_t *) 0x40005c00 ) 1323 #define I2C1_RCC_PATTERN ( 0x1 << 21u ) 1324 #define I2C1_RESET() REG_TGL(RCC->APB1RSTR, I2C1_RCC_PATTERN) 1325 #define I2C1_ENABLE() REG_SET(RCC->APB1ENR, I2C1_RCC_PATTERN) 1326 #define I2C1_DISABLE() REG_CLR(RCC->APB1ENR, I2C1_RCC_PATTERN) 1327 #define I2C1_LP_ENABLE() REG_SET(RCC->APB1LPENR, I2C1_RCC_PATTERN) 1328 #define I2C1_LP_DISABLE() REG_CLR(RCC->APB1LPENR, I2C1_RCC_PATTERN) 1330 #define I2C2_RCC_PATTERN ( 0x1 << 22u ) 1331 #define I2C2_RESET() REG_TGL(RCC->APB1RSTR, I2C2_RCC_PATTERN) 1332 #define I2C2_ENABLE() REG_SET(RCC->APB1ENR, I2C2_RCC_PATTERN) 1333 #define I2C2_DISABLE() REG_CLR(RCC->APB1ENR, I2C2_RCC_PATTERN) 1334 #define I2C2_LP_ENABLE() REG_SET(RCC->APB1LPENR, I2C2_RCC_PATTERN) 1335 #define I2C2_LP_DISABLE() REG_CLR(RCC->APB1LPENR, I2C2_RCC_PATTERN) 1337 #define I2C3_RCC_PATTERN ( 0x1 << 23u ) 1338 #define I2C3_RESET() REG_TGL(RCC->APB1RSTR, I2C3_RCC_PATTERN) 1339 #define I2C3_ENABLE() REG_SET(RCC->APB1ENR, I2C3_RCC_PATTERN) 1340 #define I2C3_DISABLE() REG_CLR(RCC->APB1ENR, I2C3_RCC_PATTERN) 1341 #define I2C3_LP_ENABLE() REG_SET(RCC->APB1LPENR, I2C3_RCC_PATTERN) 1342 #define I2C3_LP_DISABLE() REG_CLR(RCC->APB1LPENR, I2C3_RCC_PATTERN) 1376 #define SPI1 ( (reg_spi_t *) &spi1_testing ) 1377 #define SPI2 ( (reg_spi_t *) &spi2_testing ) 1378 #define SPI3 ( (reg_spi_t *) &spi3_testing ) 1379 #define SPI4 ( (reg_spi_t *) &spi4_testing ) 1380 #define SPI5 ( (reg_spi_t *) &spi5_testing ) 1381 #define SPI6 ( (reg_spi_t *) &spi6_testing ) 1383 #define SPI1 ( (reg_spi_t *) 0x40013000 ) 1384 #define SPI2 ( (reg_spi_t *) 0x40003800 ) 1385 #define SPI3 ( (reg_spi_t *) 0x40003c00 ) 1386 #define SPI4 ( (reg_spi_t *) 0x40013400 ) 1387 #define SPI5 ( (reg_spi_t *) 0x40015000 ) 1388 #define SPI6 ( (reg_spi_t *) 0x40015400 ) 1394 #define SPI1_RCC_PATTERN ( 0x1 << 12u ) 1395 #define SPI1_RESET() REG_TGL(RCC->APB2RSTR, SPI1_RCC_PATTERN) 1396 #define SPI1_ENABLE() REG_SET(RCC->APB2ENR, SPI1_RCC_PATTERN) 1397 #define SPI1_DISABLE() REG_CLR(RCC->APB2ENR, SPI1_RCC_PATTERN) 1398 #define SPI1_LP_ENABLE() REG_SET(RCC->APB2LPENR, SPI1_RCC_PATTERN) 1399 #define SPI1_LP_DISABLE() REG_CLR(RCC->APB2LPENR, SPI1_RCC_PATTERN) 1401 #define SPI2_RCC_PATTERN ( 0x1 << 14u ) 1402 #define SPI2_RESET() REG_TGL(RCC->APB1RSTR, SPI2_RCC_PATTERN) 1403 #define SPI2_ENABLE() REG_SET(RCC->APB1ENR, SPI2_RCC_PATTERN) 1404 #define SPI2_DISABLE() REG_CLR(RCC->APB1ENR, SPI2_RCC_PATTERN) 1405 #define SPI2_LP_ENABLE() REG_SET(RCC->APB1LPENR, SPI2_RCC_PATTERN) 1406 #define SPI2_LP_DISABLE() REG_CLR(RCC->APB1LPENR, SPI2_RCC_PATTERN) 1408 #define SPI3_RCC_PATTERN ( 0x1 << 15u ) 1409 #define SPI3_RESET() REG_TGL(RCC->APB1RSTR, SPI3_RCC_PATTERN) 1410 #define SPI3_ENABLE() REG_SET(RCC->APB1ENR, SPI3_RCC_PATTERN) 1411 #define SPI3_DISABLE() REG_CLR(RCC->APB1ENR, SPI3_RCC_PATTERN) 1412 #define SPI3_LP_ENABLE() REG_SET(RCC->APB1LPENR, SPI3_RCC_PATTERN) 1413 #define SPI3_LP_DISABLE() REG_CLR(RCC->APB1LPENR, SPI3_RCC_PATTERN) 1415 #define SPI4_RCC_PATTERN ( 0x1 << 13u ) 1416 #define SPI4_RESET() REG_TGL(RCC->APB2RSTR, SPI4_RCC_PATTERN) 1417 #define SPI4_ENABLE() REG_SET(RCC->APB2ENR, SPI4_RCC_PATTERN) 1418 #define SPI4_DISABLE() REG_CLR(RCC->APB2ENR, SPI4_RCC_PATTERN) 1419 #define SPI4_LP_ENABLE() REG_SET(RCC->APB2LPENR, SPI4_RCC_PATTERN) 1420 #define SPI4_LP_DISABLE() REG_CLR(RCC->APB2LPENR, SPI4_RCC_PATTERN) 1422 #define SPI5_RCC_PATTERN ( 0x1 << 20u ) 1423 #define SPI5_RESET() REG_TGL(RCC->APB2RSTR, SPI5_RCC_PATTERN) 1424 #define SPI5_ENABLE() REG_SET(RCC->APB2ENR, SPI5_RCC_PATTERN) 1425 #define SPI5_DISABLE() REG_CLR(RCC->APB2ENR, SPI5_RCC_PATTERN) 1426 #define SPI5_LP_ENABLE() REG_SET(RCC->APB2LPENR, SPI5_RCC_PATTERN) 1427 #define SPI5_LP_DISABLE() REG_CLR(RCC->APB2LPENR, SPI5_RCC_PATTERN) 1429 #define SPI6_RCC_PATTERN ( 0x1 << 21u ) 1430 #define SPI6_RESET() REG_TGL(RCC->APB2RSTR, SPI6_RCC_PATTERN) 1431 #define SPI6_ENABLE() REG_SET(RCC->APB2ENR, SPI6_RCC_PATTERN) 1432 #define SPI6_DISABLE() REG_CLR(RCC->APB2ENR, SPI6_RCC_PATTERN) 1433 #define SPI6_LP_ENABLE() REG_SET(RCC->APB2LPENR, SPI6_RCC_PATTERN) 1434 #define SPI6_LP_DISABLE() REG_CLR(RCC->APB2LPENR, SPI6_RCC_PATTERN) 1474 #define SAI1 ( (reg_sai_t *) &sat1_testing ) 1476 #define SAI1 ( (reg_sai_t *) 0x40015800 ) 1481 #define SAI1_RCC_PATTERN ( 0x1 << 22u ) 1482 #define SAI1_RESET() REG_TGL(RCC->APB2RSTR, SAI1_RCC_PATTERN) 1483 #define SAI1_ENABLE() REG_SET(RCC->APB2ENR, SAI1_RCC_PATTERN) 1484 #define SAI1_DISABLE() REG_CLR(RCC->APB2ENR, SAI1_RCC_PATTERN) 1485 #define SAI1_LP_ENABLE() REG_SET(RCC->APB2LPENR, SAI1_RCC_PATTERN) 1486 #define SAI1_LP_DISABLE() REG_CLR(RCC->APB2LPENR, SAI1_RCC_PATTERN) 1520 #define USART1 ( (reg_usart_t *) &usart1_testing ) 1521 #define USART2 ( (reg_usart_t *) &usart2_testing ) 1522 #define USART3 ( (reg_usart_t *) &usart3_testing ) 1523 #define UART4 ( (reg_usart_t *) &uart4_testing ) 1524 #define UART5 ( (reg_usart_t *) &uart5_testing ) 1525 #define USART6 ( (reg_usart_t *) &usart6_testing ) 1526 #define USART7 ( (reg_usart_t *) &usart7_testing ) 1527 #define USART8 ( (reg_usart_t *) &usart8_testing ) 1529 #define USART1 ( (reg_usart_t *) 0x40011000 ) 1530 #define USART2 ( (reg_usart_t *) 0x40004400 ) 1531 #define USART3 ( (reg_usart_t *) 0x40004800 ) 1532 #define UART4 ( (reg_usart_t *) 0x40004c00 ) 1533 #define UART5 ( (reg_usart_t *) 0x40005000 ) 1534 #define USART6 ( (reg_usart_t *) 0x40011400 ) 1535 #define USART7 ( (reg_usart_t *) 0x40007800 ) 1536 #define USART8 ( (reg_usart_t *) 0x40007c00 ) 1542 #define USART1_RCC_PATTERN ( 0x1 << 4u ) 1543 #define USART1_RESET() REG_TGL(RCC->APB2RSTR, USART1_RCC_PATTERN) 1544 #define USART1_ENABLE() REG_SET(RCC->APB2ENR, USART1_RCC_PATTERN) 1545 #define USART1_DISABLE() REG_CLR(RCC->APB2ENR, USART1_RCC_PATTERN) 1546 #define USART1_LP_ENABLE() REG_SET(RCC->APB2LPENR, USART1_RCC_PATTERN) 1547 #define USART1_LP_DISABLE() REG_CLR(RCC->APB2LPENR, USART1_RCC_PATTERN) 1549 #define USART2_RCC_PATTERN ( 0x1 << 17u ) 1550 #define USART2_RESET() REG_TGL(RCC->APB1RSTR, USART2_RCC_PATTERN) 1551 #define USART2_ENABLE() REG_SET(RCC->APB1ENR, USART2_RCC_PATTERN) 1552 #define USART2_DISABLE() REG_CLR(RCC->APB1ENR, USART2_RCC_PATTERN) 1553 #define USART2_LP_ENABLE() REG_SET(RCC->APB1LPENR, USART2_RCC_PATTERN) 1554 #define USART2_LP_DISABLE() REG_CLR(RCC->APB1LPENR, USART2_RCC_PATTERN) 1556 #define USART3_RCC_PATTERN ( 0x1 << 18u ) 1557 #define USART3_RESET() REG_TGL(RCC->APB1RSTR, USART3_RCC_PATTERN) 1558 #define USART3_ENABLE() REG_SET(RCC->APB1ENR, USART3_RCC_PATTERN) 1559 #define USART3_DISABLE() REG_CLR(RCC->APB1ENR, USART3_RCC_PATTERN) 1560 #define USART3_LP_ENABLE() REG_SET(RCC->APB1LPENR, USART3_RCC_PATTERN) 1561 #define USART3_LP_DISABLE() REG_CLR(RCC->APB1LPENR, USART3_RCC_PATTERN) 1563 #define UART4_RCC_PATTERN ( 0x1 << 19u ) 1564 #define UART4_RESET() REG_TGL(RCC->APB1RSTR, UART4_RCC_PATTERN) 1565 #define UART4_ENABLE() REG_SET(RCC->APB1ENR, UART4_RCC_PATTERN) 1566 #define UART4_DISABLE() REG_CLR(RCC->APB1ENR, UART4_RCC_PATTERN) 1567 #define UART4_LP_ENABLE() REG_SET(RCC->APB1LPENR, UART4_RCC_PATTERN) 1568 #define UART4_LP_DISABLE() REG_CLR(RCC->APB1LPENR, UART4_RCC_PATTERN) 1570 #define UART5_RCC_PATTERN ( 0x1 << 20u ) 1571 #define UART5_RESET() REG_TGL(RCC->APB1RSTR, UART5_RCC_PATTERN) 1572 #define UART5_ENABLE() REG_SET(RCC->APB1ENR, UART5_RCC_PATTERN) 1573 #define UART5_DISABLE() REG_CLR(RCC->APB1ENR, UART5_RCC_PATTERN) 1574 #define UART5_LP_ENABLE() REG_SET(RCC->APB1LPENR, UART5_RCC_PATTERN) 1575 #define UART5_LP_DISABLE() REG_CLR(RCC->APB1LPENR, UART5_RCC_PATTERN) 1577 #define USART6_RCC_PATTERN ( 0x1 << 5u ) 1578 #define USART6_RESET() REG_TGL(RCC->APB2RSTR, USART6_RCC_PATTERN) 1579 #define USART6_ENABLE() REG_SET(RCC->APB2ENR, USART6_RCC_PATTERN) 1580 #define USART6_DISABLE() REG_CLR(RCC->APB2ENR, USART6_RCC_PATTERN) 1581 #define USART6_LP_ENABLE() REG_SET(RCC->APB2LPENR, USART6_RCC_PATTERN) 1582 #define USART6_LP_DISABLE() REG_CLR(RCC->APB2LPENR, USART6_RCC_PATTERN) 1584 #define USART7_RCC_PATTERN ( 0x1 << 30u ) 1585 #define USART7_RESET() REG_TGL(RCC->APB1RSTR, USART7_RCC_PATTERN) 1586 #define USART7_ENABLE() REG_SET(RCC->APB1ENR, USART7_RCC_PATTERN) 1587 #define USART7_DISABLE() REG_CLR(RCC->APB1ENR, USART7_RCC_PATTERN) 1588 #define USART7_LP_ENABLE() REG_SET(RCC->APB1LPENR, USART7_RCC_PATTERN) 1589 #define USART7_LP_DISABLE() REG_CLR(RCC->APB1LPENR, USART7_RCC_PATTERN) 1591 #define USART8_RCC_PATTERN ( 0x1 << 31u ) 1592 #define USART8_RESET() REG_TGL(RCC->APB1RSTR, USART8_RCC_PATTERN) 1593 #define USART8_ENABLE() REG_SET(RCC->APB1ENR, USART8_RCC_PATTERN) 1594 #define USART8_DISABLE() REG_CLR(RCC->APB1ENR, USART8_RCC_PATTERN) 1595 #define USART8_LP_ENABLE() REG_SET(RCC->APB1LPENR, USART8_RCC_PATTERN) 1596 #define USART8_LP_DISABLE() REG_CLR(RCC->APB1LPENR, USART8_RCC_PATTERN) 1625 uint32_t RESERVED[2];
1635 #define SDIO ( (reg_sdio_t *) &sdio_testing ) 1637 #define SDIO ( (reg_sdio_t *) 0x40006400 ) 1642 #define SDIO_RCC_PATTERN ( 0x1 << 11u ) 1643 #define SDIO_RESET() REG_TGL(RCC->APB2RSTR, SDIO_RCC_PATTERN) 1644 #define SDIO_ENABLE() REG_SET(RCC->APB2ENR, SDIO_RCC_PATTERN) 1645 #define SDIO_DISABLE() REG_CLR(RCC->APB2ENR, SDIO_RCC_PATTERN) 1646 #define SDIO_LP_ENABLE() REG_SET(RCC->APB2LPENR, SDIO_RCC_PATTERN) 1647 #define SDIO_LP_DISABLE() REG_CLR(RCC->APB2LPENR, SDIO_RCC_PATTERN) 1660 volatile uint32_t MCR;
1668 uint32_t RESERVED1[88];
1669 volatile uint32_t TI0R;
1694 uint32_t RESERVED2[12];
1695 volatile uint32_t FMR;
1698 volatile uint32_t FS1R;
1700 volatile uint32_t FFA1R;
1702 volatile uint32_t FA1R;
1703 uint32_t RESERVED6[8];
1704 volatile uint32_t FR[28][2];
1714 #define CAN1 ( (reg_can_t *) &can1_testing ) 1715 #define CAN2 ( (reg_can_t *) &can2_testing ) 1717 #define CAN1 ( (reg_can_t *) 0x40006400 ) 1718 #define CAN2 ( (reg_can_t *) 0x40006800 ) 1724 #define CAN1_RCC_PATTERN ( 0x1 << 25u ) 1725 #define CAN1_RESET() REG_TGL(RCC->APB1RSTR, CAN1_RCC_PATTERN) 1726 #define CAN1_ENABLE() REG_SET(RCC->APB1ENR, CAN1_RCC_PATTERN) 1727 #define CAN1_DISABLE() REG_CLR(RCC->APB1ENR, CAN1_RCC_PATTERN) 1728 #define CAN1_LP_ENABLE() REG_SET(RCC->APB1LPENR, CAN1_RCC_PATTERN) 1729 #define CAN1_LP_DISABLE() REG_CLR(RCC->APB1LPENR, CAN1_RCC_PATTERN) 1731 #define CAN2_RCC_PATTERN ( 0x1 << 26u ) 1732 #define CAN2_RESET() REG_TGL(RCC->APB1RSTR, CAN2_RCC_PATTERN) 1733 #define CAN2_ENABLE() REG_SET(RCC->APB1ENR, CAN2_RCC_PATTERN) 1734 #define CAN2_DISABLE() REG_CLR(RCC->APB1ENR, CAN2_RCC_PATTERN) 1735 #define CAN2_LP_ENABLE() REG_SET(RCC->APB1LPENR, CAN2_RCC_PATTERN) 1736 #define CAN2_LP_DISABLE() REG_CLR(RCC->APB1LPENR, CAN2_RCC_PATTERN) 1755 uint32_t RESERVED1[57];
1781 #define FMC ( (reg_fmc_t *) &fmc_testing ) 1783 #define FMC ( (reg_fmc_t *) 0xa0000000 ) 1789 #define FMC_RCC_PATTERN ( 0x1 << 0u ) 1790 #define FMC_RESET() REG_TGL(RCC->AHB3RSTR, FMC_RCC_PATTERN) 1791 #define FMC_ENABLE() REG_SET(RCC->AHB3ENR, FMC_RCC_PATTERN) 1792 #define FMC_DISABLE() REG_CLR(RCC->AHB3ENR, FMC_RCC_PATTERN) 1793 #define FMC_LP_ENABLE() REG_SET(RCC->AHB3LPENR, FMC_RCC_PATTERN) 1794 #define FMC_LP_DISABLE() REG_CLR(RCC->AHB3LPENR, FMC_RCC_PATTERN) 1819 #define MPU ( (reg_mpu_t *) &mpu_testing ) 1821 #define MPU ( (reg_mpu_t *) 0xe000ed90 ) 1861 #define SCB ( (reg_scb_t *) &scb_testing ) 1863 #define SCB ( (reg_scb_t *) 0xe000ed00 ) 1888 #define STK ( (reg_stk_t *) &stk_testing ) 1890 #define STK ( (reg_stk_t *) 0xe000e010 ) 1905 uint32_t RESERVED[106];
1916 #define FPU ( (reg_fpu_t *) &fpu_testing ) 1918 #define FPU ( (reg_fpu_t *) 0xe000ed88 ) 1943 #define DBG ( (reg_dbg_t *) &dbg_testing ) 1945 #define DBG ( (reg_dbg_t *) 0xe0042000 ) 1954 #define SRAM1_RCC_PATTERN ( 0x1 << 16u ) 1955 #define SRAM1_LP_ENABLE() REG_SET(RCC->AHB1LPENR, SRAM1_RCC_PATTERN) 1956 #define SRAM1_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, SRAM1_RCC_PATTERN) 1958 #define SRAM2_RCC_PATTERN ( 0x1 << 17u ) 1959 #define SRAM2_LP_ENABLE() REG_SET(RCC->AHB1LPENR, SRAM2_RCC_PATTERN) 1960 #define SRAM2_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, SRAM2_RCC_PATTERN) 1962 #define SRAM3_RCC_PATTERN ( 0x1 << 19u ) 1963 #define SRAM3_LP_ENABLE() REG_SET(RCC->AHB1LPENR, SRAM3_RCC_PATTERN) 1964 #define SRAM3_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, SRAM3_RCC_PATTERN) 1972 #define BKPSRAM_RCC_PATTERN ( 0x1 << 18u ) 1973 #define BKPSRAM_ENABLE() REG_SET(RCC->AHB3ENR, BKPSRAM_RCC_PATTERN) 1974 #define BKPSRAM_DISABLE() REG_CLR(RCC->AHB3ENR, BKPSRAM_RCC_PATTERN) 1975 #define BKPSRAM_LP_ENABLE() REG_SET(RCC->AHB1LPENR, BKPSRAM_RCC_PATTERN) 1976 #define BKPSRAM_LP_DISABLE() REG_CLR(RCC->AHB1LPENR, BKPSRAM_RCC_PATTERN) 1984 #define CCM_RCC_PATTERN ( 0x1 << 20u ) 1985 #define CCM_ENABLE() REG_SET(RCC->AHB1ENR, CCM_RCC_PATTERN) 1986 #define CCM_DISABLE() REG_CLR(RCC->AHB1ENR, CCM_RCC_PATTERN) volatile uint32_t CCR
Definition: reg_stm32f4xx.h:1299
volatile uint32_t BGPFCCR
Definition: reg_stm32f4xx.h:449
volatile uint32_t HR7
Definition: reg_stm32f4xx.h:1195
volatile uint32_t CR
Definition: reg_stm32f4xx.h:1231
volatile uint32_t MISR
Definition: reg_stm32f4xx.h:1080
volatile uint32_t FPDSCR
Definition: reg_stm32f4xx.h:1908
volatile uint32_t BKP15R
Definition: reg_stm32f4xx.h:1264
volatile uint32_t DCR
Definition: reg_stm32f4xx.h:843
volatile uint32_t CR
Definition: reg_stm32f4xx.h:127
volatile uint32_t CR
Definition: reg_stm32f4xx.h:1037
volatile uint32_t K2LR
Definition: reg_stm32f4xx.h:1085
volatile uint32_t BDCR
Definition: reg_stm32f4xx.h:70
volatile uint32_t EMR
Definition: reg_stm32f4xx.h:540
volatile uint32_t AHB2ENR
Definition: reg_stm32f4xx.h:57
volatile uint32_t CACR
Definition: reg_stm32f4xx.h:757
volatile uint32_t M0AR
Definition: reg_stm32f4xx.h:381
volatile uint32_t ESUR
Definition: reg_stm32f4xx.h:717
volatile uint32_t CCR1
Definition: reg_stm32f4xx.h:838
volatile uint32_t DLEN
Definition: reg_stm32f4xx.h:1619
volatile uint32_t RISR
Definition: reg_stm32f4xx.h:1079
volatile uint32_t DHR12L2
Definition: reg_stm32f4xx.h:669
volatile uint32_t PAR
Definition: reg_stm32f4xx.h:380
volatile uint32_t SWIER
Definition: reg_stm32f4xx.h:543
volatile uint32_t FGCOLR
Definition: reg_stm32f4xx.h:448
volatile uint32_t SMCR
Definition: reg_stm32f4xx.h:827
volatile uint32_t SR
Definition: reg_stm32f4xx.h:101
volatile uint32_t CDSR
Definition: reg_stm32f4xx.h:787
volatile uint32_t ODR
Definition: reg_stm32f4xx.h:200
volatile uint32_t SR
Definition: reg_stm32f4xx.h:711
volatile uint32_t CR1
Definition: reg_stm32f4xx.h:1447
volatile uint32_t OPTCR
Definition: reg_stm32f4xx.h:103
volatile uint32_t CTRL
Definition: reg_stm32f4xx.h:1877
volatile uint32_t BKP10R
Definition: reg_stm32f4xx.h:1259
volatile uint32_t DR
Definition: reg_stm32f4xx.h:1500
Representation of HASH register.
Definition: reg_stm32f4xx.h:1177
volatile uint32_t AHB3RSTR
Definition: reg_stm32f4xx.h:51
volatile uint32_t IABR0
Definition: reg_stm32f4xx.h:509
volatile uint32_t BPCR
Definition: reg_stm32f4xx.h:776
volatile uint32_t BKP17R
Definition: reg_stm32f4xx.h:1266
volatile uint32_t LOAD
Definition: reg_stm32f4xx.h:1878
volatile uint32_t CLRFR
Definition: reg_stm32f4xx.h:1453
volatile uint32_t PLLI2SCFGR
Definition: reg_stm32f4xx.h:74
volatile uint32_t DHR12RD
Definition: reg_stm32f4xx.h:671
volatile uint32_t SR
Definition: reg_stm32f4xx.h:829
volatile uint32_t TYPER
Definition: reg_stm32f4xx.h:1807
volatile uint32_t CLKCR
Definition: reg_stm32f4xx.h:1610
Representation of DMA stream register.
Definition: reg_stm32f4xx.h:377
volatile uint32_t CCR
Definition: reg_stm32f4xx.h:1840
volatile uint32_t PR
Definition: reg_stm32f4xx.h:1011
volatile uint32_t SR
Definition: reg_stm32f4xx.h:1452
volatile uint32_t BFAR
Definition: reg_stm32f4xx.h:1852
volatile uint32_t SHIFTR
Definition: reg_stm32f4xx.h:1240
volatile uint32_t CALIB
Definition: reg_stm32f4xx.h:1880
Representation of FPU register.
Definition: reg_stm32f4xx.h:1903
volatile uint32_t FM1R
Definition: reg_stm32f4xx.h:1696
volatile uint32_t CR
Definition: reg_stm32f4xx.h:161
volatile uint32_t OTYPER
Definition: reg_stm32f4xx.h:196
volatile uint32_t ACR
Definition: reg_stm32f4xx.h:98
volatile uint32_t RXCRCR
Definition: reg_stm32f4xx.h:1360
volatile uint32_t DR
Definition: reg_stm32f4xx.h:125
volatile uint32_t LWR
Definition: reg_stm32f4xx.h:458
volatile uint32_t CTRL
Definition: reg_stm32f4xx.h:1808
volatile uint32_t BKP16R
Definition: reg_stm32f4xx.h:1265
volatile uint32_t IDCODE
Definition: reg_stm32f4xx.h:1932
volatile uint32_t BKP19R
Definition: reg_stm32f4xx.h:1268
volatile uint32_t TDT2R
Definition: reg_stm32f4xx.h:1680
volatile uint32_t EXTICR2
Definition: reg_stm32f4xx.h:342
volatile uint32_t APB1RSTR
Definition: reg_stm32f4xx.h:53
volatile uint32_t TDL1R
Definition: reg_stm32f4xx.h:1677
volatile uint32_t IMR
Definition: reg_stm32f4xx.h:1183
volatile uint32_t RDT0R
Definition: reg_stm32f4xx.h:1685
volatile uint32_t EGR
Definition: reg_stm32f4xx.h:830
volatile uint32_t SR
Definition: reg_stm32f4xx.h:676
volatile uint32_t DHR12R2
Definition: reg_stm32f4xx.h:668
volatile uint32_t ICPR1
Definition: reg_stm32f4xx.h:506
volatile uint32_t SR
Definition: reg_stm32f4xx.h:1499
volatile uint32_t SRCR
Definition: reg_stm32f4xx.h:780
volatile uint32_t HR0
Definition: reg_stm32f4xx.h:1188
volatile uint32_t FGOR
Definition: reg_stm32f4xx.h:444
volatile uint32_t CR1
Definition: reg_stm32f4xx.h:825
volatile uint32_t HR4
Definition: reg_stm32f4xx.h:1192
volatile uint32_t EXTICR1
Definition: reg_stm32f4xx.h:341
volatile uint32_t CKCR
Definition: reg_stm32f4xx.h:755
volatile uint32_t APB2_FZ
Definition: reg_stm32f4xx.h:1935
volatile uint32_t DCOUNT
Definition: reg_stm32f4xx.h:1621
volatile uint32_t TI1R
Definition: reg_stm32f4xx.h:1674
volatile uint32_t OSPEEDR
Definition: reg_stm32f4xx.h:197
volatile uint32_t IER
Definition: reg_stm32f4xx.h:1665
volatile uint32_t AHB1ENR
Definition: reg_stm32f4xx.h:56
Representation of DMA2D register.
Definition: reg_stm32f4xx.h:439
volatile uint32_t PUPDR
Definition: reg_stm32f4xx.h:198
volatile uint32_t LTR
Definition: reg_stm32f4xx.h:578
volatile uint32_t CR2
Definition: reg_stm32f4xx.h:1356
volatile uint32_t DR
Definition: reg_stm32f4xx.h:1454
volatile uint32_t APB2LPENR
Definition: reg_stm32f4xx.h:68
volatile uint32_t CWSTRT
Definition: reg_stm32f4xx.h:718
volatile uint32_t OPTKEYR
Definition: reg_stm32f4xx.h:100
Universal sync./async. receiver transmiter register.
Definition: reg_stm32f4xx.h:1498
volatile uint32_t K0LR
Definition: reg_stm32f4xx.h:1081
volatile uint32_t FIFO
Definition: reg_stm32f4xx.h:1627
volatile uint32_t JOFR2
Definition: reg_stm32f4xx.h:574
Representation of SRAM register (Bank 1).
Definition: reg_stm32f4xx.h:1746
volatile uint32_t CSGCM6R
Definition: reg_stm32f4xx.h:1107
volatile uint32_t HISR
Definition: reg_stm32f4xx.h:395
volatile uint32_t TDH2R
Definition: reg_stm32f4xx.h:1683
volatile uint32_t PLLSAICFGR
Definition: reg_stm32f4xx.h:75
Representation of EXTI register.
Definition: reg_stm32f4xx.h:538
volatile uint32_t BGCOLR
Definition: reg_stm32f4xx.h:450
Serial audio interface register.
Definition: reg_stm32f4xx.h:1464
volatile uint32_t K3RR
Definition: reg_stm32f4xx.h:1088
volatile uint32_t CSGCM2R
Definition: reg_stm32f4xx.h:1103
volatile uint32_t SHCSR
Definition: reg_stm32f4xx.h:1844
volatile reg_sai_block_t BLOCK1
Definition: reg_stm32f4xx.h:1465
volatile uint32_t IV1RR
Definition: reg_stm32f4xx.h:1092
volatile uint32_t DMAR
Definition: reg_stm32f4xx.h:844
volatile uint32_t BTR4
Definition: reg_stm32f4xx.h:1754
volatile uint32_t CSR
Definition: reg_stm32f4xx.h:71
volatile uint32_t CR
Definition: reg_stm32f4xx.h:752
volatile uint32_t ICPR0
Definition: reg_stm32f4xx.h:505
volatile uint32_t RIS
Definition: reg_stm32f4xx.h:712
volatile uint32_t CWSIZE
Definition: reg_stm32f4xx.h:719
volatile uint32_t TDL2R
Definition: reg_stm32f4xx.h:1682
Representation of RCC register.
Definition: reg_stm32f4xx.h:44
volatile uint32_t CR2
Definition: reg_stm32f4xx.h:1293
volatile uint32_t CSGCMCCM1R
Definition: reg_stm32f4xx.h:1094
volatile uint32_t IER
Definition: reg_stm32f4xx.h:713
volatile uint32_t CR
Definition: reg_stm32f4xx.h:102
volatile uint32_t CR
Definition: reg_stm32f4xx.h:710
Representation of SPI register.
Definition: reg_stm32f4xx.h:1354
volatile uint32_t BCCR
Definition: reg_stm32f4xx.h:781
volatile uint32_t DR
Definition: reg_stm32f4xx.h:1230
volatile uint32_t ICPR2
Definition: reg_stm32f4xx.h:507
Representation of Timer register.
Definition: reg_stm32f4xx.h:824
volatile uint32_t DHR8RD
Definition: reg_stm32f4xx.h:673
volatile uint32_t CR1
Definition: reg_stm32f4xx.h:1502
volatile uint32_t SCR
Definition: reg_stm32f4xx.h:1839
volatile uint32_t RF1R
Definition: reg_stm32f4xx.h:1664
volatile uint32_t CCR3
Definition: reg_stm32f4xx.h:840
volatile uint32_t JOFR4
Definition: reg_stm32f4xx.h:576
volatile uint32_t CCMR1
Definition: reg_stm32f4xx.h:831
volatile uint32_t STR
Definition: reg_stm32f4xx.h:1180
volatile uint32_t DR
Definition: reg_stm32f4xx.h:1296
volatile uint32_t BCR4
Definition: reg_stm32f4xx.h:1753
volatile uint32_t IMR
Definition: reg_stm32f4xx.h:539
volatile uint32_t RTSR
Definition: reg_stm32f4xx.h:541
volatile uint32_t AHB1LPENR
Definition: reg_stm32f4xx.h:63
volatile uint32_t SR1
Definition: reg_stm32f4xx.h:1297
volatile uint32_t MMAR
Definition: reg_stm32f4xx.h:1851
volatile uint32_t ICER2
Definition: reg_stm32f4xx.h:499
volatile uint32_t RDL1R
Definition: reg_stm32f4xx.h:1692
volatile uint32_t APB2RSTR
Definition: reg_stm32f4xx.h:54
volatile uint32_t ALRMAR
Definition: reg_stm32f4xx.h:1236
uint32_t RESERVED5
Definition: reg_stm32f4xx.h:1701
volatile uint32_t CR1
Definition: reg_stm32f4xx.h:1292
volatile uint32_t JOFR3
Definition: reg_stm32f4xx.h:575
volatile uint32_t CIR
Definition: reg_stm32f4xx.h:48
volatile uint32_t AHB2LPENR
Definition: reg_stm32f4xx.h:64
volatile uint32_t HR3
Definition: reg_stm32f4xx.h:1191
volatile uint32_t RLR
Definition: reg_stm32f4xx.h:1012
volatile uint32_t DMACR
Definition: reg_stm32f4xx.h:1077
volatile uint32_t BWTR2
Definition: reg_stm32f4xx.h:1758
volatile uint32_t SHPR2
Definition: reg_stm32f4xx.h:1842
Representation of DCMI register.
Definition: reg_stm32f4xx.h:709
volatile uint32_t SLOTR
Definition: reg_stm32f4xx.h:1450
volatile uint32_t TAFCR
Definition: reg_stm32f4xx.h:1245
volatile uint32_t SSR
Definition: reg_stm32f4xx.h:1239
Representation of FLASH register.
Definition: reg_stm32f4xx.h:97
volatile uint32_t ISPR2
Definition: reg_stm32f4xx.h:503
volatile uint32_t DHR12R1
Definition: reg_stm32f4xx.h:665
volatile uint32_t CRCPR
Definition: reg_stm32f4xx.h:1359
volatile uint32_t JDR4
Definition: reg_stm32f4xx.h:586
volatile uint32_t PFCR
Definition: reg_stm32f4xx.h:756
volatile uint32_t MEMRMP
Definition: reg_stm32f4xx.h:339
volatile uint32_t KEYR
Definition: reg_stm32f4xx.h:99
volatile uint32_t POWER
Definition: reg_stm32f4xx.h:1609
volatile uint32_t CSGCMCCM4R
Definition: reg_stm32f4xx.h:1097
volatile uint32_t DHR8R1
Definition: reg_stm32f4xx.h:667
volatile uint32_t DOR1
Definition: reg_stm32f4xx.h:674
volatile uint32_t CR
Definition: reg_stm32f4xx.h:663
volatile uint32_t JDR3
Definition: reg_stm32f4xx.h:585
volatile uint32_t RESP1
Definition: reg_stm32f4xx.h:1614
volatile uint32_t OAR1
Definition: reg_stm32f4xx.h:1294
volatile uint32_t DR
Definition: reg_stm32f4xx.h:1144
volatile uint32_t ICR
Definition: reg_stm32f4xx.h:715
volatile uint32_t CR
Definition: reg_stm32f4xx.h:440
Representation of STK register.
Definition: reg_stm32f4xx.h:1876
uint32_t RESERVED3
Definition: reg_stm32f4xx.h:1697
volatile uint32_t AFRH
Definition: reg_stm32f4xx.h:204
volatile uint32_t CNT
Definition: reg_stm32f4xx.h:834
volatile uint32_t ICER1
Definition: reg_stm32f4xx.h:498
volatile uint32_t SR
Definition: reg_stm32f4xx.h:1357
volatile uint32_t HR2
Definition: reg_stm32f4xx.h:1190
volatile uint32_t HFSR
Definition: reg_stm32f4xx.h:1849
volatile uint32_t AHB3ENR
Definition: reg_stm32f4xx.h:58
volatile reg_sai_block_t BLOCK2
Definition: reg_stm32f4xx.h:1466
volatile uint32_t DOR2
Definition: reg_stm32f4xx.h:675
volatile uint32_t KR
Definition: reg_stm32f4xx.h:1010
volatile uint32_t DTIMER
Definition: reg_stm32f4xx.h:1618
volatile uint32_t CR
Definition: reg_stm32f4xx.h:1142
Representation of ADC register.
Definition: reg_stm32f4xx.h:567
volatile uint32_t ARG
Definition: reg_stm32f4xx.h:1611
volatile uint32_t CR2
Definition: reg_stm32f4xx.h:826
volatile uint32_t JDR2
Definition: reg_stm32f4xx.h:584
volatile uint32_t DCTRL
Definition: reg_stm32f4xx.h:1620
volatile uint32_t CSGCM0R
Definition: reg_stm32f4xx.h:1101
volatile uint32_t AMTCR
Definition: reg_stm32f4xx.h:459
volatile uint32_t JSQR
Definition: reg_stm32f4xx.h:582
volatile uint32_t CR
Definition: reg_stm32f4xx.h:1178
volatile uint32_t SR
Definition: reg_stm32f4xx.h:1039
volatile uint32_t CSGCMCCM7R
Definition: reg_stm32f4xx.h:1100
volatile uint32_t M1AR
Definition: reg_stm32f4xx.h:382
volatile uint32_t BKP18R
Definition: reg_stm32f4xx.h:1267
volatile uint32_t CFR
Definition: reg_stm32f4xx.h:1038
volatile uint32_t BTR1
Definition: reg_stm32f4xx.h:1748
volatile uint32_t ICR
Definition: reg_stm32f4xx.h:784
volatile uint32_t BKP11R
Definition: reg_stm32f4xx.h:1260
volatile uint32_t DIN
Definition: reg_stm32f4xx.h:1179
volatile uint32_t BRR
Definition: reg_stm32f4xx.h:1501
volatile uint32_t OCOLR
Definition: reg_stm32f4xx.h:454
volatile uint32_t FIFOCNT
Definition: reg_stm32f4xx.h:1626
volatile uint32_t DHR12L1
Definition: reg_stm32f4xx.h:666
reg_fmc_sram_t SRAM
Definition: reg_stm32f4xx.h:1773
volatile uint32_t LCKR
Definition: reg_stm32f4xx.h:202
volatile uint32_t BKP2R
Definition: reg_stm32f4xx.h:1251
volatile uint32_t TR
Definition: reg_stm32f4xx.h:1229
volatile uint32_t ALRMBSSR
Definition: reg_stm32f4xx.h:1247
volatile uint32_t CR
Definition: reg_stm32f4xx.h:45
volatile uint32_t SQR2
Definition: reg_stm32f4xx.h:580
volatile uint32_t DIN
Definition: reg_stm32f4xx.h:1075
volatile uint32_t HR5
Definition: reg_stm32f4xx.h:1193
volatile uint32_t DHR12LD
Definition: reg_stm32f4xx.h:672
volatile uint32_t BGCMAR
Definition: reg_stm32f4xx.h:452
volatile uint32_t CALR
Definition: reg_stm32f4xx.h:1244
volatile uint32_t HR1
Definition: reg_stm32f4xx.h:1189
volatile uint32_t HTR
Definition: reg_stm32f4xx.h:577
volatile uint32_t TDL0R
Definition: reg_stm32f4xx.h:1672
Representation of LTDC layer control register.
Definition: reg_stm32f4xx.h:751
volatile uint32_t FGCMAR
Definition: reg_stm32f4xx.h:451
volatile uint32_t IV0RR
Definition: reg_stm32f4xx.h:1090
volatile uint32_t CSGCM3R
Definition: reg_stm32f4xx.h:1104
volatile uint32_t IABR1
Definition: reg_stm32f4xx.h:510
volatile uint32_t APB1_FZ
Definition: reg_stm32f4xx.h:1934
volatile uint32_t APB1ENR
Definition: reg_stm32f4xx.h:60
volatile uint32_t BKP13R
Definition: reg_stm32f4xx.h:1262
volatile uint32_t RDL0R
Definition: reg_stm32f4xx.h:1687
volatile uint32_t BGOR
Definition: reg_stm32f4xx.h:446
Representation of SYSCFG register.
Definition: reg_stm32f4xx.h:338
volatile uint32_t JDR1
Definition: reg_stm32f4xx.h:583
volatile uint32_t TRISE
Definition: reg_stm32f4xx.h:1300
volatile uint32_t BTR3
Definition: reg_stm32f4xx.h:1752
volatile uint32_t TSDR
Definition: reg_stm32f4xx.h:1242
volatile uint32_t BFCR
Definition: reg_stm32f4xx.h:759
Representation of CRC register.
Definition: reg_stm32f4xx.h:124
volatile uint32_t TDH1R
Definition: reg_stm32f4xx.h:1678
volatile uint32_t CR3
Definition: reg_stm32f4xx.h:1504
volatile uint32_t DR
Definition: reg_stm32f4xx.h:1358
volatile uint32_t CPSR
Definition: reg_stm32f4xx.h:786
volatile uint32_t PMC
Definition: reg_stm32f4xx.h:340
volatile uint32_t TDH0R
Definition: reg_stm32f4xx.h:1673
volatile uint32_t CDR
Definition: reg_stm32f4xx.h:639
volatile uint32_t SSCGR
Definition: reg_stm32f4xx.h:73
volatile uint32_t SSCR
Definition: reg_stm32f4xx.h:775
volatile uint32_t PSC
Definition: reg_stm32f4xx.h:835
volatile uint32_t ESCR
Definition: reg_stm32f4xx.h:716
volatile uint32_t FPCCR
Definition: reg_stm32f4xx.h:1906
Definition: reg_stm32f4xx.h:1036
volatile uint32_t TDT1R
Definition: reg_stm32f4xx.h:1675
volatile uint32_t AHB1RSTR
Definition: reg_stm32f4xx.h:49
volatile uint32_t CSR
Definition: reg_stm32f4xx.h:162
volatile uint32_t APB2ENR
Definition: reg_stm32f4xx.h:61
volatile uint32_t OPFCCR
Definition: reg_stm32f4xx.h:453
volatile uint32_t HR6
Definition: reg_stm32f4xx.h:1194
volatile uint32_t ICR
Definition: reg_stm32f4xx.h:1623
Representation of DAC register.
Definition: reg_stm32f4xx.h:662
volatile uint32_t LISR
Definition: reg_stm32f4xx.h:394
volatile uint32_t RESP2
Definition: reg_stm32f4xx.h:1615
volatile uint32_t EXTICR3
Definition: reg_stm32f4xx.h:343
volatile uint32_t SMPR2
Definition: reg_stm32f4xx.h:572
volatile uint32_t TSR
Definition: reg_stm32f4xx.h:1662
volatile uint32_t IDR
Definition: reg_stm32f4xx.h:199
volatile uint32_t ICSR
Definition: reg_stm32f4xx.h:1836
Serial audio interface subblock register.
Definition: reg_stm32f4xx.h:1446
volatile uint32_t BKP12R
Definition: reg_stm32f4xx.h:1261
volatile uint32_t RNR
Definition: reg_stm32f4xx.h:1809
volatile uint32_t CR2
Definition: reg_stm32f4xx.h:570
volatile uint32_t CLUTWR
Definition: reg_stm32f4xx.h:763
volatile uint32_t VAL
Definition: reg_stm32f4xx.h:1879
volatile uint32_t HIFCR
Definition: reg_stm32f4xx.h:397
volatile uint32_t K0RR
Definition: reg_stm32f4xx.h:1082
volatile uint32_t CFBLR
Definition: reg_stm32f4xx.h:761
volatile uint32_t CSGCMCCM3R
Definition: reg_stm32f4xx.h:1096
volatile uint32_t RF0R
Definition: reg_stm32f4xx.h:1663
volatile uint32_t FCR
Definition: reg_stm32f4xx.h:383
volatile uint32_t BKP6R
Definition: reg_stm32f4xx.h:1255
volatile uint32_t IM
Definition: reg_stm32f4xx.h:1451
volatile uint32_t BWTR1
Definition: reg_stm32f4xx.h:1756
volatile uint32_t BKP4R
Definition: reg_stm32f4xx.h:1253
Representation of I2C register.
Definition: reg_stm32f4xx.h:1291
volatile uint32_t K1RR
Definition: reg_stm32f4xx.h:1084
volatile uint32_t CSGCM1R
Definition: reg_stm32f4xx.h:1102
Representation of DBG register.
Definition: reg_stm32f4xx.h:1931
volatile uint32_t RI1R
Definition: reg_stm32f4xx.h:1689
volatile uint32_t CR
Definition: reg_stm32f4xx.h:1073
volatile uint32_t DCCR
Definition: reg_stm32f4xx.h:758
reg_ltdc_lc_t LAYER2
Definition: reg_stm32f4xx.h:791
volatile uint32_t AIRCR
Definition: reg_stm32f4xx.h:1838
volatile uint32_t TSSSR
Definition: reg_stm32f4xx.h:1243
volatile uint32_t RDH0R
Definition: reg_stm32f4xx.h:1688
volatile uint32_t CCR4
Definition: reg_stm32f4xx.h:841
volatile uint32_t SHPR1
Definition: reg_stm32f4xx.h:1841
volatile uint32_t APB1LPENR
Definition: reg_stm32f4xx.h:67
Representation of IWDG register.
Definition: reg_stm32f4xx.h:1009
volatile uint32_t ISR
Definition: reg_stm32f4xx.h:1232
volatile uint32_t FGPFCCR
Definition: reg_stm32f4xx.h:447
Representation of SCB register.
Definition: reg_stm32f4xx.h:1834
volatile uint32_t IABR2
Definition: reg_stm32f4xx.h:511
volatile uint32_t IMSCR
Definition: reg_stm32f4xx.h:1078
volatile uint32_t MODER
Definition: reg_stm32f4xx.h:195
volatile uint32_t ISER1
Definition: reg_stm32f4xx.h:494
volatile uint32_t BKP8R
Definition: reg_stm32f4xx.h:1257
volatile uint32_t TI2R
Definition: reg_stm32f4xx.h:1679
volatile uint32_t FGMAR
Definition: reg_stm32f4xx.h:443
volatile uint32_t CFBLNR
Definition: reg_stm32f4xx.h:762
volatile uint32_t NLR
Definition: reg_stm32f4xx.h:457
volatile uint32_t CMPCR
Definition: reg_stm32f4xx.h:346
volatile uint32_t IER
Definition: reg_stm32f4xx.h:782
volatile uint32_t SR2
Definition: reg_stm32f4xx.h:1298
volatile uint32_t SR
Definition: reg_stm32f4xx.h:1143
volatile uint32_t CR1
Definition: reg_stm32f4xx.h:1355
volatile uint32_t AWCR
Definition: reg_stm32f4xx.h:777
volatile uint32_t CFBAR
Definition: reg_stm32f4xx.h:760
volatile uint32_t CR2
Definition: reg_stm32f4xx.h:1448
volatile uint32_t BKP7R
Definition: reg_stm32f4xx.h:1256
volatile uint32_t TXCRCR
Definition: reg_stm32f4xx.h:1361
reg_ltdc_lc_t LAYER1
Definition: reg_stm32f4xx.h:789
volatile uint32_t CSGCMCCM0R
Definition: reg_stm32f4xx.h:1093
volatile uint32_t ISER0
Definition: reg_stm32f4xx.h:493
volatile uint32_t RBAR
Definition: reg_stm32f4xx.h:1810
volatile uint32_t GCR
Definition: reg_stm32f4xx.h:779
volatile uint32_t CFGR
Definition: reg_stm32f4xx.h:47
volatile uint32_t CPACR
Definition: reg_stm32f4xx.h:1904
volatile uint32_t K2RR
Definition: reg_stm32f4xx.h:1086
volatile uint32_t SHPR3
Definition: reg_stm32f4xx.h:1843
volatile uint32_t OPTCR1
Definition: reg_stm32f4xx.h:104
volatile uint32_t CSR
Definition: reg_stm32f4xx.h:637
volatile uint32_t DCKCFGR
Definition: reg_stm32f4xx.h:76
volatile uint32_t CCMR2
Definition: reg_stm32f4xx.h:832
volatile uint32_t SQR1
Definition: reg_stm32f4xx.h:579
volatile uint32_t BTR
Definition: reg_stm32f4xx.h:1667
volatile uint32_t CR
Definition: reg_stm32f4xx.h:1933
volatile uint32_t SR
Definition: reg_stm32f4xx.h:1013
volatile uint32_t CFSR
Definition: reg_stm32f4xx.h:1845
Representation of ADC common register.
Definition: reg_stm32f4xx.h:636
volatile uint32_t JOFR1
Definition: reg_stm32f4xx.h:573
volatile uint32_t BKP3R
Definition: reg_stm32f4xx.h:1252
volatile uint32_t SMPR1
Definition: reg_stm32f4xx.h:571
volatile uint32_t RESP3
Definition: reg_stm32f4xx.h:1616
Representation of SDIO register.
Definition: reg_stm32f4xx.h:1608
volatile uint32_t AHB2RSTR
Definition: reg_stm32f4xx.h:50
volatile uint32_t BSRR
Definition: reg_stm32f4xx.h:201
volatile uint32_t IV0LR
Definition: reg_stm32f4xx.h:1089
volatile uint32_t WUTR
Definition: reg_stm32f4xx.h:1234
volatile uint32_t BCR2
Definition: reg_stm32f4xx.h:1749
volatile uint32_t RESPCMD
Definition: reg_stm32f4xx.h:1613
volatile uint32_t CCER
Definition: reg_stm32f4xx.h:833
volatile uint32_t MIS
Definition: reg_stm32f4xx.h:714
Representation of FMC register.
Definition: reg_stm32f4xx.h:1772
volatile uint32_t WPR
Definition: reg_stm32f4xx.h:1238
volatile uint32_t GPTR
Definition: reg_stm32f4xx.h:1505
volatile uint32_t RASR
Definition: reg_stm32f4xx.h:1811
volatile uint32_t PLLCFGR
Definition: reg_stm32f4xx.h:46
volatile uint32_t SWTRIGR
Definition: reg_stm32f4xx.h:664
Representation of CRYP register.
Definition: reg_stm32f4xx.h:1072
volatile uint32_t CSGCM7R
Definition: reg_stm32f4xx.h:1108
volatile uint32_t ICER0
Definition: reg_stm32f4xx.h:497
volatile uint32_t RDT1R
Definition: reg_stm32f4xx.h:1690
volatile uint32_t CSGCM4R
Definition: reg_stm32f4xx.h:1105
volatile uint32_t AHB3LPENR
Definition: reg_stm32f4xx.h:65
volatile uint32_t CMD
Definition: reg_stm32f4xx.h:1612
volatile uint32_t CR2
Definition: reg_stm32f4xx.h:1503
volatile uint32_t PRER
Definition: reg_stm32f4xx.h:1233
volatile uint32_t RCR
Definition: reg_stm32f4xx.h:837
volatile uint32_t CSGCMCCM5R
Definition: reg_stm32f4xx.h:1098
Representation of LTDC register.
Definition: reg_stm32f4xx.h:773
volatile uint32_t OOR
Definition: reg_stm32f4xx.h:456
volatile uint32_t ESR
Definition: reg_stm32f4xx.h:1666
volatile uint32_t DIER
Definition: reg_stm32f4xx.h:828
volatile uint32_t BKP1R
Definition: reg_stm32f4xx.h:1250
volatile uint32_t AFRL
Definition: reg_stm32f4xx.h:203
volatile uint32_t IFCR
Definition: reg_stm32f4xx.h:442
Representation of CAN register.
Definition: reg_stm32f4xx.h:1659
volatile uint32_t LIFCR
Definition: reg_stm32f4xx.h:396
volatile uint32_t BWTR3
Definition: reg_stm32f4xx.h:1760
volatile uint32_t BKP9R
Definition: reg_stm32f4xx.h:1258
volatile uint32_t BCR1
Definition: reg_stm32f4xx.h:1747
volatile uint32_t SR
Definition: reg_stm32f4xx.h:1184
volatile uint32_t IV1LR
Definition: reg_stm32f4xx.h:1091
volatile uint32_t FPCAR
Definition: reg_stm32f4xx.h:1907
volatile uint32_t STA
Definition: reg_stm32f4xx.h:1622
volatile uint32_t CCR2
Definition: reg_stm32f4xx.h:839
Representation of GPIO register.
Definition: reg_stm32f4xx.h:194
volatile uint32_t CALIBR
Definition: reg_stm32f4xx.h:1235
volatile uint32_t K3LR
Definition: reg_stm32f4xx.h:1087
volatile uint32_t AFSR
Definition: reg_stm32f4xx.h:1853
volatile uint32_t BWTR4
Definition: reg_stm32f4xx.h:1762
volatile uint32_t DR
Definition: reg_stm32f4xx.h:720
volatile uint32_t VTOR
Definition: reg_stm32f4xx.h:1837
Representation of RNG register.
Definition: reg_stm32f4xx.h:1141
volatile uint32_t CSGCMCCM2R
Definition: reg_stm32f4xx.h:1095
volatile uint32_t CR1
Definition: reg_stm32f4xx.h:569
volatile uint32_t BDTR
Definition: reg_stm32f4xx.h:842
volatile uint32_t FTSR
Definition: reg_stm32f4xx.h:542
volatile uint32_t SR
Definition: reg_stm32f4xx.h:568
volatile uint32_t BKP5R
Definition: reg_stm32f4xx.h:1254
volatile uint32_t CR
Definition: reg_stm32f4xx.h:378
volatile uint32_t ISPR0
Definition: reg_stm32f4xx.h:501
volatile uint32_t BKP14R
Definition: reg_stm32f4xx.h:1263
volatile uint32_t IDR
Definition: reg_stm32f4xx.h:126
volatile uint32_t CCR
Definition: reg_stm32f4xx.h:638
volatile uint32_t CPUID
Definition: reg_stm32f4xx.h:1835
volatile uint32_t BGMAR
Definition: reg_stm32f4xx.h:445
volatile uint32_t CSGCM5R
Definition: reg_stm32f4xx.h:1106
volatile uint32_t I2SPR
Definition: reg_stm32f4xx.h:1363
volatile uint32_t WVPCR
Definition: reg_stm32f4xx.h:754
volatile uint32_t BTR2
Definition: reg_stm32f4xx.h:1750
volatile uint32_t ISR
Definition: reg_stm32f4xx.h:783
volatile uint32_t OAR2
Definition: reg_stm32f4xx.h:1295
volatile uint32_t MASK
Definition: reg_stm32f4xx.h:1624
volatile uint32_t DR
Definition: reg_stm32f4xx.h:587
volatile uint32_t DOUT
Definition: reg_stm32f4xx.h:1076
volatile uint32_t RESP4
Definition: reg_stm32f4xx.h:1617
volatile uint32_t OMAR
Definition: reg_stm32f4xx.h:455
volatile uint32_t NDTR
Definition: reg_stm32f4xx.h:379
volatile uint32_t ALRMBR
Definition: reg_stm32f4xx.h:1237
volatile uint32_t PR
Definition: reg_stm32f4xx.h:544
volatile uint32_t FLTR
Definition: reg_stm32f4xx.h:1301
volatile uint32_t DHR8R2
Definition: reg_stm32f4xx.h:670
volatile uint32_t FRCR
Definition: reg_stm32f4xx.h:1449
volatile uint32_t LIPCR
Definition: reg_stm32f4xx.h:785
volatile uint32_t TDT0R
Definition: reg_stm32f4xx.h:1670
volatile uint32_t SR
Definition: reg_stm32f4xx.h:1074
volatile uint32_t TSTR
Definition: reg_stm32f4xx.h:1241
volatile uint32_t ISER2
Definition: reg_stm32f4xx.h:495
volatile uint32_t RDH1R
Definition: reg_stm32f4xx.h:1693
volatile uint32_t ALRMASSR
Definition: reg_stm32f4xx.h:1246
Representation of MPU register.
Definition: reg_stm32f4xx.h:1806
volatile uint32_t TWCR
Definition: reg_stm32f4xx.h:778
Representation of RTC register.
Definition: reg_stm32f4xx.h:1228
volatile uint32_t ISR
Definition: reg_stm32f4xx.h:441
volatile uint32_t OR
Definition: reg_stm32f4xx.h:845
volatile uint32_t I2SCFGR
Definition: reg_stm32f4xx.h:1362
Representation of DMA register.
Definition: reg_stm32f4xx.h:393
volatile uint32_t K1LR
Definition: reg_stm32f4xx.h:1083
volatile uint32_t SQR3
Definition: reg_stm32f4xx.h:581
uint32_t RESERVED4
Definition: reg_stm32f4xx.h:1699
volatile uint32_t WHPCR
Definition: reg_stm32f4xx.h:753
volatile uint32_t RI0R
Definition: reg_stm32f4xx.h:1684
volatile uint32_t EXTICR4
Definition: reg_stm32f4xx.h:344
volatile uint32_t ISPR1
Definition: reg_stm32f4xx.h:502
volatile uint32_t CSGCMCCM6R
Definition: reg_stm32f4xx.h:1099
Representation of NVIC register.
Definition: reg_stm32f4xx.h:492
volatile uint32_t ARR
Definition: reg_stm32f4xx.h:836
volatile uint32_t STIR
Definition: reg_stm32f4xx.h:516
Representation of PWR register.
Definition: reg_stm32f4xx.h:160
volatile uint32_t BKP0R
Definition: reg_stm32f4xx.h:1249
volatile uint32_t BCR3
Definition: reg_stm32f4xx.h:1751
volatile uint32_t MSR
Definition: reg_stm32f4xx.h:1661