Module avrd::attiny840[][src]

The module containing the values for the 'attiny840' microcontroller The AVR ATtiny840 microcontroller

Variants

PinoutMcu ageOperating temperatureOperating voltageMax speed
ATtiny840-XBT-40°C - 105°C1.8V - 5.5V16 MHz
ATtiny840-XNR-40°C - 105°C1.8V - 5.5V16 MHz

Modules

analog_comp_interrupt

ANALOG_COMP_INTERRUPT value group

clk_sel_3bit

CLK_SEL_3BIT value group

clk_sel_3bit_ext

CLK_SEL_3BIT_EXT value group

comm_sck_rate_3bit

COMM_SCK_RATE_3BIT value group

comm_stop_bit_sel

COMM_STOP_BIT_SEL value group

comm_upm_parity_mode

COMM_UPM_PARITY_MODE value group

comm_usart_mode_2bit

COMM_USART_MODE_2BIT value group

cpu_clk_prescale_4_bits_small

CPU_CLK_PRESCALE_4_BITS_SMALL value group

cpu_sleep_mode_3bits2

CPU_SLEEP_MODE_3BITS2 value group

custom_logic_interrupt

CUSTOM_LOGIC_INTERRUPT value group

eep_mode

EEP_MODE value group

enum_blb

ENUM_BLB value group

enum_blb2

ENUM_BLB2 value group

enum_bodlevel

ENUM_BODLEVEL value group

enum_bootsz

ENUM_BOOTSZ value group

enum_lb

ENUM_LB value group

enum_sut_cksel

ENUM_SUT_CKSEL value group

interrupt_sense_control

Interrupt Sense Control

osccal_value_addresses

Oscillator Calibration Values

wdog_timer_prescale_4bits

WDOG_TIMER_PRESCALE_4BITS value group

Constants

ACBG

Bitfield on register ACSR

ACD

Bitfield on register ACSR

ACI

Bitfield on register ACSR

ACIC

Bitfield on register ACSR

ACIE

Bitfield on register ACSR

ACIS

Bitfield on register ACSR

ACMUX

Analog Comparator Mux register.

ACO

Bitfield on register ACSR

ACOE

Bitfield on register ACMUX

ACSR

Analog Comparator Control And Status Register.

AINN0D

Bitfield on register DIDR

AINN1D

Bitfield on register DIDR

AINN2D

Bitfield on register DIDR

AINP0D

Bitfield on register DIDR

AINP1D

Bitfield on register DIDR

AS2

Bitfield on register ASSR

ASSR

Asynchronous Status Register.

BLB0

Bitfield on register LOCKBIT

BLB1

Bitfield on register LOCKBIT

BLBSET

Bitfield on register SPMCSR

BODLEVEL

Bitfield on register EXTENDED

BODS

Bitfield on register MCUCR

BODSE

Bitfield on register MCUCR

BOOTRST

Bitfield on register HIGH

BOOTSZ

Bitfield on register HIGH

BORF

Bitfield on register MCUSR

C

Bitfield on register SREG

CKDIV8

Bitfield on register LOW

CKOUT

Bitfield on register LOW

CLCLR

Bitfield on register CLCR

CLCR

Custom Logic Control Register.

CLEN

Bitfield on register CLCR

CLIE

Bitfield on register ACMUX

CLIF

Bitfield on register CLSR

CLIS

Bitfield on register ACMUX

CLKPCE

Bitfield on register CLKPR

CLKPR

Clock Prescale Register.

CLKPS

Bitfield on register CLKPR

CLOEN

Bitfield on register CLCR

CLSET

Bitfield on register CLCR

CLSR

Custom Logic Status Register.

COM0A

Bitfield on register TCCR0A

COM0B

Bitfield on register TCCR0A

COM1A

Bitfield on register TCCR1A

COM1B

Bitfield on register TCCR1A

COM2A

Bitfield on register TCCR2A

COM2B

Bitfield on register TCCR2A

COM3A

Bitfield on register TCCR3A

COM3B

Bitfield on register TCCR3A

CPHA

Bitfield on register SPCR

CPOL

Bitfield on register SPCR

CS0

