EasyManua.ls Logo

Atmel AVR AT90S2313 User Manual

Atmel AVR AT90S2313
91 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #57 background imageLoading...
Page #57 background image
57
AT90S2313
0839G–08/01
Figure 43. Port B Schematic Diagram (Pin PB7)
Port D Three I/O memory address locations are allocated for the Port D: one each for the Data
Register – PORTD, $12($32), Data Direction Register – DDRD, $11($31) and the Port D
Input Pins – PIND, $10($30). The Port D Input Pins address is read-only, while the Data
Register and the Data Direction Register are read/write.
Port D has seven bi-directional I/O pins with internal pull-up resistors, PD6..PD0. The
Port D output buffers can sink 20 mA. As inputs, Port D pins that are externally pulled
low will source current if the pull-up resistors are activated.
Some Port D pins have alternate functions as shown in Table 19:
When the pins are used for the alternate function, the DDRD and PORTD registers have
to be set according to the alternate function description.
Table 19. Port D Pin Alternate Functions
Port Pin Alternate Function
PD0 RXD (Receive data input for the UART)
PD1 TXD (Transmit data output for the UART)
PD2 INT0 (External interrupt 0 input)
PD3 INT1 (External interrupt 1 input)
PD4 TO (Timer/Counter0 external input)
PD5 T1 (Timer/Counter1 external input)
PD6 ICP (Timer/Counter1Input Capture pin)

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Atmel AVR AT90S2313 and is the answer not in the manual?

Atmel AVR AT90S2313 Specifications

General IconGeneral
ArchitectureAVR
CPU8-bit
ManufacturerAtmel
ModelAT90S2313
Flash Memory2 KB
SRAM128 Bytes
EEPROM128 Bytes
Clock SpeedUp to 10 MHz
I/O Pins15
Timer1 x 8-bit, 1 x 16-bit
Operating Temperature Range-40°C to +85°C
Data Bus Width8-bit
Communication InterfacesUSART
PackageSOIC
SeriesAVR AT90S

Summary

Features

Pin Configuration

Pin Descriptions

Explains the function of each pin on the microcontroller.

Crystal Oscillator

Architectural Overview

Program and Data Addressing Modes

Explains how the MCU accesses memory.

I/O Memory

Reset and Interrupt Handling

Describes reset sources and interrupt vectors.

Watchdog Timer

Details the Watchdog Timer functionality and control.

EEPROM Read/Write Access

UART

Analog Comparator

I/O Ports

Memory Programming

Programming the Flash and EEPROM

Procedures for writing Flash and EEPROM.

Parallel Programming

Details the parallel programming interface and commands.

Serial Downloading

Explains serial programming via SPI.

Related product manuals