Module avrd::attiny816[][src]

The module containing the values for the 'attiny816' microcontroller The AVR ATtiny816 microcontroller

Variants

PinoutMcu ageOperating temperatureOperating voltageMax speed
ATtiny816-MFRQFN20VQFN20-40°C - 125°C1.8V - 5.5V20 MHz
ATtiny816-MNRQFN20VQFN20-40°C - 105°C1.8V - 5.5V20 MHz
ATtiny816-MNRESQFN20VQFN20-40°C - 105°C1.8V - 5.5V20 MHz
ATtiny816-SFRSOIC20SOIC20-40°C - 125°C1.8V - 5.5V20 MHz
ATtiny816-SNRSOIC20SOIC20-40°C - 105°C1.8V - 5.5V20 MHz

Modules

ac_hysmode

Hysteresis Mode select

ac_intmode

Interrupt Mode select

ac_lpmode

Low Power Mode select

ac_muxneg

Negative Input MUX Selection select

ac_muxpos

Positive Input MUX Selection select

adc_asdv

Automatic Sampling Delay Variation select

adc_dutycyc

Duty Cycle select

adc_initdly

Initial Delay Selection select

adc_muxpos

Analog Channel Selection Bits select

adc_presc

Clock Pre-scaler select

adc_refsel

Reference Selection select

adc_ressel

ADC Resolution select

adc_sampnum

Accumulation Samples select

adc_wincm

Window Comparator Mode select

bod_active

Operation in active mode select

bod_lvl

Bod level select

bod_sampfreq

Sample frequency select

bod_sleep

Operation in sleep mode select

bod_vlmcfg

Configuration select

bod_vlmlvl

voltage level monitor level select

ccl_edgedet

Edge Detection Enable select

ccl_filtsel

Filter Selection select

ccl_insel0

LUT Input 0 Source Selection select

ccl_insel1

LUT Input 1 Source Selection select

ccl_insel2

LUT Input 2 Source Selection select

ccl_seqsel

Sequential Selection select

clkctrl_clksel

clock select select

clkctrl_csut

Crystal startup time select

clkctrl_pdiv

Prescaler division select

cpu_ccp

CCP signature select

crcscan_mode

CRC Flash Access Mode select

crcscan_src

CRC Source select

evsys_asyncch0

Asynchronous Channel 0 Generator Selection select

evsys_asyncch1

Asynchronous Channel 1 Generator Selection select

evsys_asyncch2

Asynchronous Channel 2 Generator Selection select

evsys_asyncch3

Asynchronous Channel 3 Generator Selection select

evsys_asyncuser0

Asynchronous User Ch 0 Input Selection - TCB0 select

evsys_asyncuser1

Asynchronous User Ch 1 Input Selection - ADC0 select

evsys_asyncuser2

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

evsys_asyncuser3

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

evsys_asyncuser4

synchronous User Ch 4 Input Selection - CCL LUT0 Event 1 select

evsys_asyncuser5

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

evsys_asyncuser6

Asynchronous User Ch 6 Input Selection - TCD0 Event 0 select

evsys_asyncuser7

Asynchronous User Ch 7 Input Selection - TCD0 Event 1 select

evsys_asyncuser8

Asynchronous User Ch 8 Input Selection - Event Out 0 select

evsys_asyncuser9

Asynchronous User Ch 9 Input Selection - Event Out 1 select

evsys_asyncuser10

Asynchronous User Ch 10 Input Selection - Event Out 2 select

evsys_syncch0

Synchronous Channel 0 Generator Selection select

evsys_syncch1

Synchronous Channel 1 Generator Selection select

evsys_syncuser0

Synchronous User Ch 0 Input Selection - TCA0 select

evsys_syncuser1

Synchronous User Ch 1 Input Selection - USART0 select

fuse_active

BOD Operation in Active Mode select

fuse_crcsrc

CRC Source select

fuse_freqsel

Frequency Select select

fuse_lvl

BOD Level select

fuse_period

Watchdog Timeout Period select

fuse_rstpincfg

Reset Pin Configuration select

fuse_sampfreq

BOD Sample Frequency select

fuse_sleep

BOD Operation in Sleep Mode select

fuse_sut

Startup Time select

