mg84fl54b Megawin Technology, mg84fl54b Datasheet - Page 84

no-image

mg84fl54b

Manufacturer Part Number
mg84fl54b
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet
OR3 (Option Register 3)
WDTCR_WP:
PSEN:
HWENW: (accompanied with arguments HWWIDL and HWPS[2:0]):
84
WDTCR_WP
0 (enabled):
1 (disabled): The register WDTCR can be freely written by software.
0 (enabled): TBD.
1 (disable): TBD.
0 (enabled): Automatically enable Watch-dog Timer by hardware when MCU is powered up.
1 (disabled): No action on Watch-dog Timer when MCU powered up.
If CPU runs in AP-memory, the register WDTCR will be software-write-protected except the bit CLRW.
If CPU runs in ISP-memory, the register WDTCR will be software-write-protected except the bits CLRW,
PS2, PS1 and PS0.
It means that:
For example:
7
-
7
In the WDTCR register, H/W will automatically
(1) set ENW bit,
(2) load HWWIDL into WIDL bit, and
(3) load HWPS[2:0] into PS[2:0] bits.
If HWWIDL and HWPS[2:0] are programmed to be 1 and 5, respectively, then WDTCR will be
initialized to be 0x2D when MCU is powered up, as shown below.
6
-
6
-
HWENW
5
5
-
PSEN
MG84FL54B Data Sheet
4
4
-
HWWIDL
3
3
-
HWPS2
2
2
-
HWPS1
1
1
-
HWPS0
0
0
-
MEGAWIN

Related parts for mg84fl54b