User`s manual
RabbitFLEX User’s Manual www.rabbit.com iii
6.2 RabbitFLEX BL300F Files............................................................................................................................... 67
6.2.1 RabbitFLEX BL300F Libraries ................................................................................................................67
6.2.2 RabbitFLEX BL300F Design File ............................................................................................................ 67
6.3 RabbitFLEX BL300F Software Concepts ........................................................................................................ 68
6.3.1 Board Initialization ................................................................................................................................... 68
6.3.2 Software Pin Names ..................................................................................................................................68
6.3.3 Pin Groups ................................................................................................................................................. 69
6.3.4 Analog Input and Output ...........................................................................................................................70
6.3.5 RS-232 ...................................................................................................................................................... 70
6.3.6 Keypad ...................................................................................................................................................... 70
6.3.7 LCD ........................................................................................................................................................... 71
6.3.8 Speaker ...................................................................................................................................................... 72
6.3.9 Thermistor ................................................................................................................................................. 72
6.3.10 Serial Flash .............................................................................................................................................. 72
6.4 Software Walk-Through ................................................................................................................................... 73
6.4.1 Studying speaker_tone.c ...........................................................................................................................73
6.4.2 Extending speaker_tone.c .........................................................................................................................74
6.4.3 Extending speaker_tone.c with I/O Grouping ........................................................................................... 79
6.5 API Functions ................................................................................................................................................... 84
6.6.1 Board Initialization ................................................................................................................................... 85
6.6.2 Pin Names ................................................................................................................................................. 85
6.6.3 Digital Inputs ............................................................................................................................................. 86
6.6.4 Digital Outputs .......................................................................................................................................... 88
6.6.5 Analog Inputs ............................................................................................................................................91
6.6.6 Analog Outputs .......................................................................................................................................100
6.6.7 LCD ......................................................................................................................................................... 103
6.6.8 Keypad .................................................................................................................................................... 115
6.6.9 Speaker .................................................................................................................................................... 119
6.6.10 Serial Communication ........................................................................................................................... 126
Appendix A. RabbitFLEX BL300F Specifications 129
A.1 Electrical and Mechanical Characteristics ..................................................................................................... 129
A.2 Conformal Coating......................................................................................................................................... 132
Appendix B. Power Supply 133
B.1 Power Supplies............................................................................................................................................... 133
B.2 Battery-Backup Circuits................................................................................................................................. 134
B.3 Reset Generator.............................................................................................................................................. 134
B.4 Power On / Reset State................................................................................................................................... 135
Appendix C. Demonstration Board 137
C.1 Demonstration Board Connections ................................................................................................................ 137
Appendix D. RabbitFLEX Keypad/Display Kit 141
D.1 Keypad ........................................................................................................................................................... 141
D.4 LCD Module .................................................................................................................................................. 144
Schematics 151
Index 153