
MOTOROLA
8-18
CTM
REFERENCE
DOUBLE ACTION SUBMODULE (DASM)
For More Information On This Product,
Go to: www.freescale.com
8
8.6.2
DASMA — DASM data register A
DASMA is the data register associated with channel A; its use varies with the different modes of
operation:
In the DIS mode, DASMA can be accessed to prepare a value for a subsequent mode
selection.
In the IPWM mode, DASMA contains the captured value corresponding to the trailing edge of
the measured pulse.
In the IPM and IC modes, DASMA contains the captured value corresponding to the most
recently detected dedicated edge (rising or falling edge).
In the OCB and OCAB modes, DASMA is loaded with the value corresponding to the leading
edge of the pulse to be generated. Writing to DASMA in the OCB and OCAB modes also
enables the corresponding channel A comparator until the next successful comparison.
In the OPWM mode, DASMA is loaded with the value corresponding to the leading edge of the
PWM pulse to be generated.
8.6.3
DASMB — DASM data register B
DASMB is the data register associated with channel B; its use varies with the different modes of
operation. Depending on the mode selected, software access is to register B1 or register B2.
In the DIS mode, DASMB can be accessed to prepare a value for a subsequent mode selection.
In this mode, register B1 is accessed in order to prepare a value for the OPWM mode. Unused
register B2 is hidden and cannot be read, but is written with the same value when register B1 is
written.
In the IPWM mode, DASMB contains the captured value corresponding to the leading edge of the
measured pulse. In this mode, register B2 is accessed; buffer register B1 is hidden and cannot be
accessed.
(1) Offset fromthe base address of the DASMsubmodule.
(1) Offset fromthe base address of the DASMsubmodule.
Bit:
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DASMA
$02
(1)
MSB
LSB
Reset:
u
u
u
u
u
u
u
u
u
u
u
u
u
u
u
u
Bit:
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DASMB
$04
(1)
MSB
LSB
Reset:
u
u
u
u
u
u
u
u
u
u
u
u
u
u
u
u
F
.
Freescale Semiconductor, Inc.