fuse_window

Watchdog Window Timeout Period select

lockbit_lb

Lock Bits select

nvmctrl_cmd

Command select

port_isc

Input/Sense Configuration select

portmux_lut0

Configurable Custom Logic LUT0 select

portmux_lut1

Configurable Custom Logic LUT1 select

portmux_spi0

Port Multiplexer SPI0 select

portmux_tca00

Port Multiplexer TCA0 Output 0 select

portmux_tca01

Port Multiplexer TCA0 output 1 select

portmux_tca02

Port Multiplexer TCA0 Output 2 select

portmux_tca03

Port Multiplexer TCA0 Output 3 select

portmux_tca04

Port Multiplexer TCA0 Output 4 select

portmux_tca05

Port Multiplexer TCA0 Output 5 select

portmux_tcb0

Port Multiplexer TCB select

portmux_twi0

Port Multiplexer TWI0 select

portmux_usart0

Port Multiplexer USART0 select

rtc_clksel

Clock Select select

rtc_period

Period select

rtc_prescaler

Prescaling Factor select

slpctrl_smode

Sleep mode select

spi_mode

SPI Mode select

spi_presc

Prescaler select

tca_single_clksel

Clock Selection select

tca_single_cmd

Command select

tca_single_dir

Direction select

tca_single_evact

Event Action select

tca_single_wgmode

Waveform generation mode select

tca_split_clksel

Clock Selection select

tca_split_cmd

Command select

tcb_clksel

Clock Select select

tcb_cntmode

Timer Mode select

tcd_action

event action select

tcd_cfg

event config select

tcd_clksel

clock select select

tcd_cmpcsel

Compare C output select select

tcd_cmpdsel

Compare D output select select

tcd_cntpres

counter prescaler select

tcd_dithersel

dither select select

tcd_dlypresc

Delay prescaler select

tcd_dlysel

Delay select select

tcd_dlytrig

Delay trigger select

tcd_edge

edge select select

tcd_inputmode

Input mode select

tcd_syncpres

Syncronization prescaler select

tcd_wgmode

Waveform generation mode select

twi_ackact

Acknowledge Action select

twi_ap

Slave Address or Stop select

twi_busstate

Bus State select

twi_mcmd

Command select

twi_scmd

Command select

twi_sdahold

SDA Hold Time select

twi_sdasetup

SDA Setup Time select

twi_timeout

Inactive Bus Timeout select

usart_mspi_cmode

Communication Mode select

usart_normal_chsize

Character Size select

usart_normal_cmode

Communication Mode select

usart_normal_pmode

Parity Mode select

usart_normal_sbmode

Stop Bit Mode select

usart_rs485

RS485 Mode internal transmitter select

usart_rxmode

Receiver Mode select

vref_adc0refsel

ADC0 reference select select

vref_dac0refsel

DAC0/AC0 reference select select

wdt_period

Period select

wdt_window

Window select

Constants

ABMBP

Bitfield on register DBGCTRL

ACTIVE

Bitfield on register BODCFG

ADC0REFEN

Bitfield on register CTRLB

ADDR

Address.

ADDREN

Bitfield on register SADDRMASK

ADDRH

Address high byte.

ADDRL

Address low byte.

ADDRMASK

Bitfield on register SADDRMASK

AP

Bitfield on register SSTATUS

APIEN

Bitfield on register SCTRLA

APIF

Bitfield on register SSTATUS

APPEND

Application Code Section End.

ARBLOST

Bitfield on register MSTATUS

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.

BAUD

Baud Rate.

BAUDH

Baud Rate high byte.

BAUDL

Baud Rate low byte.

BODCFG

BOD Configuration.

BOOTEND

Boot Section End.

BORF

Bitfield on register RSTFR

BUFOVF

Bitfield on register RXDATAH

BUSSTATE

Bitfield on register MSTATUS

C

Bitfield on register SREG

CAL20M

Bitfield on register OSC20MCALIBA

CALIB

Calibration.

CALSEL20M

Bitfield on register OSC20MCALIBA

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.

CLKOUT

Bitfield on register MCLKCTRLA

CLKSEL

Clock Select.

CMP

Compare.

CMP0

Compare 0.

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.

