Skip to content

Commit

Permalink
fix: typo of peripheral names
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed May 12, 2024
1 parent dd63784 commit 93f303f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
19 changes: 0 additions & 19 deletions data/family/CH32V3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,25 +207,6 @@
# GPTM (TIM2、TIM3、TIM4 和 TIM5)
# BCTM (TIM6 和 TIM7)
# GPTM
- name: CAN1
address: 0x40006400
registers:
kind: can
version: v3
block: CAN
# 00:CAN1_RX 映射到 PA11,CAN1_TX 映射到 PA12;
# 10:CAN1_RX 映射到 PB8,CAN1_TX 映射到 PB9;
# 01:保留;
# 11:CAN1_RX 映射到 PD0,CAN1_TX 映射到 PD1

- name: CAN2
address: 0x40006800
registers:
kind: can
version: v3
block: CAN
# 0:默认映射(CAN2_RX/PB12,CAN2_TX/PB13);
# 1:重映射(CAN2_RX/PB5,CAN2_TX/PB6)

- name: EXTEND
address: 0x40023800
Expand Down
2 changes: 1 addition & 1 deletion data/peripherals/FV2x_V3x_CAN2.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- name: CAN1
- name: CAN2
address: 0x40006800
registers:
kind: can
Expand Down

0 comments on commit 93f303f

Please sign in to comment.