|
Weltrend Semiconductor |
WT51F108S/104S
3T 8052 Micro-controller with ADC Function
WT51F108S/104S
3T 8052 Micro-controller
with ADC Function (FLASH)
Data Sheet
Rev. 1.0
June 2016
Copyright Notice
This data sheet is copyrighted by Weltrend Semiconductor, Inc. Do not reproduce, transform to any other format, or
send/transmit any part of this documentation without the express written permission of Weltrend Semiconductor, Inc.
Disclaimers
Right to make change –
This document provides technical information for user. Weltrend Semiconductor, Inc. reserves the right to make change
without further notice to any products herein.
Copyright 2016 Weltrend Semiconductor, Inc. All Rights Reserved.
Weltrend reserves right to modify all information contained in this document without notice.
WT51F108S/104S
1T 8052 Micro-controller with ADC Function
Table of Contents
1. General Description .....................................................................................................................3
2. Features ........................................................................................................................................4
3. Block Diagram ..............................................................................................................................5
3.1 System Clock Tree..................................................................................................................................6
4. Pin Configuration .........................................................................................................................7
4.1 Pin Description........................................................................................................................................9
4.2 Pin Summary ........................................................................................................................................12
4.3 Port Structure........................................................................................................................................14
5. Normal Function.........................................................................................................................19
5.1 CPU ......................................................................................................................................................19
5.2 RAM ......................................................................................................................................................19
5.3 Flash Memory .......................................................................................................................................21
5.4 Memory Mapping ..................................................................................................................................22
5.5 In-System Programming (ISP) (Important!!! Must Read!!!) ..................................................................26
5.6 Timer/Counter .......................................................................................................................................29
5.7 Reset ....................................................................................................................................................32
5.8 System Clock and Clock sources .........................................................................................................34
6. Enhanced Function ....................................................................................................................36
6.1 External Special Function Register (XFR)............................................................................................36
6.2 I/O Port .................................................................................................................................................40
6.3 Interrupt ................................................................................................................................................52
6.4 Universal Asynchronous Receiver-Transmitter (UART) .......................................................................63
6.5 External Interrupt Request (IRQ)..........................................................................................................68
6.6 Pulse Width Modulation (PWM)............................................................................................................71
6.7 Power Management .............................................................................................................................77
6.8 12 MHz/24 MHz RC Oscillator Calibration ...........................................................................................90
6.9 Watchdog Timer and Watch Timer .......................................................................................................94
6.10 I²C Serial Interface................................................................................................................................98
6.11 Enhanced Timer/Counter....................................................................................................................102
6.12 Analog/Digital Converter (ADC)..........................................................................................................107
6.13 Low Voltage Reset (LVR)....................................................................................................................113
6.14 Low Voltage Detection (LVD)..............................................................................................................114
6.15 Low Voltage Detection Reset (LVDR).................................................................................................115
6.16 Emulated E²PROM .............................................................................................................................117
6.17 Code Option........................................................................................................................................121
6.18 Read Out Protection ...........................................................................................................................131
6.19 Internal Voltage Reference Source (BandGap) ..................................................................................132
Copyright 2016 Weltrend Semiconductor, Inc. All Rights Reserved.
Weltrend reserves right to modify all information contained in this document without notice.
-1-
|