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

no-image

MG87FE/L2051

Manufacturer Part Number
MG87FE/L2051
Description
8-bits microcontroll
Manufacturer
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet
Bit 6: SMOD0, Frame Error select.
0: SCON.7 is SM0 function.
1: SCON.7 is FE function. Note that FE will be set after a frame error regardless of the state of SMOD0.
Bit 5: PWMEN, PWM mode enable for PWM-Timer.
0: Set the PWM-Timer as Timer mode.
1: Set the PWM-Timer as PWM mode and trigger the output on P1.0 ~ P1.7 by POS[2:0] indexed.
Bit 4: POF. Power-On Flag.
0: The flag must be cleared by software.
1: POF is set to “1” during power up (i.e. cold reset). It can be set under software control and is not affected by
Bit 3~2: GF1, GF0, General purpose flags.
Bit 1: PD, Power-Down control bit.
0: This bit could be cleared by CPU or any exited power-down event.
1: Setting this bit activates power down operation.
Bit 0: IDL, Idle mode control bit.
0: This bit could be cleared by CPU or any exited Idle mode event.
1: Setting this bit activates idle mode operation.
P1WKPE: Port 1 Wake-up Enable Control Register
Address=D7H, read/write, RESET=0000-0000
Bit 7~0: Wake-up enable bit for each P1 pins.
0: Disable port pin wake-up function.
1: Enable port pin wake-up function when port input at falling edge in power-down mode and idle mode.
P1WKPE: Port 3 Wake-up Enable Control Register
Address=D6H, read/write, RESET=0000-0000
Bit 7, 5~0: Wake-up enable bit for each P3 pins except P3.6.
0: Disable port pin wake-up function.
1: Enable port pin wake-up function when port input at falling edge in power-down mode and idle mode.
This document information is the intellectual property of Megawin Technology.
© Megawin Technology Co., Ltd. 2009 All rights reserved.
QP-7300-03D
40/56
P17WKP
P37WKP
RESEST (i.e. warm resets).
7
7
MEGAWIN
MAKE YOU WIN
P16WKP
6
6
-
P15WKP
P35WKP
5
5
P14WKP
P34WKP
4
4
P13WKP
P33WKP
3
3
P12WKP
P32WKP
MG87FE/L2051/4051/6051
2
2
P31WKP
P11WKP
1
1
Preliminary, v 1.03
P10WKP
P30WKP
0
0

Related parts for MG87FE/L2051