| Mini51 BSP V3.02.002 The Board Support Package for Mini51 Series

Macros
MINI51 Peripheral Memory Map

## 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...

## Detailed Description

Memory Mapped Structure for MINI51 Series Peripheral

## Macro Definition Documentation

## ◆ ACMP_BASE

#define ACMP_BASE (APB1PERIPH_BASE + 0xD0000)

ACMP register base address.

Definition at line 9894 of file Mini51Series.h.

## ◆ ADC_BASE

#define ADC_BASE (APB1PERIPH_BASE + 0xE0000)

ADC register base address.

Definition at line 9895 of file Mini51Series.h.

## ◆ AHBPERIPH_BASE

#define AHBPERIPH_BASE ((uint32_t)0x50000000)

AHB base address.

Definition at line 9884 of file Mini51Series.h.

## ◆ APB1PERIPH_BASE

#define APB1PERIPH_BASE ((uint32_t)0x40000000)

APB1 base address.

Definition at line 9882 of file Mini51Series.h.

## ◆ APB2PERIPH_BASE

#define APB2PERIPH_BASE ((uint32_t)0x40100000)

APB2 base address.

Definition at line 9883 of file Mini51Series.h.

## ◆ CLK_BASE

#define CLK_BASE (AHBPERIPH_BASE + 0x00200)

CLK register base address.

Definition at line 9898 of file Mini51Series.h.

## ◆ FLASH_BASE

#define FLASH_BASE ((uint32_t)0x00000000)

Flash base address.

Definition at line 9880 of file Mini51Series.h.

## ◆ FMC_BASE

#define FMC_BASE (AHBPERIPH_BASE + 0x0C000)

FMC register base address.

Definition at line 9914 of file Mini51Series.h.

## ◆ GCR_BASE

#define GCR_BASE (AHBPERIPH_BASE + 0x00000)

GCR register base address.

Definition at line 9897 of file Mini51Series.h.

## ◆ GPIO_DBNCECON_BASE

#define GPIO_DBNCECON_BASE (AHBPERIPH_BASE + 0x04180)

GPIO De-bounce register vase.

Definition at line 9906 of file Mini51Series.h.

## ◆ GPIO_PIN_DATA_BASE

#define GPIO_PIN_DATA_BASE (AHBPERIPH_BASE + 0x04200)

GPIO pin data register base address.

Definition at line 9907 of file Mini51Series.h.

## ◆ GPIOBIT0_BASE

#define GPIOBIT0_BASE (AHBPERIPH_BASE + 0x04200)

GPIO Port 0 bit access register base address.

Definition at line 9908 of file Mini51Series.h.

## ◆ GPIOBIT1_BASE

#define GPIOBIT1_BASE (AHBPERIPH_BASE + 0x04220)

GPIO Port 1 bit access register base address.

Definition at line 9909 of file Mini51Series.h.

## ◆ GPIOBIT2_BASE

#define GPIOBIT2_BASE (AHBPERIPH_BASE + 0x04240)

GPIO Port 2 bit access register base address.

Definition at line 9910 of file Mini51Series.h.

## ◆ GPIOBIT3_BASE

#define GPIOBIT3_BASE (AHBPERIPH_BASE + 0x04260)

GPIO Port 3 bit access register base address.

Definition at line 9911 of file Mini51Series.h.

## ◆ GPIOBIT4_BASE

#define GPIOBIT4_BASE (AHBPERIPH_BASE + 0x04280)

GPIO Port 4 bit access register base address.

Definition at line 9912 of file Mini51Series.h.

## ◆ GPIOBIT5_BASE

#define GPIOBIT5_BASE (AHBPERIPH_BASE + 0x042A0)

GPIO Port 5 bit access register base address.

Definition at line 9913 of file Mini51Series.h.

## ◆ I2C_BASE

#define I2C_BASE (APB1PERIPH_BASE + 0x20000)

I2C register base address.

Definition at line 9890 of file Mini51Series.h.

## ◆ INT_BASE

#define INT_BASE (AHBPERIPH_BASE + 0x00300)

INT register base address.

Definition at line 9899 of file Mini51Series.h.

## ◆ P0_BASE

#define P0_BASE (AHBPERIPH_BASE + 0x04000)

GPIO Port 0 register base address.

Definition at line 9900 of file Mini51Series.h.

## ◆ P1_BASE

#define P1_BASE (AHBPERIPH_BASE + 0x04040)

GPIO Port 1 register base address.

Definition at line 9901 of file Mini51Series.h.

## ◆ P2_BASE

#define P2_BASE (AHBPERIPH_BASE + 0x04080)

GPIO Port 2 register base address.

Definition at line 9902 of file Mini51Series.h.

## ◆ P3_BASE

#define P3_BASE (AHBPERIPH_BASE + 0x040C0)

GPIO Port 3 register base address.

Definition at line 9903 of file Mini51Series.h.

## ◆ P4_BASE

#define P4_BASE (AHBPERIPH_BASE + 0x04100)

GPIO Port 4 register base address.

Definition at line 9904 of file Mini51Series.h.

## ◆ P5_BASE

#define P5_BASE (AHBPERIPH_BASE + 0x04140)

GPIO Port 5 register base address.

Definition at line 9905 of file Mini51Series.h.

## ◆ PWM_BASE

#define PWM_BASE (APB1PERIPH_BASE + 0x40000)

PWM register base address.

Definition at line 9892 of file Mini51Series.h.

## ◆ SPI_BASE

#define SPI_BASE (APB1PERIPH_BASE + 0x30000)

SPI register base address.

Definition at line 9891 of file Mini51Series.h.

## ◆ SRAM_BASE

#define SRAM_BASE ((uint32_t)0x20000000)

SRAM base address.

Definition at line 9881 of file Mini51Series.h.

## ◆ TIMER0_BASE

#define TIMER0_BASE (APB1PERIPH_BASE + 0x10000)

TIMER0 register base address.

Definition at line 9888 of file Mini51Series.h.

## ◆ TIMER1_BASE

#define TIMER1_BASE (APB1PERIPH_BASE + 0x10020)

TIMER1 register base address.

Definition at line 9889 of file Mini51Series.h.

## ◆ UART_BASE

#define UART_BASE (APB1PERIPH_BASE + 0x50000)

UART register base address.

Definition at line 9893 of file Mini51Series.h.

## ◆ WDT_BASE

#define WDT_BASE (APB1PERIPH_BASE + 0x04000)

WDT register base address.

Definition at line 9887 of file Mini51Series.h.