SimAVR
AVR Simulator
AVR Types

Data Structures

struct  avr_regbit_t
 This 'structure' is a packed representation of an IO register 'bit' (or consecutive bits). More...
 

Macros

#define PRI_avr_cycle_count   PRIu64
 printf() conversion specifier for avr_cycle_count_t More...
 

Typedefs

typedef uint64_t avr_cycle_count_t
 
typedef uint16_t avr_io_addr_t
 
typedef struct avr_regbit_t avr_regbit_t
 This 'structure' is a packed representation of an IO register 'bit' (or consecutive bits). More...
 

Detailed Description

Macro Definition Documentation

#define PRI_avr_cycle_count   PRIu64

printf() conversion specifier for avr_cycle_count_t

Typedef Documentation

typedef uint64_t avr_cycle_count_t
typedef uint16_t avr_io_addr_t
typedef struct avr_regbit_t avr_regbit_t

This 'structure' is a packed representation of an IO register 'bit' (or consecutive bits).

This allows a way to set/get/clear them. GCC is happy passing these as register value, so you don't need to use a pointer when passing them along to functions.

9 bits ought to be enough, as it's the maximum I've seen (atmega2560)