|
目录 第1章 简介.................................................................................................................1 第2章 编译代码.........................................................................................................3 2.1 所需软件...................................................................................................................3 2.2 用Keil uVision编译..................................................................................................3 2.3 用IAR Embedded Workbench编译...........................................................................3 2.4 用CodeSourcery Sourcery G++编译........................................................................3 2.5 用Code Red Technologies Tools编译.......................................................................4 2.6 从命令行编译...........................................................................................................4 第3章 引导代码.........................................................................................................7 第4章 编程模型.........................................................................................................8 4.1 简介...........................................................................................................................8 4.2 直接寄存器访问模型...............................................................................................8 4.3 软件驱动程序模型...................................................................................................9 4.4 组合模型...................................................................................................................9 第5章 模拟比较器...................................................................................................10 5.1 简介.........................................................................................................................10 5.2 API函数..................................................................................................................10 5.2.1 详细描述.........................................................................................................10 5.2.2 函数文件.........................................................................................................10 5.3 编程范例.................................................................................................................15 第6章 模数转换器(ADC)...................................................................................16 6.1 简介.........................................................................................................................16 6.2 API函数..................................................................................................................16 6.2.1 详细描述.........................................................................................................17 6.2.2 函数文件.........................................................................................................17 6.3 编程范例.................................................................................................................27 第7章 控制器局域网(CAN)...............................................................................28 7.1 简介.........................................................................................................................28 7.2 API函数..................................................................................................................28 7.2.1 详细描述.........................................................................................................29 7.2.2 数据结构文件.................................................................................................30 7.2.3 定义文件.........................................................................................................31 7.2.4 枚举文件.........................................................................................................31 7.2.5 函数文件.........................................................................................................33 7.3 编程示例.................................................................................................................43 第8章 以太网控制器...............................................................................................46 8.1 简介.........................................................................................................................46 8.2 API函数..................................................................................................................46 8.2.1 详细描述.........................................................................................................46 8.2.2 函数文件.........................................................................................................47 8.3 编程示例.................................................................................................................57
|
|