Contents
Product Specification (V1.2) 04.21.2016 iii
1 General Description ................................................................................................ 1
2 Features ................................................................................................................... 1
3 Pin Assignment ....................................................................................................... 2
4 Pin Description ........................................................................................................ 3
4.1 EM78P173N-14PIN .......................................................................................... 3
4.2 EM78P173N-10PIN .......................................................................................... 4
5 Block Diagram ......................................................................................................... 5
6 Functional Description ............................................................................................ 6
6.1 Operational Registers ....................................................................................... 6
6.1.1 R0 (Indirect Addressing Register) ....................................................................... 6
6.1.2 R1 (Timer Clock/Counter) ................................................................................... 6
6.1.3 R2 (Program Counter and Stack) ........................................................................ 6
6.1.4 R3 (Status Register) ............................................................................................ 8
6.1.5 R4 (RAM Select Register) ................................................................................... 8
6.1.6 R5 ~ R6 (Port 5 ~ Port 6) .................................................................................... 8
6.1.7 Bank 0 RE (LVD Control Register) ...................................................................... 9
6.1.8 Bank 0 RF (Interrupt Status Register) ................................................................. 9
6.1.9 Bank 1 R5 (TBHP: Table Point Register for Instruction TBRD) ........................ 10
6.1.10 Bank 1 R6 (TBLP: Table Point Register for Instruction TBRD) ......................... 10
6.1.11 Bank 1 RE (LVD Interrupt and Wake-up Register) ............................................ 10
6.1.12 Bank 1 RF (System Control Register) ............................................................... 11
6.1.13 R10 ~ R3F ......................................................................................................... 14
6.2 Special Function Registers ............................................................................. 15
6.2.1 A (Accumulator) ................................................................................................. 15
6.2.2 CONT (Control Register) ................................................................................... 15
6.2.3 IOC5 ~ IOC6 (I/O Port Control Register) .......................................................... 16
6.2.4 IOCB (Pull-down Control Register) ................................................................... 16
6.2.5 IOCC (Open-drain Control Register) ................................................................. 16
6.2.6 IOCD (Pull-high Control Register) ..................................................................... 17
6.2.7 IOCE (WDT Control Register) ........................................................................... 17
6.2.8 IOCF (Interrupt Mask Register) ......................................................................... 18
6.3 TCC/WDT and Prescaler ................................................................................ 18
6.4 I/O Ports ......................................................................................................... 19
6.5 Reset and Wake-up ........................................................................................ 22
6.5.1 Reset ................................................................................................................. 22
6.5.2 Wake-up and Interrupt Modes Operation Summary ......................................... 24
6.5.3 Summary of Registers Initialized Values ........................................................... 25
6.5.4 Status of RST, T, and P of the Status Register .................................................. 27
6.6 Interrupt .......................................................................................................... 29
评论0
最新资源