
User’s Manual
Chapter 11. Timers 111
11.1 Timer A...........................................................................................................................................112
11.1.1 Timer A I/O Registers ............................................................................................................113
11.1.2 Practical Use of Timer A .......................................................................................................114
11.2 Timer B...........................................................................................................................................115
11.2.1 Using Timer B ........................................................................................................................117
Chapter 12. Rabbit Serial Ports 119
12.1 Serial Port Register Layout.............................................................................................................120
12.2 Serial Port Interrupt ........................................................................................................................123
12.3 Transmit Serial Data Timing ..........................................................................................................124
12.4 Receive Serial Data Timing............................................................................................................124
12.5 Clocked Serial Ports........................................................................................................................125
12.6 Clocked Serial Timing....................................................................................................................128
12.6.1 Clocked Serial Timing With Internal Clock ..........................................................................128
12.6.2 Clocked Serial Timing with External Clock ..........................................................................128
12.7 Serial Port Software Suggestions....................................................................................................129
12.7.1 Controlling an RS-485 Driver and Receiver ..........................................................................131
12.7.2 Transmitting Dummy Characters ...........................................................................................131
12.7.3 Transmitting and Detecting a Break ......................................................................................131
12.7.4 Using A Serial Port to Generate a Periodic Interrupt .............................................................131
12.7.5 Extra Stop Bits, Sending Parity, 9th Bit Communication Schemes .......................................132
12.7.6 Supporting 9th Bit Communication Protocols .......................................................................134
12.7.7 Rabbit-Only Master/Slave Protocol .......................................................................................135
12.7.8 Data Framing/Modbus ...........................................................................................................135
Chapter 13. Rabbit Slave Port 137
13.1 Hardware Design of Slave Port Interconnection ............................................................................143
13.2 Slave Port Registers........................................................................................................................143
13.3 Applications and Communications Protocols for Slaves................................................................145
13.3.1 Slave Applications .................................................................................................................145
13.3.2 Master-Slave Messaging Protocol .........................................................................................146
Chapter 14. Rabbit 2000 Clocks 149
14.1 Low-Power Design .........................................................................................................................150
14.2 Clock Spectrum Spreader Module..................................................................................................150
Chapter 15. AC Timing Specifications 151
15.1 Memory Access and I/O Read/Write Times...................................................................................154
15.2 Current Consumption......................................................................................................................162
Chapter 16. Rabbit BIOS and Virtual Driver 165
16.1 The BIOS........................................................................................................................................165
16.1.1 BIOS Services ........................................................................................................................165
16.1.2 BIOS Assumptions .................................................................................................................166
16.2 Virtual Driver..................................................................................................................................166
16.2.1 Periodic Interrupt ...................................................................................................................166
16.2.2 Watchdog Timer Support .......................................................................................................166
Chapter 17. Other Rabbit Software 169
17.1 Power Management Support...........................................................................................................169
17.2 Reading and Writing I/O Registers.................................................................................................170
17.2.1 Using Assembly Language ....................................................................................................170
17.2.2 Using Library Functions ........................................................................................................170
17.3 Shadow Registers............................................................................................................................171
17.3.1 Updating Shadow Registers ...................................................................................................171
17.3.2 Interrupt While Updating Registers .......................................................................................171
17.3.3 Write-only Registers Without Shadow Registers ..................................................................172
17.4 Timer and Clock Usage ..................................................................................................................172