EM78P510N
8-Bit Microcontrollers
Bits 2~0 (TPSR2~TPSR0): TCC Prescaler Bits
TPSR2
TPSR1
TPSR0
Prescaler
1:2 (Default)
1 : 4
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
1 : 8
1 : 16
1 : 32
1 : 64
1 : 128
1 : 256
6.2.15 Bank 0 RE IMR (Interrupt Mask Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TCIE
T1IE
LVDIE
ADIE
SPIE
URTIE
EXIE9
EXIE8
Bits 7~0 (T1IE~TCIE): Interrupt Enable Bit. Enable interrupt source respectively.
0 : Disable interrupt
1 : Enable interrupt
External Interrupt
Secondary
function Pin
Digital Noise
Reject
INT pin
Enable Condition
Edge
INT8
INT9
P82, AD8
ENI+EXIE8(IMR1)
ENI+EXIE9(IMR2)
Rising or Falling
Rising or Falling
2/Fc
2/Fc
P83, COM7, AD7
INT8~INT9: Pulse less then 2/Fc is eliminated as noise. Pulse less then 5/Fc is
eliminated as noise.
6.2.16 Bank 0 RF ISR (Interrupt Status Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
T1IF
LVDIF
ADIF
SPIF
URTIF
EXIF9
EXIF8
TCIF
These bits are set to “1” when interrupt occurs respectively.
Bit 7 (T1IF): Interrupt Flag of Timer 1 Interrupt
Bit 6 (LVDIF): Interrupt Flag of Low Voltage Detector Interrupt
Bit 5 (ADIF): Interrupt Flag of A/D Convert Complete
Bit 4 (SPIIF): Interrupt Flag of SPI Transfer Complete
Bit 3 (URTIF): Interrupt Flag of UART Transfer Complete
Bit 2 (EXIF9): Interrupt Flag of External Interrupt 9 occurs
Bit 1 (EXIF8): Interrupt Flag of External Interrupt 8 occurs.
Bit 0 (TCIF): Interrupt Flag of TCC overflow
18 •
Product Specification (V0.9) 09.12.2006
(This specification is subject to change without further notice)