Electronic Components Datasheet Search
  English  ▼

X  

CR16MCS5 Datasheet(PDF) 13 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Part # CR16MCS5
Description  Family of 16-bit CAN-enabled CompactRISC Microcontrollers
PDF  156 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NSC [National Semiconductor (TI)]
Direct Link  http://www.national.com
Logo NSC - National Semiconductor (TI)

CR16MCS5 Datasheet(HTML) 13 Page - National Semiconductor (TI)

Back Button CR16MCS5 Datasheet HTML 9Page - National Semiconductor (TI) CR16MCS5 Datasheet HTML 10Page - National Semiconductor (TI) CR16MCS5 Datasheet HTML 11Page - National Semiconductor (TI) CR16MCS5 Datasheet HTML 12Page - National Semiconductor (TI) CR16MCS5 Datasheet HTML 13Page - National Semiconductor (TI) CR16MCS5 Datasheet HTML 14Page - National Semiconductor (TI) CR16MCS5 Datasheet HTML 15Page - National Semiconductor (TI) CR16MCS5 Datasheet HTML 16Page - National Semiconductor (TI) CR16MCS5 Datasheet HTML 17Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 156 page
background image
13
www.national.com
6.0
Input/Output Ports
Each device has up to 56 software-configurable I/O pins, or-
ganized into seven ports of up to eight pins per port. The
ports are named Port B, Port C, Port F, Port G, Port H, Port
I, and Port L.
Each pin can be configured to operate as a general-purpose
input or general-purpose output. In addition, many I/O pins
can be configured to operate as a designated input or output
for an on-chip peripheral module such as the USART or the
Multi-Input Wakeup. This is called the pin's “alternate func-
tion.” The alternate functions of all I/O pins are shown in the
pinout diagrams in Table1.
The I/O pin characteristics are fully programmable. Each pin
can be configured to operate as a TRI-STATE output, push-
pull output, weak pull-up input, or high-impedance input. Dif-
ferent pins within the same port can be individually config-
ured to operate in different modes.
Figure1 is a diagram showing the functional features of an I/
O port pin. The register bits, multiplexers, and buffers allow
the port pin to be configured into the various operating
modes.The output buffer is a TRI-STATE buffer with weak
pull-up capability. The weak pull-up, if used, prevents the port
pin from going to an undefined state when it operates as an
input.
The input buffer is disabled when it is not needed to prevent
leakage current caused by an input signal’s level between
Vcc-0.2 and Vss+0.2 [Volts]. When enabled, it buffers the in-
put signal and sends the pin's logic level to the appropriate
on-chip module where it is latched. A Schmitt-Trigger mini-
mizes the effects of electrical noise.
The electrical characteristics and drive capabilities of the in-
put and output buffers are described in Section25.0.
For some pins, a direct low-impedance path is provided be-
tween the pin and an internal analog function. These are the
input pins to the A/D converter and the analog comparators.
6.1
PORT REGISTERS
Each port has an associated set of memory-mapped regis-
ters used for controlling the port and for holding the port data.
In general, there are five such registers:
— PxALT: Port alternate function register
— PxDIR: Port direction register
— PxDIN: Port data input register
— PxDOUT: Port data output register
— PxWKPU: Port weak pull-up register
In the descriptions of the ports and port registers, the lower-
case letter “x” represents the port designation, either B, C, F,
G, H, I, or L. For example, “PxDIR register” means any one
of the port direction registers: PBDIR, PCDIR, PFDIR, and so
on.
All of the port registers are byte-wide read/write registers, ex-
cept for the port data input registers, which are read-only reg-
isters. Each register bit controls the function of the
corresponding port pin. For example, PFDIR.2 (bit 2 of the
PFDIR register) controls the operation of port pin PF2.
Figure 1.
I/O Pin Functional Diagram
PIN
Direction
Data Out
Register
{
Direction
Register
{
Weak pull-up
Register
{
Alternate Data Input
Weak pull-up
Data Out
Alt Device Data Output
Alt
Alt
Alt Device Direction
Data In Read Strobe
Alt
Data Input
Alt
1
Alternate Function
enable
*



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com