Bitfield on register TCCR0B

CS1

Bitfield on register TCCR1B

CS2

Bitfield on register TCCR2B

CS3

Bitfield on register TCCR3B

DDRB

Port B Data Direction Register.

DDRC

Port C Data Direction Register.

DDRD

Port D Data Direction Register.

DEVID0

DEVID0 register

DEVID1

DEVID1 register

DEVID2

DEVID2 register

DEVID3

DEVID3 register

DEVID4

DEVID4 register

DEVID5

DEVID5 register

DEVID6

DEVID6 register

DEVID7

DEVID7 register

DEVID8

DEVID8 register

DIDR

Digital Input Disable Register 1.

DOR1

Bitfield on register UCSR1A

DORD

Bitfield on register SPCR

DWEN

Bitfield on register HIGH

EEAR

EEPROM Address Register Bytes.

EEARH

EEPROM Address Register Bytes high byte.

EEARL

EEPROM Address Register Bytes low byte.

EECR

EEPROM Control Register.

EEDR

EEPROM Data Register.

EEMPE

Bitfield on register EECR

EEPE

Bitfield on register EECR

EEPM

Bitfield on register EECR

EERE

Bitfield on register EECR

EERIE

Bitfield on register EECR

EESAVE

Bitfield on register HIGH

EICRA

External Interrupt Control Register.

EIFR

External Interrupt Flag Register.

EIMSK

External Interrupt Mask Register.

EXCLK

Bitfield on register ASSR

EXTENDED

EXTENDED register

EXTRF

Bitfield on register MCUSR

FE1

Bitfield on register UCSR1A

FOC0A

Bitfield on register TCCR0B

FOC0B

Bitfield on register TCCR0B

FOC1A

Bitfield on register TCCR1C

FOC1B

Bitfield on register TCCR1C

FOC2A

Bitfield on register TCCR2B

FOC2B

Bitfield on register TCCR2B

FOC3A

Bitfield on register TCCR3C

FOC3B

Bitfield on register TCCR3C

GPIOR0

General Purpose I/O Register 0.

GPIOR1

General Purpose I/O Register 1.

GPIOR2

General Purpose I/O Register 2.

GTCCR

General Timer/Counter Control Register.

H

Bitfield on register SREG

HIGH

HIGH register

I

Bitfield on register SREG

ICES1

Bitfield on register TCCR1B

ICES3

Bitfield on register TCCR3B

ICF1

Bitfield on register TIFR1

ICF3

Bitfield on register TIFR3

ICIE1

Bitfield on register TIMSK1

ICIE3

Bitfield on register TIMSK3

ICNC1

Bitfield on register TCCR1B

ICNC3

Bitfield on register TCCR3B

ICR1

Timer/Counter1 Input Capture Register Bytes.

ICR1H

Timer/Counter1 Input Capture Register Bytes high byte.

ICR1L

Timer/Counter1 Input Capture Register Bytes low byte.

ICR3

Timer/Counter3 Input Capture Register Bytes.

ICR3H

Timer/Counter3 Input Capture Register Bytes high byte.

ICR3L

Timer/Counter3 Input Capture Register Bytes low byte.

INT

Bitfield on register EIMSK

INTF

Bitfield on register EIFR

INVEN

Bitfield on register CLCR

ISC0

Bitfield on register EICRA

ISC1

Bitfield on register EICRA

IVCE

Bitfield on register MCUCR

IVSEL

Bitfield on register MCUCR

LB

Bitfield on register LOCKBIT

LOCKBIT

LOCKBIT register

LOW

LOW register

MCUCR

MCU Control Register.

MCUSR

MCU Status Register.

MPCM1

Bitfield on register UCSR1A

MSTR

Bitfield on register SPCR

MUXNEG

Bitfield on register ACMUX

MUXPOS

Bitfield on register ACMUX

N

Bitfield on register SREG

OCF0A

Bitfield on register TIFR0

OCF0B

Bitfield on register TIFR0

OCF1A

Bitfield on register TIFR1

OCF1B

Bitfield on register TIFR1

OCF2A

Bitfield on register TIFR2

OCF2B

Bitfield on register TIFR2

OCF3A

