Module avrd::attiny840 [] [src]

The AVR ATtiny840 microcontroller

Variants

Pinout Package Operating temperature Operating voltage Max speed
ATtiny840-XBT -40°C - 105°C 1.8V - 5.5V 16 MHz
ATtiny840-XNR -40°C - 105°C 1.8V - 5.5V 16 MHz

Registers by module (not exhaustive)

PORT modules

  • PORTB
  • PORTC
  • PORTD

USART modules

  • USART1

EEPROM modules

  • EEPROM

Constants

ACMUX

Analog Comparator Mux register.

ACSR

Analog Comparator Control And Status Register.

ASSR

Asynchronous Status Register.

CLCR

Custom Logic Control Register.

CLKPR

Clock Prescale Register.

CLSR

Custom Logic Status Register.

DDRB

Port B Data Direction Register.

DDRC

Port C Data Direction Register.

DDRD

Port D Data Direction Register.

DEVID0
DEVID1
DEVID2
DEVID3
DEVID4
DEVID5
DEVID6
DEVID7
DEVID8
DIDR

Digital Input Disable Register 1.

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.

EICRA

External Interrupt Control Register.

EIFR

External Interrupt Flag Register.

EIMSK

External Interrupt Mask Register.

EXTENDED
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.

HIGH
ICR1

Timer/Counter1 Input Capture Register Bytes.

ICR3

Timer/Counter3 Input Capture Register Bytes.

ICR1H

Timer/Counter1 Input Capture Register Bytes high byte.

ICR1L

Timer/Counter1 Input Capture Register Bytes low byte.

ICR3H

Timer/Counter3 Input Capture Register Bytes high byte.

ICR3L

Timer/Counter3 Input Capture Register Bytes low byte.

LOCKBIT
LOW
MCUCR

MCU Control Register.

MCUSR

MCU Status Register.

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.

OCR2B

Timer/Counter2 Output Compare Register B.

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.

PCIFR

Pin Change Interrupt Flag Register.

PCMSK0

Pin Change Mask Register 0.

PCMSK1

Pin Change Mask Register 1.

PCMSK2

Pin Change Mask Register 2.

PINB

Port B Input Pins.

PINC

Port C Input Pins.

PIND

Port D Input Pins.

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.

SMCR

Sleep Mode Control Register.

SP

Stack Pointer.

SPCR

SPI Control Register.

SPDR

SPI Data Register.

SPH

Stack Pointer high byte.

SPL

Stack Pointer low byte.

SPMCSR

Store Program Memory Control and Status Register.

SPSR

SPI Status Register.

SREG

Status Register.

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.

TCNT0

Timer/Counter0.

TCNT1

Timer/Counter3 Bytes.

TCNT2

Timer/Counter2.

TCNT1H

Timer/Counter3 Bytes high byte.

TCNT1L

Timer/Counter3 Bytes low byte.

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.

UBRR1

USART Baud Rate Register Bytes.

UBRR1H

USART Baud Rate Register Bytes high byte.

UBRR1L

USART Baud Rate Register Bytes low byte.

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.

UDR1

USART I/O Data Register.

WDTCSR

Watchdog Timer Control Register.