at83c5122 ATMEL Corporation, at83c5122 Datasheet - Page 54

no-image

at83c5122

Manufacturer Part Number
at83c5122
Description
At83c5123 C51 Microcontroller With Usb And Smart Card Reader Interfaces
Manufacturer
ATMEL Corporation
Datasheet
Port 1
Port 2
54
Port
P1.2
P1.6
P1.7
Alternate Function
Signal
CIO
CC8
CPRES
CC4
CCLK
CRST
SS
CCLK1
AT8xC5122/23
Description
Smart card interface function
Card I/O
Smart card interface function
Card contact 8
Smart card interface function
Card presence
Smart card interface function
Card contact 4
Smart card interface function
Card clock
Smart card interface function
Card reset
SS pin of the SPI function
Alternate Card Clock output
Port 1 has the following functions:
Table 31. Port 1 Description.
Port 2 has the following functions:
Port 2 has the following configurations:
Default function : Only Port 1.2, P1.6 and P1.7 are standard I/O’s; the other
ports can be activated only with the SCIB function.
Alternate function and configuration: see Table 31.
Default function: Port 2 is an 8-bit I/O port.
Alternate function 1: Port 2 is also the multiplexed high-order address during
accesses to external Program and Data Memory. In this application, it uses
strong internal pull-ups when emitting 1’s and it can drive CMOS inputs
without external pull-ups.
Default configuration: Pseudo bi-directional “Port51” digital input/output with
internal pull-ups.
Configuration 1: Push-pull output
Configuration 2: Low speed output, “KB_OUT
Configuration 3: Input with weak pull-up, “WPU input”
Configuration
Mode
Quasi-bidirectional port supplied by
DC/DC converter
Quasi-bidirectional port supplied by
DC/DC converter
Quasi-bidirectional port supplied by VCC
Quasi-bidirectional port supplied by
DC/DC converter
Push-Pull port supplied by DC/DC
converter
Push-Pull port supplied by DC/DC
converter
Quasi-bidirectional supplied by VCC
Quasi-bidirectional supplied by VCC
Quasi-bidirectional supplied by VCC
Comments
Low level at reset.
Caution : if DPU bit is set in AUXR register, the
weak-pull of the port is disabled
Low level at reset
Caution : if DPU bit is set in AUXR register, the
weak-pull of the port is disabled
Weak & medium pull-up’s can be disconnected
by CPRESRES bit in PMOD0 regsiter
High Level at reset
Low level at reset
Caution : if DPU bit is set in AUXR register, the
weak-pull of the port is disabled
Low level at reset
Low level at reset
Alternate Card Clock function disabled
Alternate Smart Card Clock enabled
Switched automatically to Push-pull (see Table
47 on page 82 )
4202E–SCR–06/06

Related parts for at83c5122