atmega163l ATMEL Corporation, atmega163l Datasheet - Page 123
atmega163l
Manufacturer Part Number
atmega163l
Description
Atmega163 8-bit Avr Microcontroller With 16k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
1.ATMEGA163L.pdf
(187 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
atmega163l-4AI
Manufacturer:
ATMEL
Quantity:
984
- Current page: 123 of 187
- Download datasheet (3Mb)
Port C
The Port C Data Register –
PORTC
The Port C Data Direction
Register – DDRC
The Port C Input Pins Address
– PINC
Port C as General Digital I/O
1142E–AVR–02/03
Port C is an 8-bit bi-directional I/O port with internal pull-ups.
Three I/O memory address locations are allocated for the Port C, one each for the Data
Register – PORTC, $15($35), Data Direction Register – DDRC, $14($34) and the Port C
Input Pins – PINC, $13($33). The Port C Input Pins address is read only, while the Data
Register and the Data Direction Register are read/write.
All port pins have individually selectable pull-up resistors. The PORT C output buffers
can sink 20 mA and thus drive LED displays directly. When pins PC0 to PC7 are used
as inputs and are externally pulled low, they will source current if the internal pull-up
resistors are activated.
Table 47. Port C Pins Alternate Functions
The Port C Input Pins Address – PINC – is not a register, and this address enables
access to the physical value on each Port C pin. When reading PORTC, the PORTC
Data Latch is read, and when reading PINC, the logical values present on the pins are
read.
All eight bits in PORT C are equal when used as digital I/O pins.
PCn, General I/O pin: The DDCn bit in the DDRC Register selects the direction of this
pin, if DDCn is set (one), PCn is configured as an output pin. If DDCn is cleared (zero),
PCn is configured as an input pin. If PORTCn is set (one) when the pin configured as an
input pin, the MOS pull up resistor is activated. To switch the pull up resistor off,
PORTCn has to be cleared (zero), the pin has to be configured as an output pin, or the
PUD bit has to be set. The Port C pins are tri-stated when a reset condition becomes
active, even if the clock is not running.
Bit
$15 ($35)
Read/Write
Initial Value
Bit
$14 ($34)
Read/Write
Initial Value
Bit
$13 ($33)
Read/Write
Initial Value
Port Pin
PC0
PC1
PC6
PC7
PORTC7
PINC7
DDC7
R/W
R/W
N/A
R
7
0
7
0
7
Alternate Function
SCL (Two-wire Serial Bus Clock Line)
SDA (Two-wire Serial Bus Data Input/Output Line)
TOSC1 (Timer Oscillator Pin 1)
TOSC2 (Timer Oscillator Pin 2)
PORTC6
PINC6
DDC6
R/W
R/W
N/A
6
0
6
0
6
R
PORTC5
PINC5
DDC5
R/W
R/W
N/A
R
5
0
5
0
5
PORTC4
PINC4
DDC4
R/W
R/W
N/A
R
4
0
4
0
4
PORTC3
PINC3
DDC3
R/W
R/W
N/A
R
3
0
3
0
3
PORTC2
PINC2
DDC2
R/W
R/W
N/A
2
0
2
0
2
R
ATmega163(L)
PORTC1
PINC1
DDC1
R/W
R/W
N/A
R
1
0
1
0
1
PORTC0
PINC0
DDC0
R/W
R/W
N/A
R
0
0
0
0
0
PORTC
DDRC
PINC
123
Related parts for atmega163l
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
U6046BREAR WINDOW HEATING TIMER / LONG-TERM TIMER
Manufacturer:
ATMEL Corporation
Datasheet: