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 #51 background imageLoading...
Page #51 background image
51
AT90S2313
0839G–08/01
• Bit 3 – ACIE: Analog Comparator Interrupt Enable
When the ACIE bit is set (one) and the I-bit in the Status Register is set (one), the Ana-
log Comparator interrupt is activated. When cleared (zero), the interrupt is disabled.
• Bit 2 – ACIC: Analog Comparator Input Capture Enable
When set (one), this bit enables the Input Capture function in Timer/Counter1 to be trig-
gered by the Analog Comparator. The comparator output is, in this case, directly
connected to the Input Capture front-end logic, making the comparator utilize the noise
canceler and edge-select features of the Timer/Counter1 Input Capture interrupt. When
cleared (zero), no connection between the Analog Comparator and the Input Capture
function is given. To make the comparator trigger the Timer/Counter1 Input Capture
interrupt, the TICIE1 bit in the Timer Interrupt Mask Register (TIMSK) must be set (one).
• Bits 1,0 – ACIS1, ACIS0: Analog Comparator Interrupt Mode Select
These bits determine which comparator events trigger the Analog Comparator interrupt.
The different settings are shown in Table 16.
Note: When changing the ACIS1/ACIS0 bits, the Analog Comparator Interrupt must be dis-
abled by clearing its Interrupt Enable bit in the ACSR register. Otherwise an interrupt can
occur when the bits are changed.
Table 16. ACIS1/ACIS0 Settings
ACIS1 ACIS0 Interrupt Mode
0 0 Comparator Interrupt on Output Toggle
01Reserved
1 0 Comparator Interrupt on Falling Output Edge
1 1 Comparator Interrupt on Rising Output Edge

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