XC912BC32CFU8 Motorola Semiconductor Products, XC912BC32CFU8 Datasheet - Page 12

no-image

XC912BC32CFU8

Manufacturer Part Number
XC912BC32CFU8
Description
M68HC12B Family Data Sheet
Manufacturer
Motorola Semiconductor Products
Datasheet
Table of Contents
Data Sheet
12
12.5
12.5.1
12.5.2
12.5.3
13.1
13.2
13.3
13.3.1
13.3.1.1
13.3.1.2
13.3.2
13.3.2.1
13.3.2.2
13.3.3
13.4
13.4.1
13.4.2
13.4.3
13.4.4
13.4.5
13.4.6
13.4.7
13.4.8
13.4.9
13.4.10
13.4.11
13.4.12
13.4.13
13.4.14
13.4.15
13.4.16
13.4.17
13.4.18
13.4.19
13.4.20
13.4.21
13.4.22
13.4.23
13.4.24
13.4.25
13.4.26
13.4.27
13.5
Using the Output Compare Function to Generate a Square Wave . . . 166
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Basic Timer Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Enhanced Capture Timer Modes of Operation . . . . . . . . . . . . . . . . . . . 169
Timer Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Timer and Modulus Counter Operation in Different Modes . . . . . . . . . 202
Section 13. Enhanced Capture Timer (ECT) Module
Sample Calculation to Obtain Period Counts . . . . . . . . . . . . . . . . . 166
Equipment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Code Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
IC Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Pulse Accumulators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Modulus Down-Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Timer Input Capture/Output Compare Select Register. . . . . . . . . . 176
Timer Compare Force Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Output Compare 7 Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . 177
Output Compare 7 Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Timer Count Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Timer System Control Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Timer Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Timer Interrupt Mask Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Main Timer Interrupt Flag Registers . . . . . . . . . . . . . . . . . . . . . . . . 183
Timer Input Capture/Output Compare Registers . . . . . . . . . . . . . . 185
16-Bit Pulse Accumulator A Control Register . . . . . . . . . . . . . . . . . 188
Pulse Accumulator A Flag Register . . . . . . . . . . . . . . . . . . . . . . . . 189
Pulse Accumulators Count Registers . . . . . . . . . . . . . . . . . . . . . . . 190
16-Bit Modulus Down-Counter Control Register. . . . . . . . . . . . . . . 191
16-Bit Modulus Down-Counter Flag Register . . . . . . . . . . . . . . . . . 192
Input Control Pulse Accumulators Control Register . . . . . . . . . . . . 193
Delay Counter Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Input Control Overwrite Register . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Input Control System Control Register . . . . . . . . . . . . . . . . . . . . . . 194
Timer Test Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Timer Port Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Data Direction Register for Timer Port . . . . . . . . . . . . . . . . . . . . . . 197
16-Bit Pulse Accumulator B Control Register . . . . . . . . . . . . . . . . . 197
Pulse Accumulator B Flag Register . . . . . . . . . . . . . . . . . . . . . . . . 198
8-Bit Pulse Accumulators Holding Registers . . . . . . . . . . . . . . . . . 198
Modulus Down-Counter Count Registers . . . . . . . . . . . . . . . . . . . . 199
Timer Input Capture Holding Registers . . . . . . . . . . . . . . . . . . . . . 200
Non-Buffered IC Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Buffered IC Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Pulse Accumulator Latch Mode . . . . . . . . . . . . . . . . . . . . . . . . . 171
Pulse Accumulator Queue Mode . . . . . . . . . . . . . . . . . . . . . . . . 171
Table of Contents
M68HC12B Family — Rev. 8.0
MOTOROLA

Related parts for XC912BC32CFU8