mc68hc708mp16 Freescale Semiconductor, Inc, mc68hc708mp16 Datasheet - Page 173

no-image

mc68hc708mp16

Manufacturer Part Number
mc68hc708mp16
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc708mp16CFU
Manufacturer:
FRE/MOT
Quantity:
20 000
9.11.2 PWM Counter Modulo Registers
MC68HC708MP16
Freescale Semiconductor
CAUTION:
NOTE:
Rev. 3.1
PMODH
PMODL
This PWM counter modulus register holds a 12-bit unsigned number that
determines the maximum count for the up/down or up-only counter. In
center-aligned mode, the PWM period will be twice the modulus
(assuming no prescaler). In edge-aligned mode, the PWM period will
equal the modulus.
To avoid erroneous PWM periods, this value is buffered and will not be
used by the PWM generator until the LDOK bit has been set and the next
PWM load cycle begins.
When reading this register, the value read is the buffer (not necessarily
the value the PWM generator is currently using).
The user is responsible for initializing the PWM counter modulo registers
before enabling the PWM module. Since these registers are undefined
at reset, they could contain a combined value of $0000, which would
result in erroneous pulse widths. However, the dead-time constraints will
still be guaranteed, and the fault detection circuitry will still function
properly.
Figure 9-41. PWM Counter Modulo Registers (PDMODH:PMODL)
Reset:
Reset:
$0028
$0029
Read:
Write:
Read:
Write:
Pulse Width Modulator for Motor Control (PWMMC)
BIT 7
Bit 7
Bit 7
X
0
0
= Unimplemented
BIT 6
X
6
0
0
6
BIT 5
X
5
0
0
5
Pulse Width Modulator for Motor Control (PWMMC)
BIT 4
4
0
X
0
4
BIT 3
11
X
X
3
3
BIT 2
10
X
X
2
2
BIT 1
X
X
1
9
1
Technical Data
BIT 8
BIT 0
Bit 0
Bit 0
X
X
173

Related parts for mc68hc708mp16