Lab 1 Development and Experiment Tools 1
Purpose 1
Setup the lab environment 1
实验简介 15
科技词汇 15
注释 16
Lab 2 GPIO and LED Control 17
Purpose 17
Principle 17
Controlling GPIOs 18
Key Circuits 20
Experiment Exercises 21
Source Code List 22
实验简介 24
科技词汇 25
注释 25
Lab 3 Keypad and Interrupt 26
Purpose 26
Principle 26
Experiment Exercises 32
Key Circuit 32
Source Code List 33
实验简介 35
科技词汇 36
注释 36
Lab 4 UART Communication 37
Purpose 37
Principle 37
Lab Exercises 42
Key Circuit 46
Source Code List 47
实验简介 53
科技词汇 53
注释 54
Lab 5 Cnsole Based on UART 55
Purpose 55
Principle 55
Experiment Exercises 59
Source Code List 59
实验简介 64
科技词汇 65
注释 65
Lab 6 Timer and Counter 67
Purpose 67
Principle 67
Experiment Exercise 74
Source Code List 75
实验简介 77
科技词汇 78
注释 78
Lab 7 Joystick and Finite State Machine 80
Purpose 80
Principle 80
Key Circuit 83
Exercise 83
Source Code List 84
实验简介 89
科技词汇 89
注释 89
Lab 8 Real Time Clock(RTC) 91
Purpose 91
Principle 91
Exercise 97
Source Code List 97
实验简介 101
科技词汇 101
注释 102
Lab 9 I2C Interface and Devices 103
Putpose 103
Principle 103
Key Circuits 112
Exercise 112
Source Code List 113
实验简介 122
科技词汇 123
注释 123
Lab 10 LCD Controller and Display on LCD 125
Purpose 125
Principle 125
Key Circuit and Interface 133
Exercises 137
Source Code List 138
实验简介 142
科技词汇 143
注释 143
Lab 11 Analog-to-Digital Converter 145
Purpose 145
Principle 145
Key Circuit 149
Exercise 150
Source Code List 150
实验简介 153
科技词汇 153
注释 153
Lab 12 Digital-to-Analog Converter 155
Purpose 155
Principle 155
Key Circuit 158
Exercise 159
Source Code List 159
实验简介 161
科技词汇 161
注释 161
附录A:C语言操作LPC17xx寄存器的方法 163
附录B:startup_LPC17xx.s解析 167
附录C:Keil编译常见错误 175
Reference 178