Module avrd::attiny412
[−]
[src]
The AVR ATtiny412 microcontroller
Variants
Pinout | Mcuage | Operating temperature | Operating voltage | Max speed | |
---|---|---|---|---|---|
ATtiny412-SSFR | SOIC8 | SOIC8 | -40°C - 125°C | 1.8V - 5.5V | 20 MHz |
ATtiny412-SSNR | SOIC8 | SOIC8 | -40°C - 105°C | 1.8V - 5.5V | 20 MHz |
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. |
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. |
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 |
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. |
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. |
XOSC32KS |
Bitfield on register MCLKSTATUS |
Z |
Bitfield on register SREG |