CMP1

Compare 1.

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.

CMP2

Compare 2.

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.

CMPAVAL

Bitfield on register CTRLD

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.

CMPBVAL

Bitfield on register CTRLD

CMPH

Compare high byte.

CMPL

Compare low byte.

CNT

Count.

CNTH

Count high byte.

CNTL

Count low byte.

COLL

Bitfield on register SSTATUS

COMMAND

Command.

CRCSRC

Bitfield on register SYSCFG0

CSUT

Bitfield on register XOSC32KCTRLA

CTRLA

Control A.

CTRLB

Control B.

CTRLBUSY

Bitfield on register PITSTATUS

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.

DAC0REFEN

Bitfield on register CTRLB

DATA

Data.

DBGCTRL

Debug Control.

DEVICEID0

Device ID Byte 0.

DEVICEID1

Device ID Byte 1.

DEVICEID2

Device ID Byte 2.

DIEN

Bitfield on register SCTRLA

DIF

Bitfield on register SSTATUS

DIR

Data Direction.

DIRCLR

Data Direction Clear.

DIRSET

Data Direction Set.

DIRTGL

Data Direction Toggle.

DISEOC

Bitfield on register CTRLE

DITCTRL

Dither Control A.

DITHER

Bitfield on register DITVAL

DITHERSEL

Bitfield on register DITCTRL

DITVAL

Dither value.

DLYCTRL

Delay Control.

DLYPRESC

Bitfield on register DLYCTRL

DLYSEL

Bitfield on register DLYCTRL

DLYTRIG

Bitfield on register DLYCTRL

DLYVAL

Delay value.

DUTYCYC

Bitfield on register CALIB

EESAVE

Bitfield on register SYSCFG0

ENEXTBRK

Bitfield on register EXTBRK

EVCTRL

Event Control.

EVCTRLA

EVCTRLA.

EVCTRLB

EVCTRLB.

EXTBRK

External Break.

EXTRF

Bitfield on register RSTFR

EXTS

Bitfield on register MCLKSTATUS

FAULTCTRL

Fault Control.

FERR

Bitfield on register RXDATAH

FLUSH

Bitfield on register MCTRLB

FREQSEL

Bitfield on register OSCCFG

GPIOR0

General Purpose IO Register 0.

GPIOR1

General Purpose IO Register 1.

GPIOR2

General Purpose IO Register 2.

GPIOR3

General Purpose IO Register 3.

H

Bitfield on register SREG

HCMP0

High Compare.

HCMP1

High Compare.

HCMP2

High Compare.

HCNT

High Count.

HPER

High Period.

I

Bitfield on register SREG

IN

Input Value.

INPUTCTRLA

Input Control A.

INPUTCTRLB

Input Control B.

INTCTRL

Interrupt Control.

INTFLAGS

Interrupt Flags.

INVERT

Bitfield on register MUXCTRLA

IREI

Bitfield on register EVCTRL

LCMP0

Low Compare.

LCMP1

Low Compare.

LCMP2

Low Compare.

LCNT

Low Count.

LOCKBIT

Lock bits.

LOCKEN

Bitfield on register MCLKLOCK

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.

LVL

Bitfield on register BODCFG

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.

MCMD

Bitfield on register MCTRLB

MCTRLA

Master Control A.

MCTRLB

Master Control B.

MDATA

Master Data.

MSTATUS

Master Status.

MUXCTRLA

Mux Control A.

MUXNEG

Bitfield on register MUXCTRLA

MUXPOS

Positive mux input.

N

Bitfield on register SREG

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.

OSC20MS

Bitfield on register MCLKSTATUS

OSC32KCTRLA

OSC32K Control A.

OSC32KS

Bitfield on register MCLKSTATUS

OSCCFG

Oscillator Configuration.

OSCLOCK

Bitfield on register OSCCFG

OUT

Output Value.

OUTCLR

Output Value Clear.

OUTSET

Output Value Set.

OUTTGL

Output Value Toggle.

OVF

Bitfield on register INTCTRL

PDIV

Bitfield on register MCLKCTRLB

PEN

Bitfield on register MCLKCTRLB

PER

Period.

PERBUF

Period Buffer.

PERBUFH

Period Buffer high byte.

