MG87FE/L2051 MEGAWIN [Megawin Technology Co., Ltd], MG87FE/L2051 Datasheet - Page 28

no-image

MG87FE/L2051

Manufacturer Part Number
MG87FE/L2051
Description
8-bits microcontroll
Manufacturer
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet
10.2.2. PWM-Timer Register
CMOD: PWM-timer Mode Register
Address=D9H, read/write, Power On + RESET=0000-0000
Bit 7: CIDL, Counter Idle Control.
0: Program the PWM-Timer to continue functioning during IDLE mode.
1: Program the PWM-Timer to be gated off during IDLE mode.
Bit 6~4: POS[2:0], PWM output port select.
Bit 3~1: CPS[2:0], Counter Pre-scalar Select.
Bit 0: ECF, Enable PWM-Timer underflow interrupt.
0: Disables CF bit in CCON to generate an interrupt.
1: Enables CF bit in CCON to generate an interrupt.
This document information is the intellectual property of Megawin Technology.
© Megawin Technology Co., Ltd. 2009 All rights reserved.
QP-7300-03D
28/56
CIDL
7
MEGAWIN
MAKE YOU WIN
POS2
POS[2:0]
X X X
CPS[2:0]
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
6
POS1
5
PWMEN
1
1
1
1
1
1
1
1
0
Pre-scalar
POS0
128
16
32
64
4
1
2
4
8
PWM Output Port
Disabled
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
CPS2
3
CPS1
MG87FE/L2051/4051/6051
2
CPS0
1
Preliminary, v 1.03
ECF
0

Related parts for MG87FE/L2051