APB -> APB1.

This commit is contained in:
NIIBE Yutaka
2017-12-14 19:04:16 +09:00
parent 499e575528
commit bc35bc81cf
7 changed files with 7 additions and 7 deletions

View File

@@ -6,7 +6,7 @@
#include "board.h"
#define PERIPH_BASE 0x40000000
#define APBPERIPH_BASE PERIPH_BASE
#define APB1PERIPH_BASE PERIPH_BASE
#define APB2PERIPH_BASE (PERIPH_BASE + 0x10000)
struct GPIO {

View File

@@ -4,7 +4,7 @@
#include "board.h"
#define PERIPH_BASE 0x40000000
#define APBPERIPH_BASE PERIPH_BASE
#define APB1PERIPH_BASE PERIPH_BASE
#define APB2PERIPH_BASE (PERIPH_BASE + 0x10000)
struct GPIO {