mirror of
https://github.com/goldenfishs/MRobot.git
synced 2025-09-14 12:54:33 +08:00
整理格式
This commit is contained in:
parent
e070e723aa
commit
c90d0b4d79
@ -476,7 +476,6 @@ class bsp_can(BspPeripheralBase):
|
||||
"",
|
||||
" // 注册回调函数",
|
||||
f" BSP_CAN_RegisterCallback({self.enum_prefix}_{name}, HAL_CAN_RX_FIFO0_MSG_PENDING_CB, BSP_CAN_RxFifoCallback);",
|
||||
f" BSP_CAN_RegisterCallback({self.enum_prefix}_{name}, HAL_CAN_RX_FIFO0_MSG_PENDING_CB, BSP_CAN_RxFifoCallback);",
|
||||
])
|
||||
else:
|
||||
# 只有单个CAN的情况
|
||||
|
BIN
assets/User_code.zip
Normal file
BIN
assets/User_code.zip
Normal file
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
uart,要求开启dma和中断
|
||||
can,要求开启can的中断要求开启can的中断要求开启can的中断要求开启can的中断要求开启can的中断要求开启can的中断要求开启can的中断要求开启can的中断要求开启can的中断要求开启can的中断要求开启can的中断要求开启can的中断要求开启can的中断
|
||||
can,2222
|
||||
gpio,要求设置label开启中断
|
||||
spi,要求开启spi中断
|
||||
i2c,要求开始spi中断
|
||||
|
|
@ -1,5 +0,0 @@
|
||||
oled_i2c,bsp/i2c
|
||||
bmp280_i2c,bsp/i2c
|
||||
pc_uart,bsp/uart
|
||||
key_gpio,bsp/gpio_exti
|
||||
servo,bsp/servo_pwm
|
|
Loading…
Reference in New Issue
Block a user