stm32f3: include CAN

This commit is contained in:
Jonathan Challinger
2016-10-11 15:57:30 -07:00
committed by Karl Palsson
parent d964dcfca4
commit 7f8b32efed
4 changed files with 7 additions and 3 deletions

View File

@@ -59,7 +59,7 @@
#define I2C2_BASE (PERIPH_BASE_APB1 + 0x5800)
#define USB_DEV_FS_BASE (PERIPH_BASE_APB1 + 0x5C00)
#define USB_PMA_BASE (PERIPH_BASE_APB1 + 0x6000)
#define BX_CAN_BASE (PERIPH_BASE_APB1 + 0x6400)
#define BX_CAN1_BASE (PERIPH_BASE_APB1 + 0x6400)
/* PERIPH_BASE_APB1 + 0x6800 (0x4000 6800 - 0x4000 6BFF): Reserved */
/* PERIPH_BASE_APB1 + 0x6C00 (0x4000 6C00 - 0x4000 6FFF): Reserved */
#define POWER_CONTROL_BASE (PERIPH_BASE_APB1 + 0x7000)

View File

@@ -218,7 +218,7 @@
#define RCC_APB1RSTR_DAC1RST (1 << 29)
#define RCC_APB1RSTR_PWRRST (1 << 28)
#define RCC_APB1RSTR_DAC2RST (1 << 26)
#define RCC_APB1RSTR_CANRST (1 << 25)
#define RCC_APB1RSTR_CAN1RST (1 << 25)
#define RCC_APB1RSTR_USBRST (1 << 23)
#define RCC_APB1RSTR_I2C2RST (1 << 22)
#define RCC_APB1RSTR_I2C1RST (1 << 21)