![]() |
Mini51 BSP
V3.02.002
The Board Support Package for Mini51 Series
|
Macros | |
| #define | FLASH_BASE ((uint32_t)0x00000000) |
| Flash base address. More... | |
| #define | SRAM_BASE ((uint32_t)0x20000000) |
| SRAM base address. More... | |
| #define | APB1PERIPH_BASE ((uint32_t)0x40000000) |
| APB1 base address. More... | |
| #define | APB2PERIPH_BASE ((uint32_t)0x40100000) |
| APB2 base address. More... | |
| #define | AHBPERIPH_BASE ((uint32_t)0x50000000) |
| AHB base address. More... | |
| #define | WDT_BASE (APB1PERIPH_BASE + 0x04000) |
| WDT register base address. More... | |
| #define | TIMER0_BASE (APB1PERIPH_BASE + 0x10000) |
| TIMER0 register base address. More... | |
| #define | TIMER1_BASE (APB1PERIPH_BASE + 0x10020) |
| TIMER1 register base address. More... | |
| #define | I2C_BASE (APB1PERIPH_BASE + 0x20000) |
| I2C register base address. More... | |
| #define | SPI_BASE (APB1PERIPH_BASE + 0x30000) |
| SPI register base address. More... | |
| #define | PWM_BASE (APB1PERIPH_BASE + 0x40000) |
| PWM register base address. More... | |
| #define | UART_BASE (APB1PERIPH_BASE + 0x50000) |
| UART register base address. More... | |
| #define | ACMP_BASE (APB1PERIPH_BASE + 0xD0000) |
| ACMP register base address. More... | |
| #define | ADC_BASE (APB1PERIPH_BASE + 0xE0000) |
| ADC register base address. More... | |
| #define | GCR_BASE (AHBPERIPH_BASE + 0x00000) |
| GCR register base address. More... | |
| #define | CLK_BASE (AHBPERIPH_BASE + 0x00200) |
| CLK register base address. More... | |
| #define | INT_BASE (AHBPERIPH_BASE + 0x00300) |
| INT register base address. More... | |
| #define | P0_BASE (AHBPERIPH_BASE + 0x04000) |
| GPIO Port 0 register base address. More... | |
| #define | P1_BASE (AHBPERIPH_BASE + 0x04040) |
| GPIO Port 1 register base address. More... | |
| #define | P2_BASE (AHBPERIPH_BASE + 0x04080) |
| GPIO Port 2 register base address. More... | |
| #define | P3_BASE (AHBPERIPH_BASE + 0x040C0) |
| GPIO Port 3 register base address. More... | |
| #define | P4_BASE (AHBPERIPH_BASE + 0x04100) |
| GPIO Port 4 register base address. More... | |
| #define | P5_BASE (AHBPERIPH_BASE + 0x04140) |
| GPIO Port 5 register base address. More... | |
| #define | GPIO_DBNCECON_BASE (AHBPERIPH_BASE + 0x04180) |
| GPIO De-bounce register vase. More... | |
| #define | GPIO_PIN_DATA_BASE (AHBPERIPH_BASE + 0x04200) |
| GPIO pin data register base address. More... | |
| #define | GPIOBIT0_BASE (AHBPERIPH_BASE + 0x04200) |
| GPIO Port 0 bit access register base address. More... | |
| #define | GPIOBIT1_BASE (AHBPERIPH_BASE + 0x04220) |
| GPIO Port 1 bit access register base address. More... | |
| #define | GPIOBIT2_BASE (AHBPERIPH_BASE + 0x04240) |
| GPIO Port 2 bit access register base address. More... | |
| #define | GPIOBIT3_BASE (AHBPERIPH_BASE + 0x04260) |
| GPIO Port 3 bit access register base address. More... | |
| #define | GPIOBIT4_BASE (AHBPERIPH_BASE + 0x04280) |
| GPIO Port 4 bit access register base address. More... | |
| #define | GPIOBIT5_BASE (AHBPERIPH_BASE + 0x042A0) |
| GPIO Port 5 bit access register base address. More... | |
| #define | FMC_BASE (AHBPERIPH_BASE + 0x0C000) |
| FMC register base address. More... | |
Memory Mapped Structure for MINI51 Series Peripheral
| #define ACMP_BASE (APB1PERIPH_BASE + 0xD0000) |
ACMP register base address.
Definition at line 9894 of file Mini51Series.h.
| #define ADC_BASE (APB1PERIPH_BASE + 0xE0000) |
ADC register base address.
Definition at line 9895 of file Mini51Series.h.
| #define AHBPERIPH_BASE ((uint32_t)0x50000000) |
AHB base address.
Definition at line 9884 of file Mini51Series.h.
| #define APB1PERIPH_BASE ((uint32_t)0x40000000) |
APB1 base address.
Definition at line 9882 of file Mini51Series.h.
| #define APB2PERIPH_BASE ((uint32_t)0x40100000) |
APB2 base address.
Definition at line 9883 of file Mini51Series.h.
| #define CLK_BASE (AHBPERIPH_BASE + 0x00200) |
CLK register base address.
Definition at line 9898 of file Mini51Series.h.
| #define FLASH_BASE ((uint32_t)0x00000000) |
Flash base address.
Definition at line 9880 of file Mini51Series.h.
| #define FMC_BASE (AHBPERIPH_BASE + 0x0C000) |
FMC register base address.
Definition at line 9914 of file Mini51Series.h.
| #define GCR_BASE (AHBPERIPH_BASE + 0x00000) |
GCR register base address.
Definition at line 9897 of file Mini51Series.h.
| #define GPIO_DBNCECON_BASE (AHBPERIPH_BASE + 0x04180) |
GPIO De-bounce register vase.
Definition at line 9906 of file Mini51Series.h.
| #define GPIO_PIN_DATA_BASE (AHBPERIPH_BASE + 0x04200) |
GPIO pin data register base address.
Definition at line 9907 of file Mini51Series.h.
| #define GPIOBIT0_BASE (AHBPERIPH_BASE + 0x04200) |
GPIO Port 0 bit access register base address.
Definition at line 9908 of file Mini51Series.h.
| #define GPIOBIT1_BASE (AHBPERIPH_BASE + 0x04220) |
GPIO Port 1 bit access register base address.
Definition at line 9909 of file Mini51Series.h.
| #define GPIOBIT2_BASE (AHBPERIPH_BASE + 0x04240) |
GPIO Port 2 bit access register base address.
Definition at line 9910 of file Mini51Series.h.
| #define GPIOBIT3_BASE (AHBPERIPH_BASE + 0x04260) |
GPIO Port 3 bit access register base address.
Definition at line 9911 of file Mini51Series.h.
| #define GPIOBIT4_BASE (AHBPERIPH_BASE + 0x04280) |
GPIO Port 4 bit access register base address.
Definition at line 9912 of file Mini51Series.h.
| #define GPIOBIT5_BASE (AHBPERIPH_BASE + 0x042A0) |
GPIO Port 5 bit access register base address.
Definition at line 9913 of file Mini51Series.h.
| #define I2C_BASE (APB1PERIPH_BASE + 0x20000) |
I2C register base address.
Definition at line 9890 of file Mini51Series.h.
| #define INT_BASE (AHBPERIPH_BASE + 0x00300) |
INT register base address.
Definition at line 9899 of file Mini51Series.h.
| #define P0_BASE (AHBPERIPH_BASE + 0x04000) |
GPIO Port 0 register base address.
Definition at line 9900 of file Mini51Series.h.
| #define P1_BASE (AHBPERIPH_BASE + 0x04040) |
GPIO Port 1 register base address.
Definition at line 9901 of file Mini51Series.h.
| #define P2_BASE (AHBPERIPH_BASE + 0x04080) |
GPIO Port 2 register base address.
Definition at line 9902 of file Mini51Series.h.
| #define P3_BASE (AHBPERIPH_BASE + 0x040C0) |
GPIO Port 3 register base address.
Definition at line 9903 of file Mini51Series.h.
| #define P4_BASE (AHBPERIPH_BASE + 0x04100) |
GPIO Port 4 register base address.
Definition at line 9904 of file Mini51Series.h.
| #define P5_BASE (AHBPERIPH_BASE + 0x04140) |
GPIO Port 5 register base address.
Definition at line 9905 of file Mini51Series.h.
| #define PWM_BASE (APB1PERIPH_BASE + 0x40000) |
PWM register base address.
Definition at line 9892 of file Mini51Series.h.
| #define SPI_BASE (APB1PERIPH_BASE + 0x30000) |
SPI register base address.
Definition at line 9891 of file Mini51Series.h.
| #define SRAM_BASE ((uint32_t)0x20000000) |
SRAM base address.
Definition at line 9881 of file Mini51Series.h.
| #define TIMER0_BASE (APB1PERIPH_BASE + 0x10000) |
TIMER0 register base address.
Definition at line 9888 of file Mini51Series.h.
| #define TIMER1_BASE (APB1PERIPH_BASE + 0x10020) |
TIMER1 register base address.
Definition at line 9889 of file Mini51Series.h.
| #define UART_BASE (APB1PERIPH_BASE + 0x50000) |
UART register base address.
Definition at line 9893 of file Mini51Series.h.
| #define WDT_BASE (APB1PERIPH_BASE + 0x04000) |
WDT register base address.
Definition at line 9887 of file Mini51Series.h.
1.8.15