Bitfield on register TIFR3

OCF3B

Bitfield on register TIFR3

OCIE0A

Bitfield on register TIMSK0

OCIE0B

Bitfield on register TIMSK0

OCIE1A

Bitfield on register TIMSK1

OCIE1B

Bitfield on register TIMSK1

OCIE2A

Bitfield on register TIMSK2

OCIE2B

Bitfield on register TIMSK2

OCIE3A

Bitfield on register TIMSK3

OCIE3B

Bitfield on register TIMSK3

OCR0A

Timer/Counter0 Output Compare Register.

OCR0B

Timer/Counter0 Output Compare Register.

OCR1A

Timer/Counter1 Output Compare Register Bytes.

OCR1AH

Timer/Counter1 Output Compare Register Bytes high byte.

OCR1AL

Timer/Counter1 Output Compare Register Bytes low byte.

OCR1B

Timer/Counter1 Output Compare Register Bytes.

OCR1BH

Timer/Counter1 Output Compare Register Bytes high byte.

OCR1BL

Timer/Counter1 Output Compare Register Bytes low byte.

OCR2A

Timer/Counter2 Output Compare Register A.

OCR2AUB

Bitfield on register ASSR

OCR2B

Timer/Counter2 Output Compare Register B.

OCR2BUB

Bitfield on register ASSR

OCR3A

Timer/Counter3 Output Compare Register Bytes.

OCR3AH

Timer/Counter3 Output Compare Register Bytes high byte.

OCR3AL

Timer/Counter3 Output Compare Register Bytes low byte.

OCR3B

Timer/Counter3 Output Compare Register Bytes.

OCR3BH

Timer/Counter3 Output Compare Register Bytes high byte.

OCR3BL

Timer/Counter3 Output Compare Register Bytes low byte.

OSCCAL

Oscillator Calibration Value.

PCICR

Pin Change Interrupt Control Register.

PCIE

Bitfield on register PCICR

PCIF

Bitfield on register PCIFR

PCIFR

Pin Change Interrupt Flag Register.

PCMSK0

Pin Change Mask Register 0.

PCMSK1

Pin Change Mask Register 1.

PCMSK2

Pin Change Mask Register 2.

PGERS

Bitfield on register SPMCSR

PGWRT

Bitfield on register SPMCSR

PINB

Port B Input Pins.

PINC

Port C Input Pins.

PIND

Port D Input Pins.

PORF

Bitfield on register MCUSR

PORTB

Port B Data Register.

PORTC

Port C Data Register.

PORTD

Port D Data Register.

PRR0

Power Reduction Register 0.

PRR1

Power Reduction Register 1.

PRSPI

Bitfield on register PRR0

PRTIM0

Bitfield on register PRR0

PRTIM1

Bitfield on register PRR0

PRTIM2

Bitfield on register PRR0

PRTIM3

Bitfield on register PRR1

PRUSART1

Bitfield on register PRR0

PSRSYNC

Bitfield on register GTCCR

PUD

Bitfield on register MCUCR

RSTDISBL

Bitfield on register HIGH

RWWSB

Bitfield on register SPMCSR

RWWSRE

Bitfield on register SPMCSR

RXB81

Bitfield on register UCSR1B

RXC1

Bitfield on register UCSR1A

RXCIE1

Bitfield on register UCSR1B

RXEN1

Bitfield on register UCSR1B

RXS

Bitfield on register UCSR1D

RXSIE

Bitfield on register UCSR1D

S

Bitfield on register SREG

SE

Bitfield on register SMCR

SEL

Bitfield on register CLCR

SELFPRGEN

Bitfield on register SPMCSR

SFDE

Bitfield on register UCSR1D

SM

Bitfield on register SMCR

SMCR

Sleep Mode Control Register.

SP

Stack Pointer.

SPCR

SPI Control Register.

SPDR

SPI Data Register.

SPE

Bitfield on register SPCR

SPH

Stack Pointer high byte.

SPI2X

Bitfield on register SPSR

SPIE

Bitfield on register SPCR

SPIEN

Bitfield on register HIGH

SPIF

Bitfield on register SPSR

SPL

Stack Pointer low byte.

