mc68hc908lb8 Freescale Semiconductor, Inc, mc68hc908lb8 Datasheet - Page 153

no-image

mc68hc908lb8

Manufacturer Part Number
mc68hc908lb8
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908lb8CDWE
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
mc68hc908lb8CDWE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc68hc908lb8CPE
Manufacturer:
IR
Quantity:
10
Clearing the PWMEN bit before entering wait mode will reduce power consumption in wait mode because
the counter, prescaler divider, and LDFQ divider will no longer be clocked. In addition, power will be
reduced because the PWMs will no longer toggle.
15.7.2 Stop Mode
When the microcontroller is put into stop mode via the STOP instruction, the PWM will stop functioning.
The PWM0 and PWM1 outputs are set to logic 0. The STOP instruction does not affect the register
conditions or the state of the PWM counters. When the MCU exits stop mode after an external interrupt
the PWM resumes operation.
15.8 Control Logic Block
This subsection provides a description of the control logic block.
15.8.1 PWM Counter Registers
The PWM counter registers (PCNTH and PCNTL) display the 12-bit up-only counter. When the high byte
of the counter is read, the lower byte is latched. PCNTL will hold this latched value until it is read. See
Figure 15-14
Figure
15.8.2 PWM Counter Modulo Registers
The PWM counter modulus registers (PMODH and PMODL) hold a 12-bit unsigned number that
determines the maximum count for the up-only counter. The PWM period will equal the modulus. See
Figure 15-16
Freescale Semiconductor
15-15.
and
and
Address:
Address:
Reset:
Reset:
Read:
Read:
Write:
Write:
Figure
$0045
$0046
Bit 7
Bit 7
Bit 7
Figure 15-14. PWM Counter Register High (PCNTH)
0
0
0
Figure 15-15. PWM Counter Register Low (PCNTL)
15-17.
= Unimplemented
= Unimplemented
Bit 6
6
0
0
6
0
MC68HC908LB8 Data Sheet, Rev. 1
Bit 5
5
0
0
5
0
Bit 4
4
0
0
4
0
Bit 11
Bit 3
3
0
3
0
Bit 10
Bit 2
2
0
2
0
Bit 9
Bit 1
1
0
1
0
Control Logic Block
Bit 0
Bit 8
Bit 0
Bit 0
0
0
153

Related parts for mc68hc908lb8