Toshiba – Toshiba TMP87CP24AF User Manual

Page 41

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

TOSHIBA

TMP87CM24A/P24A

External interrupt Control Register 1

7

6

5

4

EINTCR

(0037

h

)

IN TI

IN TO

IN T3

IN T2

IN TI

IN T3W

N C

EN

ES

ES

ES

(initial value

0 0

**

0 0 0 0

)

INT1NC

Noise reject time select

0 : Pulses of less than 63/fc [s] are eliminated as noise

1 : Pulses of less than 15/fc [s] are eliminated as noise

INTOEN

P10/INT0 pin configuration

0 : P10 input/output

1 : INTO pin (port PI 0 should be set to an input mode)

INT3ES

0 : Rising edge

INT2ES

INT3tolNT1 edge select

INTIES

1 : Falling edge

INT3W

INT3 both edge selection

0 : Refer to INT3ES

1 : Both edge detection

R/W

Note 1 : fc: High-frequency clock [Hz]

*: Don't care

Figure 1-26. (a) External Interrupt Control Register

External interrupt Control Register 2

EINT3CR

(

001

F

h

)

IN T

'

M f-c

'

IN T3

EO T 1

1

D ET

(initial value :

0 0 0 0

0

***)

INTEDT

Flag indicating an interrupt at

selected edge/non-selected
edge, when INT3W = 1 (for

both-edge interrupts).

0 : Interrupt at selected edge or no interrupt

1 : Interrupt at non-selected edge

R

NCS

Noise cancellation time select

for INT3 digital noise filter (valid
only when INT3W = 1)

0 0 0
0 0 1
0 10

oil

10 0
10 1
110
111

No noise cancellation

Cancels (2®/fc x 7

-

6

/fc) as noise.

Cancels (27fc x 7

-

6

/fc) as noise.

Cancels (2®/fc x 7

-

6

/fc) as noise.

Cancels (2®/fc x 7

-

6

/fc) as noise.

Cancels (2’°/fc x 7

-

6

/fc) as noise.

Cancels (2"/fc x 7

-

6

/fc) as noise.

Cancels (2’Vfc x 7

-

6

/fc) as noise.

R/W

INT3DET

INT3 interrupt detection flag

0 : No interrupt

1 : Interrupt

R

Note 1: INTEDT and NCS are valid only when the INT3W bit in EINTCR (#0037

h

) is set to 1.

Therefore, when INT3W = 0, the digital noise filter set by the NCS bit is disabled.

Figure 1-26. (b) External Interrupt Control Register 2

3

-

24-41

2002

-

10-03

Advertising
This manual is related to the following products: