Module avrd::attiny3216 [] [src]

The AVR ATtiny3216 microcontroller

Variants

Pinout Package Operating temperature Operating voltage Max speed
ATtiny3216-SFR SOIC20 SOIC20 -40°C - 125°C 1.8V - 5.5V 20 MHz
ATtiny3216-SNR SOIC20 SOIC20 -40°C - 105°C 1.8V - 5.5V 20 MHz

Registers by module (not exhaustive)

PORT modules

  • PORTA
    • PA0 (PA0)
    • PA1 (PA1)
    • PA2 (PA2)
    • PA3 (PA3)
    • PA4 (PA4)
    • PA5 (PA5)
    • PA6 (PA6)
    • PA7 (PA7)
  • PORTB
    • PB0 (PB0)
    • PB1 (PB1)
    • PB2 (PB2)
    • PB3 (PB3)
    • PB4 (PB4)
    • PB5 (PB5)
    • PB6 (PB6)
    • PB7 (PB7)
  • PORTC
    • PC0 (PC0)
    • PC1 (PC1)
    • PC2 (PC2)
    • PC3 (PC3)
    • PC4 (PC4)
    • PC5 (PC5)

ADC modules

  • ADC0
    • PA0 (PA0)
    • PA1 (PA1)
    • PA2 (PA2)
    • PA3 (PA3)
    • PA4 (PA4)
    • PA5 (PA5)
    • PA6 (PA6)
    • PA7 (PA7)
    • PB5 (PB5)
    • PB4 (PB4)
    • PB1 (PB1)
    • PB0 (PB0)
  • ADC1
    • PA4 (PA4)
    • PA5 (PA5)
    • PA6 (PA6)
    • PA7 (PA7)
    • PB7 (PB7)
    • PB6 (PB6)
    • PC0 (PC0)
    • PC1 (PC1)
    • PC2 (PC2)
    • PC3 (PC3)
    • PC4 (PC4)
    • PC5 (PC5)

USART modules

  • USART0
    • PA2 (PA2)
    • PB3 (PB3)
    • PA1 (PA1)
    • PB2 (PB2)
    • PA3 (PA3)
    • PB1 (PB1)
    • PA4 (PA4)
    • PB0 (PB0)

Constants

ADDR

Address.

ADDRH

Address high byte.

ADDRL

Address low byte.

APPEND

Application Code Section End.

ASYNCCH0

Asynchronous Channel 0 Generator Selection.

ASYNCCH1

Asynchronous Channel 1 Generator Selection.

ASYNCCH2

Asynchronous Channel 2 Generator Selection.

ASYNCCH3

Asynchronous Channel 3 Generator Selection.

ASYNCSTROBE

Asynchronous Channel Strobe.

ASYNCUSER0

Asynchronous User Ch 0 Input Selection - TCB0.

ASYNCUSER1

Asynchronous User Ch 1 Input Selection - ADC0.

ASYNCUSER2

Asynchronous User Ch 2 Input Selection - CCL LUT0 Event 0.

ASYNCUSER3

Asynchronous User Ch 3 Input Selection - CCL LUT1 Event 0.

ASYNCUSER4

Asynchronous User Ch 4 Input Selection - CCL LUT0 Event 1.

ASYNCUSER5

Asynchronous User Ch 5 Input Selection - CCL LUT1 Event 1.

ASYNCUSER6

Asynchronous User Ch 6 Input Selection - TCD0 Event 0.

ASYNCUSER7

Asynchronous User Ch 7 Input Selection - TCD0 Event 1.

ASYNCUSER8

Asynchronous User Ch 8 Input Selection - Event Out 0.

ASYNCUSER9

Asynchronous User Ch 9 Input Selection - Event Out 1.

ASYNCUSER10

Asynchronous User Ch 10 Input Selection - Event Out 2.

ASYNCUSER11

Asynchronous User Ch 11 Input Selection - TCB1.

ASYNCUSER12

Asynchronous User Ch 12 Input Selection - ADC1.

BAUD

Baud Rate.

BAUDH

Baud Rate high byte.

BAUDL

Baud Rate low byte.

BODCFG

BOD Configuration.

BOOTEND

Boot Section End.

CALIB

Calibration.

CAPTUREA

Capture A.

CAPTUREAH

Capture A high byte.

CAPTUREAL

Capture A low byte.

CAPTUREB

Capture B.

CAPTUREBH

Capture B high byte.

CAPTUREBL

Capture B low byte.

CCMP

Compare or Capture.

CCMPH

Compare or Capture high byte.

CCMPL

Compare or Capture low byte.

CCP

Configuration Change Protection.

CLKSEL

Clock Select.

CMP

Compare.

CMP0

Compare 0.

CMP1

Compare 1.

CMP2

Compare 2.

CMP0BUF

Compare 0 Buffer.

CMP0BUFH

Compare 0 Buffer high byte.

CMP0BUFL

Compare 0 Buffer low byte.

CMP0H

Compare 0 high byte.

CMP0L

Compare 0 low byte.

CMP1BUF

Compare 1 Buffer.

CMP1BUFH

Compare 1 Buffer high byte.

CMP1BUFL

Compare 1 Buffer low byte.

CMP1H

Compare 1 high byte.

CMP1L

Compare 1 low byte.

CMP2BUF

Compare 2 Buffer.

CMP2BUFH

Compare 2 Buffer high byte.

CMP2BUFL

Compare 2 Buffer low byte.

CMP2H

Compare 2 high byte.

CMP2L

Compare 2 low byte.

CMPACLR

Compare A Clear.

CMPACLRH

Compare A Clear high byte.

CMPACLRL

Compare A Clear low byte.

CMPASET

Compare A Set.

CMPASETH

Compare A Set high byte.

CMPASETL

Compare A Set low byte.

CMPBCLR

Compare B Clear.

CMPBCLRH

Compare B Clear high byte.

CMPBCLRL

Compare B Clear low byte.

CMPBSET

Compare B Set.

CMPBSETH

Compare B Set high byte.

CMPBSETL

Compare B Set low byte.

CMPH

Compare high byte.

CMPL

Compare low byte.

CNT

Count.

CNTH

Count high byte.

CNTL

Count low byte.

COMMAND

Command.

CTRLA

Control A.

CTRLB

Control B.

CTRLC

Control C.

CTRLD

Control D.

CTRLE

Control E.

CTRLECLR

Control E Clear.

CTRLESET

Control E Set.

CTRLFCLR

Control F Clear.

CTRLFSET

Control F Set.

DATA

Data.

DBGCTRL

Debug Control.

DEVICEID0

Device ID Byte 0.

DEVICEID1

Device ID Byte 1.

DEVICEID2

Device ID Byte 2.

DIR

Data Direction.

DIRCLR

Data Direction Clear.

DIRSET

Data Direction Set.

DIRTGL

Data Direction Toggle.

DITCTRL

Dither Control A.

DITVAL

Dither value.

DLYCTRL

Delay Control.

DLYVAL

Delay value.

EVCTRL

Event Control.

EVCTRLA

EVCTRLA.

EVCTRLB

EVCTRLB.

EXTBRK

External Break.

FAULTCTRL

Fault Control.

GPIOR0

General Purpose IO Register 0.

GPIOR1

General Purpose IO Register 1.

GPIOR2

General Purpose IO Register 2.

GPIOR3

General Purpose IO Register 3.

HCMP0

High Compare.

HCMP1

High Compare.

HCMP2

High Compare.

HCNT

High Count.

HPER

High Period.

IN

Input Value.

INPUTCTRLA

Input Control A.

INPUTCTRLB

Input Control B.

INTCTRL

Interrupt Control.

INTFLAGS

Interrupt Flags.

LCMP0

Low Compare.

LCMP1

Low Compare.

LCMP2

Low Compare.

LCNT

Low Count.

LOCKBIT

Lock bits.

LPER

Low Period.

LUT0CTRLA

LUT Control 0 A.

LUT0CTRLB

LUT Control 0 B.

LUT0CTRLC

LUT Control 0 C.

LUT1CTRLA

LUT Control 1 A.

LUT1CTRLB

LUT Control 1 B.

LUT1CTRLC

LUT Control 1 C.

LVL0PRI

Interrupt Level 0 Priority.

LVL1VEC

Interrupt Level 1 Priority Vector.

MADDR

Master Address.

MBAUD

Master Baurd Rate Control.

MCLKCTRLA

MCLK Control A.

MCLKCTRLB

MCLK Control B.

MCLKLOCK

MCLK Lock.

MCLKSTATUS

MCLK Status.

MCTRLA

Master Control A.

MCTRLB

Master Control B.

MDATA

Master Data.

MSTATUS

Master Status.

MUXCTRLA

Mux Control A.

MUXPOS

Positive mux input.

OSC16ERR3V

OSC16 error at 3V.

OSC16ERR5V

OSC16 error at 5V.

OSC20ERR3V

OSC20 error at 3V.

OSC20ERR5V

OSC20 error at 5V.

OSC20MCALIBA

OSC20M Calibration A.

OSC20MCALIBB

OSC20M Calibration B.

OSC20MCTRLA

OSC20M Control A.

OSC32KCTRLA

OSC32K Control A.

OSCCFG

Oscillator Configuration.

OUT

Output Value.

OUTCLR

Output Value Clear.

OUTSET

Output Value Set.

OUTTGL

Output Value Toggle.

PER

Period.

PERBUF

Period Buffer.

PERBUFH

Period Buffer high byte.

PERBUFL

Period Buffer low byte.

PERH

Period high byte.

PERL

Period low byte.

PIN0CTRL

Pin 0 Control.

PIN1CTRL

Pin 1 Control.

PIN2CTRL

Pin 2 Control.

PIN3CTRL

Pin 3 Control.

PIN4CTRL

Pin 4 Control.

PIN5CTRL

Pin 5 Control.

PIN6CTRL

Pin 6 Control.

PIN7CTRL

Pin 7 Control.

PITCTRLA

PIT Control A.

PITDBGCTRL

PIT Debug control.

PITINTCTRL

PIT Interrupt Control.

PITINTFLAGS

PIT Interrupt Flags.

PITSTATUS

PIT Status.

RES

ADC Accumulator Result.

RESH

ADC Accumulator Result high byte.

RESL

ADC Accumulator Result low byte.

REVID

Revision ID.

RSTFR

Reset Flags.

RXDATAH

Receive Data High Byte.

RXDATAL

Receive Data Low Byte.

RXPLCTRL

IRCOM Receiver Pulse Length Control.

SADDR

Slave Address.

SADDRMASK

Slave Address Mask.

SAMPCTRL

Sample Control.

SCTRLA

Slave Control A.

SCTRLB

Slave Control B.

SDATA

Slave Data.

SEQCTRL0

Sequential Control 0.

SERNUM0

Serial Number Byte 0.

SERNUM1

Serial Number Byte 1.

SERNUM2

Serial Number Byte 2.

SERNUM3

Serial Number Byte 3.

SERNUM4

Serial Number Byte 4.

SERNUM5

Serial Number Byte 5.

SERNUM6

Serial Number Byte 6.

SERNUM7

Serial Number Byte 7.

SERNUM8

Serial Number Byte 8.

SERNUM9

Serial Number Byte 9.

SPH

Stack Pointer High.

SPL

Stack Pointer Low.

SREG

Status Register.

SSTATUS

Slave Status.

STATUS

Status.

SWRR

Software Reset.

SYNCCH0

Synchronous Channel 0 Generator Selection.

SYNCCH1

Synchronous Channel 1 Generator Selection.

SYNCSTROBE

Synchronous Channel Strobe.

SYNCUSER0

Synchronous User Ch 0 - TCA0.

SYNCUSER1

Synchronous User Ch 1 - USART0.

SYSCFG0

System Configuration 0.

SYSCFG1

System Configuration 1.

TCD0CFG

TCD0 Configuration.

TEMP

Temporary Value.

TEMPSENSE0

Temperature Sensor Calibration Byte 0.

TEMPSENSE1

Temperature Sensor Calibration Byte 1.

TRUTH0

Truth 0.

TRUTH1

Truth 1.

TXDATAH

Transmit Data High Byte.

TXDATAL

Transmit Data Low Byte.

TXPLCTRL

IRCOM Transmitter Pulse Length Control.

USERROW0

User Row Byte 0.

USERROW1

User Row Byte 1.

USERROW2

User Row Byte 2.

USERROW3

User Row Byte 3.

USERROW4

User Row Byte 4.

USERROW5

User Row Byte 5.

USERROW6

User Row Byte 6.

USERROW7

User Row Byte 7.

USERROW8

User Row Byte 8.

USERROW9

User Row Byte 9.

USERROW10

User Row Byte 10.

USERROW11

User Row Byte 11.

USERROW12

User Row Byte 12.

USERROW13

User Row Byte 13.

USERROW14

User Row Byte 14.

USERROW15

User Row Byte 15.

USERROW16

User Row Byte 16.

USERROW17

User Row Byte 17.

USERROW18

User Row Byte 18.

USERROW19

User Row Byte 19.

USERROW20

User Row Byte 20.

USERROW21

User Row Byte 21.

USERROW22

User Row Byte 22.

USERROW23

User Row Byte 23.

USERROW24

User Row Byte 24.

USERROW25

User Row Byte 25.

USERROW26

User Row Byte 26.

USERROW27

User Row Byte 27.

USERROW28

User Row Byte 28.

USERROW29

User Row Byte 29.

USERROW30

User Row Byte 30.

USERROW31

User Row Byte 31.

VLMCTRLA

Voltage level monitor Control.

WDTCFG

Watchdog Configuration.

WINHT

Window comparator high threshold.

WINHTH

Window comparator high threshold high byte.

WINHTL

Window comparator high threshold low byte.

WINLT

Window comparator low threshold.

WINLTH

Window comparator low threshold high byte.

WINLTL

Window comparator low threshold low byte.

XOSC32KCTRLA

XOSC32K Control A.