03_模块使用说明_CAN
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
2.3.4.4 Can_MainFunction_Mode .........................................................................................9
2.3.5 中断服务函数 ...................................................................................................................9
1.3
读者对象 ...................................................................................................................................1
1.4
参考文档 ...................................................................................................................................1
2.2.1.2 Can.h..........................................................................................................................2
2.2.2 配置文件 ...........................................................................................................................2
2.1
功能概述 ...................................................................................................................................2
2.2
文件组成 ...................................................................................................................................2
2.4.1.1 CAN_USED_CONTROLLER_NUM .....................................................................10
1.1
目的 ...........................................................................................................................................1
1.2
适用范围 ...................................................................................................................................1
2.3.4 需要周期调用的函数 .......................................................................................................8
2.3.4.1 Can_MainFunction_Write .........................................................................................8
2.3.2.3 Can_DisableControllerInterrupts ...............................................................................4
2.3.2.4 Can_EnableControllerInterrupts ................................................................................5
2.3.2.7 Can_GetVersionInfo ..................................................................................................6
2.3.3 影响某个 HOH 的函数.....................................................................................................7
2.3.4.2 Can_MainFunction_Read ..........................................................................................8
2.3.4.3 Can_MainFunction_BusOff.......................................................................................8
CAN Driver Hale Waihona Puke Baidu块
软件使用说明文档
恒润科技
所有权声明
该文档及其所含信息是恒润科技有限公司的财产。该文档及其所含信息的复制、使用及披 露必须得到恒润科技有限公司的书面授权。
第I页
目录
1 文档介绍 ...................................................................................................................................................1
2.3.1.1 Can_Init .....................................................................................................................3
2.3.2 影响某个 CAN Controller 的函数....................................................................................3
2.3.2.1 Can_InitController .....................................................................................................3
2.3.2.2 Can_SetControllerMode ............................................................................................4
2.3.5.1 CAN_PHYx_MB_ISR...............................................................................................9
2.3.5.2 CAN_PHYx_Busoff_ISR ........................................................................................10
2.2.1 内核文件 ...........................................................................................................................2
2.2.1.1 Can.c ..........................................................................................................................2
1.5
术语和缩写 ...............................................................................................................................1
2 CAN Driver 模块 ......................................................................................................................................2
2.3
接口函数使用说明 ...................................................................................................................3
2.3.1 影响整个 CAN hardware unit 的函数 ..............................................................................3
2.4
配置参数使用说明 .................................................................................................................10
2.4.1 配置 CAN 通道...............................................................................................................10
2.3.3.1 Can_Write ..................................................................................................................7
无 .......................................................................................................................................................7
2.3.2.5 Can_DisableGlobalInterrupt ......................................................................................5
2.3.2.6 Can_EnableGlobalInterrupt .......................................................................................6