SPMCSR

Store Program Memory Control and Status Register.

SPMIE

Bitfield on register SPMCSR

SPR

Bitfield on register SPCR

SPSR

SPI Status Register.

SREG

Status Register.

STATE

Bitfield on register CLSR

SUT_CKSEL

Bitfield on register LOW

T

Bitfield on register SREG

TC3TRIGEN

Bitfield on register CLCR

TCCR0A

Timer/Counter Control Register A.

TCCR0B

Timer/Counter Control Register B.

TCCR1A

Timer/Counter1 Control Register A.

TCCR1B

Timer/Counter1 Control Register B.

TCCR1C

Timer/Counter1 Control Register C.

TCCR2A

Timer/Counter2 Control Register A.

TCCR2B

Timer/Counter2 Control Register B.

TCCR3A

Timer/Counter3 Control Register A.

TCCR3B

Timer/Counter3 Control Register B.

TCCR3C

Timer/Counter3 Control Register C.

TCN2UB

Bitfield on register ASSR

TCNT0

Timer/Counter0.

TCNT1

Timer/Counter3 Bytes.

TCNT1H

Timer/Counter3 Bytes high byte.

TCNT1L

Timer/Counter3 Bytes low byte.

TCNT2

Timer/Counter2.

TCR2AUB

Bitfield on register ASSR

TCR2BUB

Bitfield on register ASSR

TIFR0

Timer/Counter0 Interrupt Flag register.

TIFR1

Timer/Counter Interrupt Flag register.

TIFR2

Timer/Counter2 Interrupt Flag Register.

TIFR3

Timer/Counter Interrupt Flag register.

TIMSK0

Timer/Counter0 Interrupt Mask Register.

TIMSK1

Timer/Counter1 Interrupt Mask Register.

TIMSK2

Timer/Counter2 Interrupt Mask register.

TIMSK3

Timer/Counter3 Interrupt Mask Register.

TOIE0

Bitfield on register TIMSK0

TOIE1

Bitfield on register TIMSK1

TOIE2

Bitfield on register TIMSK2

TOIE3

Bitfield on register TIMSK3

TOV0

Bitfield on register TIFR0

TOV1

Bitfield on register TIFR1

TOV2

Bitfield on register TIFR2

TOV3

Bitfield on register TIFR3

TSM

Bitfield on register GTCCR

TXB81

Bitfield on register UCSR1B

TXC1

Bitfield on register UCSR1A

TXCIE1

Bitfield on register UCSR1B

TXEN1

Bitfield on register UCSR1B

U2X1

Bitfield on register UCSR1A

UBRR1

USART Baud Rate Register Bytes.

UBRR1H

USART Baud Rate Register Bytes high byte.

UBRR1L

USART Baud Rate Register Bytes low byte.

UCPOL1

Bitfield on register UCSR1C

UCSR1A

USART Control and Status Register A.

UCSR1B

USART Control and Status Register B.

UCSR1C

USART Control and Status Register C.

UCSR1D

USART Control and Status Register D.

UCSZ1

Bitfield on register UCSR1C

UCSZ12

Bitfield on register UCSR1B

UDR1

USART I/O Data Register.

UDRE1

Bitfield on register UCSR1A

UDRIE1

Bitfield on register UCSR1B

UMSEL1

Bitfield on register UCSR1C

UPE1

Bitfield on register UCSR1A

UPM1

Bitfield on register UCSR1C

USBS1

Bitfield on register UCSR1C

V

Bitfield on register SREG

WCOL

Bitfield on register SPSR

WDCE

Bitfield on register WDTCSR

WDE

Bitfield on register WDTCSR

WDIE

Bitfield on register WDTCSR

WDIF

Bitfield on register WDTCSR

WDP

Bitfield on register WDTCSR

WDRF

Bitfield on register MCUSR

WDTCSR

Watchdog Timer Control Register.

WDTON

Bitfield on register HIGH

WGM0

Bitfield on register TCCR0A

WGM02

Bitfield on register TCCR0B

WGM2

Bitfield on register TCCR2A

WGM22

Bitfield on register TCCR2B

Z

Bitfield on register SREG