PERBUFL

Period Buffer low byte.

PERH

Period high byte.

PERL

Period low byte.

PERR

Bitfield on register RXDATAH

PIEN

Bitfield on register SCTRLA

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.

PITEN

Bitfield on register PITCTRLA

PITINTCTRL

PIT Interrupt Control.

PITINTFLAGS

PIT Interrupt Flags.

PITSTATUS

PIT Status.

PMEN

Bitfield on register SCTRLA

PORF

Bitfield on register RSTFR

QCEN

Bitfield on register MCTRLA

RES

ADC Accumulator Result.

RESH

ADC Accumulator Result high byte.

RESL

ADC Accumulator Result low byte.

RESTART

Bitfield on register CTRLE

REVID

Revision ID.

RIEN

Bitfield on register MCTRLA

RIF

Bitfield on register MSTATUS

RSTFR

Reset Flags.

RSTPINCFG

Bitfield on register SYSCFG0

RXCIF

Bitfield on register RXDATAH

RXDATAH

Receive Data High Byte.

RXDATAL

Receive Data Low Byte.

RXPL

Bitfield on register RXPLCTRL

RXPLCTRL

IRCOM Receiver Pulse Length Control.

S

Bitfield on register SREG

SADDR

Slave Address.

SADDRMASK

Slave Address Mask.

SAMPCTRL

Sample Control.

SAMPFREQ

Bitfield on register BODCFG

SAMPLEN

Bitfield on register SAMPCTRL

SCAPTUREA

Bitfield on register CTRLE

SCAPTUREB

Bitfield on register CTRLE

SCMD

Bitfield on register SCTRLB

SCTRLA

Slave Control A.

SCTRLB

Slave Control B.

SDATA

Slave Data.

SEL

Bitfield on register XOSC32KCTRLA

SEQCTRL0

Sequential Control 0.

SEQSEL

Bitfield on register SEQCTRL0

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.

SLEEP

Bitfield on register BODCFG

SOSC

Bitfield on register MCLKSTATUS

SPH

Stack Pointer High.

SPL

Stack Pointer Low.

SREG

Status Register.

SSTATUS

Slave Status.

STATUS

Status.

STCONV

Bitfield on register COMMAND

SUT

Bitfield on register SYSCFG1

SWRE

Bitfield on register SWRR

SWRF

Bitfield on register RSTFR

SWRR

Software Reset.

SYNC

Bitfield on register CTRLE

SYNCBUSY

Bitfield on register STATUS

SYNCCH0

Synchronous Channel 0 Generator Selection.

SYNCCH1

Synchronous Channel 1 Generator Selection.

SYNCEOC

Bitfield on register CTRLE

SYNCSTROBE

Synchronous Channel Strobe.

SYNCUSER0

Synchronous User Ch 0 Input Selection - TCA0.

SYNCUSER1

Synchronous User Ch 1 Input Selection - USART0.

SYSCFG0

System Configuration 0.

SYSCFG1

System Configuration 1.

T

Bitfield on register SREG

TCD0CFG

TCD0 Configuration.

TEMP

Temporary Value.

TEMPCAL20M

Bitfield on register OSC20MCALIBB

TEMPSENSE0

Temperature Sensor Calibration Byte 0.

TEMPSENSE1

Temperature Sensor Calibration Byte 1.

TIMEOUT

Bitfield on register MCTRLA

TRIGA

Bitfield on register INTCTRL

TRIGB

Bitfield on register INTCTRL

TRUTH0

Truth 0.

TRUTH1

Truth 1.

TXDATAH

Transmit Data High Byte.

TXDATAL

Transmit Data Low Byte.

TXPLCTRL

IRCOM Transmitter Pulse Length Control.

UPDIRF

Bitfield on register RSTFR

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.

V

Bitfield on register SREG

VLMCTRLA

Voltage level monitor Control.

VLMLVL

Bitfield on register VLMCTRLA

WDRF

Bitfield on register RSTFR

WDTCFG

Watchdog Configuration.

WIEN

Bitfield on register MCTRLA

WIF

Bitfield on register MSTATUS

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.

XOSC32KS

Bitfield on register MCLKSTATUS

Z

Bitfield on register SREG