CAN总线测试C程序
文档内容节选
include stm32f10xh include canh void USBHPCAN1TXIRQHandlervoid PAout8PAout8 void USBLPCAN1RX0IRQHandlervoid if CAN1RF0R 0x00000003 FIFO0存在并接收报文 CANReceivCANFIFO0RxMeg void CANPinConfigvoid GPIOInitTypeDef GPIOInitStructure RCCAPB2PeriphClockCmdRCCAPB2PeriphAFIO RCCAPB2PeriphGPIOA ENABLE Configure CAN pin RX GPIOInitStructureGPIOPin GPIOPin11 GPIOInitStructureGPIOMode GPIOModeIPU GPIOInitGPIOA GPIOInitStructure Configure CAN pin TX GPIOInitStructu......
猜您喜欢
推荐内容
开源项目推荐 更多
热门活动
热门器件
用户搜过
随便看看
热门下载
热门文章
热门标签
评论