English
Language : 

MC68HC812A4 Datasheet, PDF (12/342 Pages) Motorola, Inc – 16-bit device composed of standard on-chip peripheral modules connected by an intermodule bus. Modules include
Table of Contents
12.9.1
12.9.2
12.9.3
Run Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .204
Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .204
Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205
12.10 Interrupt Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205
12.11 General-Purpose I/O Ports . . . . . . . . . . . . . . . . . . . . . . . . . . .205
12.11.1 Timer Port Data Register . . . . . . . . . . . . . . . . . . . . . . . . . .206
12.11.2 Timer Port Data Direction Register . . . . . . . . . . . . . . . . . .207
12.11.3 Data Direction Register for Timer Port . . . . . . . . . . . . . . . .208
12.12 Using the Output Compare Function to Generate
a Square Wave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .209
12.12.1 Sample Calculation to Obtain Period Counts . . . . . . . . . . .209
12.12.2 Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .210
12.12.3 Code Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .210
Section 13. Multiple Serial Interface (MSI)
13.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .213
13.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .213
13.3 SCI Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .214
13.4 SPI Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .215
13.5 MSI Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .215
13.6 MSI Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .216
13.7 General-Purpose I/O Ports . . . . . . . . . . . . . . . . . . . . . . . . . . .218
13.7.1 Port S Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . .219
13.7.2 Port S Data Direction Register . . . . . . . . . . . . . . . . . . . . . .220
13.7.3 Port S Pullup and Reduced Drive Control . . . . . . . . . . . . .221
13.7.4 Port S Wired-OR Mode Control . . . . . . . . . . . . . . . . . . . . .222
MC68HC812A4 — Rev. 3.0
12
Table of Contents
Advance Information
MOTOROLA