beautypg.com

Maxim Integrated 71M6513H Power Meter IC Family Software User Manual

Page 128

background image

71M651x Software User’s Guide

Timer/Counter Control Register (TCON)

MSB

LSB

tf1

tr1

tf0

tr0

ie1

it1

ie0

it0

Table 6-47: The TCON Register

Bit

Symbol

Function

TCON.7

tf1

Timer 1 overflow flag

TCON.6

tr1

Not used for interrupt control

TCON.5

tf0

Timer 0 overflow flag

TCON.4

tr0

Not used for interrupt control

TCON.3

ie1

External interrupt 1 flag

TCON.2

it1

External interrupt 1 type control bit

TCON.1

ie0

External interrupt 0 flag

TCON.0

it0

External interrupt 0 type control bit

Table 6-48: The TCON Bit Functions

Interrupt Request Register (IRCON)

MSB

LSB

iex6

iex5

iex4

iex3

iex2

Table 6-49: The IRCON Register

Bit

Symbol

Function

IRCON.7

-

IRCON.6

-

IRCON.5

iex6

External interrupt 6 edge flag

IRCON.4

iex5

External interrupt 5 edge flag

IRCON.3

iex4

External interrupt 4 edge flag

IRCON.2

iex3

External interrupt 3 edge flag

IRCON.1

iex2

External interrupt 2 edge flag

IRCON.0

-

Table 6-50: The IRCON Bit Functions

Only tf0 and tf1 (timer 0 and timer 1 overflow flag) will be automatically cleared by hardware when the service

routine is called (Signals t0ack and t1ack – port ISR – active high when the service routine is called).

Revision 2.4

TERIDIAN Proprietary

128 of 137

© Copyright 2005-2006 TERIDIAN Semiconductor Corporation