SimAVR
AVR Simulator
avr_eeprom.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "avr_eeprom.h"
Include dependency graph for avr_eeprom.c:

Functions

static avr_cycle_count_t avr_eempe_clear (struct avr_t *avr, avr_cycle_count_t when, void *param)
 
static avr_cycle_count_t avr_eei_raise (struct avr_t *avr, avr_cycle_count_t when, void *param)
 
static void avr_eeprom_write (avr_t *avr, avr_io_addr_t addr, uint8_t v, void *param)
 
static int avr_eeprom_ioctl (struct avr_io_t *port, uint32_t ctl, void *io_param)
 
static void avr_eeprom_dealloc (struct avr_io_t *port)
 
void avr_eeprom_init (avr_t *avr, avr_eeprom_t *p)
 

Variables

static avr_io_t _io
 

Function Documentation

static avr_cycle_count_t avr_eei_raise ( struct avr_t avr,
avr_cycle_count_t  when,
void *  param 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static avr_cycle_count_t avr_eempe_clear ( struct avr_t avr,
avr_cycle_count_t  when,
void *  param 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void avr_eeprom_dealloc ( struct avr_io_t port)
static
static int avr_eeprom_ioctl ( struct avr_io_t port,
uint32_t  ctl,
void *  io_param 
)
static
static void avr_eeprom_write ( avr_t avr,
avr_io_addr_t  addr,
uint8_t  v,
void *  param 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

avr_io_t _io
static
Initial value:
= {
.kind = "eeprom",
.ioctl = avr_eeprom_ioctl,
.dealloc = avr_eeprom_dealloc,
}
static void avr_eeprom_dealloc(struct avr_io_t *port)
Definition: avr_eeprom.c:130
static int avr_eeprom_ioctl(struct avr_io_t *port, uint32_t ctl, void *io_param)
Definition: avr_eeprom.c:88