beautypg.com

Maxq7667 user’s guide – Maxim Integrated MAXQ7667 User Manual

Page 93

background image

__________________________________________________________________________________________________________

5-18

MAXQ7667 User’s Guide

PORT P0

PIN

FUNCTION

TYPE

FUNCTION

ENABLED WHEN

MULTIPLEXING/PRIORITIZATION

Special

T2—Timer 2 (Type 2) Output

(T2CNA2.6) T2OE0 = 1

Special

T2—Timer 2 (Type 2) Counter Input

(T2CFG2.0) C/T2 = 1 (T2CFG2[2:1])

CCF[1:0] =! 00b (T2CNA2.6) T2OE0

must be 0

Special

T2—Timer 2 (Type 2) Gate Input

(T2CNA2.0) G2EN = 1 or

(T2CFG2[2:1])

CCF[1:0] = 11b and

(T2CNA2.2) CPRL2 = 1

(T2CNA2.6) T2OE0 must be 0

(T2CFG2.0) C/T2 must be 0

P0.6/T2

Alternate

External Interrupt 6, Input

(EIE0.6) EX6 = 1

This port pin defaults to a weak pullup input

after a reset. If interrupt 6 is enabled, T2 is

not permitted at this pin.

Special

T2B—Timer 2 (Type 2) Secondary

Output

(T2CNB2.6) T20E1 = 1

P0.7/T2B

Alternate

External Interrupt 7, Input

(EIE0.7) EX7 = 1

This port pin defaults to a weak pullup input

after a reset. If interrupt 7 is enable, T2B is

not permitted at this pin.

Table 5-4. Port P0 Pin Special and Alternate Functions (continued)

PORT P1

PIN

FUNCTION

TYPE

FUNCTION

ENABLED WHEN

MULTIPLEXING/PRIORITIZATION

Special

TD0—JTAG Data Out, Output

(SC.7) TAP = 1

P1.0/TD0

Alternate

External Interrupt 0, Input

(EIE1.0) EX0 = 1

The JTAG is the defaulted interface and this

port pin is configured as an output and is

ready for JTAG interface after a reset. When

this pin is used as an external interrupt, the

test serial data output function on this pin is

disabled. This pin is normally weakly pulled

up to DVDDIO unless the JTAG interface is

in Shift-DR or Shift-IR states where it is

actively putting out data.

Special

TMS—JTAG Mode Select, Input

(SC.7) TAP = 1

P1.1/TMS

Alternate

External Interrupt 1, Input

(EIE1.1) EX1 = 1

This port pin defaults to a weak pullup input

and is ready for JTAG interface after a reset.

No special hardware measure is taken.

Special

TDI—JTAG Data In, Input

(SC.7) TAP = 1

P1.2/TDI

Alternate

External Interrupt 2, Input

(EIE1.2) EX2 = 1

This port pin defaults to a weak pullup input

and is ready for JTAG interface after a reset.

No special hardware measure is taken.

Special

TCK—JTAG Clock In, Input

(SC.7) TAP = 1

P1.3/TCK

Alternate

External Interrupt 3, Input

(EIE1.3) EX3 = 1

This port pin defaults to a weak pullup input

and is ready for JTAG interface after a reset.

No special hardware measure is taken.

Special

MOSI—Master Out-Slave In,

Slave Mode, Input

Special

MOSI—Master Out-Slave In,

Master Mode, Output

P1.4/MOSI

Alternate

External Interrupt 4, Input

(EIE1.4) EX4 = 1

This port pin defaults to a weak pullup input

after a reset. If interrupt 4 is enabled, MOSI

is not permitted at this pin.

Special

MISO—Master In-Slave Out,

Master Mode, Input

Special

MISO—Master In-Slave Out,

Slave Mode, Output

P1.5/MISO

Alternate

External Interrupt 5, Input

(EIE1.5) EX5 =1

This port pin defaults to a weak pullup input

after a reset. If interrupt 5 is enabled, MOSI

is not permitted at this pin.

Table 5-5. Port P1 Pin Special and Alternate Functions