ATxmega128B3 Atmel Corporation, ATxmega128B3 Datasheet - Page 129

no-image

ATxmega128B3

Manufacturer Part Number
ATxmega128B3
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATxmega128B3

Flash (kbytes)
128 Kbytes
Pin Count
64
Max. Operating Frequency
32 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
36
Ext Interrupts
36
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
2
Twi (i2c)
1
Uart
1
Segment Lcd
100
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
12
Adc Speed (ksps)
2000
Analog Comparators
2
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
AES/DES
Sram (kbytes)
4
Eeprom (bytes)
2048
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.6 to 3.6
Operating Voltage (vcc)
1.6 to 3.6
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
6
Input Capture Channels
6
Pwm Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATxmega128B3-AU
Manufacturer:
Atmel
Quantity:
10 000
12.3
8291A–AVR–10/11
I/O Pin Use and Configuration
Figure 12-1 on page 129
controlling a pin.
Figure 12-1. General I/O pin functionality.
Each port has one data direction (DIR) register and one data output value (OUT) register that
are used for port pin control. The data input value (IN) register is used for reading the port pins.
In addition, each pin has a pin configuration (PINnCTRL) register for additional pin configuration.
Direction of the pin is decided by the DIRn bit in the DIR register. If DIRn is written to one, pin n
is configured as an output pin. If DIRn is written to zero, pin n is configured as an input pin.
When direction is set as output, the OUTn bit in OUT is used to set the value of the pin. If OUTn
is written to one, pin n is driven high. If OUTn is written to zero, pin n is driven low.
The IN register is used for reading pin values. A pin value can always be read regardless of
whether the pin is configured as input or output, except if digital input is disabled.
The I/O pins are tri-stated when a reset condition becomes active, even if no clocks are running.
PINnCTRL
D
D
D
Q
OUTn
DIRn
INn
shows the I/O pin functionality and the registers that are available for
R
R
R
R
Synchronizer
Analog Input/Output
Q
Q
Q
D
Digital Input Pin
Q
R
C
o
n
o
L
o
g
c
r
t
l
i
D
Pull Enable
Pull Keep
Pull Direction
Input Disable
Wired AND/OR
Slew Rate Limit
Inverted I/O
Atmel AVR XMEGA B
Pxn
129

Related parts for ATxmega128B3