V2.31
This commit is contained in:
@@ -13,4 +13,4 @@ Series=CH32V203
|
||||
Description=ROM(byte): 64K, SRAM(byte): 20K, CHIP PINS: 32, GPIO PORTS: 27.\nWCH CH32V2 series of mainstream MCUs covers the needs of a large variety of applications in the industrial,medical and consumer markets. High performance with first-class peripherals and low-power,low-voltage operation is paired with a high level of integration at accessible prices with a simple architecture and easy-to-use tools.
|
||||
|
||||
PeripheralVersion=1.0
|
||||
MCU=CH32V203RBT6
|
||||
MCU=CH32V203RBT
|
||||
|
||||
@@ -102,7 +102,7 @@ void CAN_Mode_Init(u8 tsjw, u8 tbs2, u8 tbs1, u16 brp, u8 mode)
|
||||
CAN_FilterInitSturcture.CAN_FilterMaskIdHigh = 0xFFE0;
|
||||
CAN_FilterInitSturcture.CAN_FilterMaskIdLow = 0x0006;
|
||||
|
||||
/* identifier/mask mode, Two 16-bit filters, StdId: 0x317��0x316 */
|
||||
/* identifier/mask mode, Two 16-bit filters, StdId: 0x317,0x316 */
|
||||
// CAN_FilterInitSturcture.CAN_FilterMode = CAN_FilterMode_IdMask;
|
||||
// CAN_FilterInitSturcture.CAN_FilterScale = CAN_FilterScale_16bit;
|
||||
// CAN_FilterInitSturcture.CAN_FilterIdHigh = 0x62E0;
|
||||
@@ -110,7 +110,7 @@ void CAN_Mode_Init(u8 tsjw, u8 tbs2, u8 tbs1, u16 brp, u8 mode)
|
||||
// CAN_FilterInitSturcture.CAN_FilterMaskIdHigh = 0x62C0;
|
||||
// CAN_FilterInitSturcture.CAN_FilterMaskIdLow = 0xFFF8;
|
||||
|
||||
/* identifier list mode, One 32-bit filter, StdId: 0x317��0x316 */
|
||||
/* identifier list mode, One 32-bit filter, StdId: 0xC5C0000,0xC580000 */
|
||||
// CAN_FilterInitSturcture.CAN_FilterMode = CAN_FilterMode_IdList;
|
||||
// CAN_FilterInitSturcture.CAN_FilterScale = CAN_FilterScale_32bit;
|
||||
// CAN_FilterInitSturcture.CAN_FilterIdHigh = 0x62E0;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Version : V1.0.0
|
||||
* Date : 2021/06/06
|
||||
* Description : CH32V20x Device Peripheral Access Layer System Source File.
|
||||
* For HSE = 32Mhz (CH32V208x/CH32V203RBT6)
|
||||
* For HSE = 32Mhz (CH32V208x/CH32V203RBT)
|
||||
* For HSE = 8Mhz (other CH32V203x)
|
||||
*********************************************************************************
|
||||
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd.
|
||||
|
||||
Reference in New Issue
Block a user