ATmega328p
Hardware definitions
Loading...
Searching...
No Matches
atmega328p::eeprom Namespace Reference

EEPROM characteristics. More...

Enumerations

enum class  ProgrammingMode : uint8_t { EraseAndWrite = 0U , EraseOnly = 1U , WriteOnly = 2U , Reserved = 3U }
 EEPROM programming modes. More...
enum  : uint16_t {
  address_bits = 10U , data_width_bits = 8U , page_size_bytes = 4U , page_count = 256U ,
  programming_mode_count = 3U , ready_interrupt_supported = 1 , eempe_to_eepe_max_cpu_cycles = 4U , write_is_self_timed = 1 ,
  serial_programming_auto_erases = 1
}

Detailed Description

EEPROM characteristics.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : uint16_t
Enumerator
address_bits 

Address width (bits).

data_width_bits 

Data width width (bits).

page_size_bytes 

Page size (bytes).

page_count 

Number of page.

programming_mode_count 

Number of programming mode.

ready_interrupt_supported 

Ready interrupt supported.

eempe_to_eepe_max_cpu_cycles 

Eempe to eepe max CPU (clock cycles).

write_is_self_timed 

Write is self timed.

serial_programming_auto_erases 

Serial programming auto erases.

◆ ProgrammingMode

enum class atmega328p::eeprom::ProgrammingMode : uint8_t
strong

EEPROM programming modes.

Enumerator
EraseAndWrite 

0 - Erase and write in one operation.

EraseOnly 

1 - Erase the selected EEPROM location.

WriteOnly 

2 - Write without erasing.

Reserved 

3 - Reserved; do not select.