English
Language : 

HPC46100 Datasheet, PDF (12/32 Pages) National Semiconductor (TI) – HPC46100 High-Performance microController with DSP Capability
I O Ports
PORT A
Port A is a 16-bit multiplexed address data bus used for
accessing external program and data memory Four associ-
ated bus control signals are available on port B The Ad-
dress Latch Enable (ALE) signal is used to provide timing to
demultiplex the bus Reading from and writing to external
memory are signalled by RD and WR respectively External
memory can be addressed as either bytes or words with the
decoding controlled by two lines Bus High Bus Enable
(HBE) and Address Data line 0 (A0)
PORT B
Port B is a 16-bit port with 12 bits of bidirectional I O B10
B11 B12 and B15 are the control bus signals for the ad-
dress data bus Port B may also be configured via a func-
tion register BFUN to individually allow each bidirectional
I O pin to have an alternate function The direction of port B
is determined by the direction register (DIRB) This register
is used to set up each pin to be individually defined as an
input or output A specific I O bit is selected as a high im-
pedance input by clearing the corresponding bit in the direc-
tion register It is selected as an output by setting this bit
The data register (PORTB) is used to hold data to be output
on the B port A write operation to a port pin configured as
an input causes the value to be written into the data regis-
ter a read operation returns the value of the pin Writing to
port pins configured as outputs causes the pins to have
the same value reading the pins returns the value of the
data register Figure 12 through Figure 14 show the struc-
ture of Port B
Port B may also be configured via a 16-bit alternate function
register BFUN to individually allow each pin to have an al-
ternate function The alternate functions are enabled by set-
ting the corresponding bits in the BFUN register The alter-
nate B port functions are as follows
Pin Alternate
Function
B0 TDX
UART Data Output
B1 E
E signal output
B2 CKX
UART Clock
B3 T2IO
Timer2 I O Pin
B4 T3IO
Timer3 I O Pin
B5 SO
MICROWIRE PLUS Output (data)
B6 SK
MICROWIRE PLUS Clock
B7 HLDA
Hold Acknowledge Output
B8 TS0 CS0 Timer Synchronous or Chip Select Output
B9 TS1 CS1 Timer Synchronous or Chip Select Output
B10 ALE
Address data bus Address Latch Enable
B11 WR
Address data bus Write Output
B12 HBE
Address data bus High Byte Enable
B13 TS2 CS2 Timer Synchronous or Chip Select Output
B14 TS3 CS3 Timer Synchronous or Chip Select Output
B15 RD
Address data bus Read Output
FIGURE 12 Structure of Port B Pins B0 B1 B2 B5 B6 and B7 (Typical Pins)
TL DD 11289 – 14
12