em78p164n ELAN Microelectronics Corp, em78p164n Datasheet - Page 4

no-image

em78p164n

Manufacturer Part Number
em78p164n
Description
8-bit Microcontroller With Otp Rom
Manufacturer
ELAN Microelectronics Corp
Datasheet
Contents
iv •
6
5.3
5.4
5.5
5.6
5.7
5.8
5.9
5.10 Oscillator .......................................................................................................... 40
5.11 Power-on Considerations ................................................................................. 43
5.12 Code Option Register....................................................................................... 45
5.13 Instruction Set .................................................................................................. 48
Absolute Maximum Ratings ................................................................................... 51
TCC/WDT and Prescaler.................................................................................. 19
I/O Ports ........................................................................................................... 20
Reset and Wake-up.......................................................................................... 23
Interrupt ............................................................................................................ 32
PWM (Pulse Width Modulation) ....................................................................... 34
Timer ................................................................................................................ 36
Comparator ...................................................................................................... 38
5.5.1
5.5.2
5.5.3
5.5.4
5.7.1
5.7.2
5.7.3
5.7.4
5.7.5
5.7.6
5.8.1
5.8.2
5.8.3
5.8.4
5.9.1
5.9.2
5.9.3
5.9.4
5.10.1 Oscillator Modes................................................................................................40
5.10.2 Crystal Oscillator/Ceramic Resonators (Crystal)...............................................41
5.10.3 External RC Oscillator Mode.............................................................................42
5.10.4 Internal RC Oscillator Mode ..............................................................................43
5.11.1 External Power-on Reset Circuit .......................................................................44
5.11.2 Residual Voltage Protection ..............................................................................44
5.12.1 Code Option Register (Word 0).........................................................................45
5.12.2 Code Option Register (Word 1).........................................................................46
5.12.3 Customer ID Register (Word 2).........................................................................47
Reset .................................................................................................................23
Wake-up and Interrupt Modes Operation Summary .........................................25
/RESET Configuration .......................................................................................31
Status of RST, T, and P of the Status Register..................................................31
Overview ...........................................................................................................34
Increment Timer Counter (TMRX: TMRH/TMRL)..............................................35
PWM Time Period (PRDX: TMRH/PRDL).........................................................35
PWM Duty Cycle (DTX: TMRH/DTL) ................................................................36
Comparator .......................................................................................................36
PWM Programming Process/Steps...................................................................36
Overview ...........................................................................................................36
Function Description..........................................................................................37
Programming the Related Registers .................................................................37
Timer Programming Process/Steps...................................................................37
External Reference Signal ................................................................................38
Comparator Outputs..........................................................................................39
Comparator Interrupt .........................................................................................39
Wake-up from Sleep Mode................................................................................39
5.8.3.1 TMR Related Control Registers .........................................................37
Product Specification (V1.4) 05.28.2010

Related parts for em78p164n