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

Functions

static avr_cycle_count_t avr_progen_clear (struct avr_t *avr, avr_cycle_count_t when, void *param)
 
static void avr_flash_write (avr_t *avr, avr_io_addr_t addr, uint8_t v, void *param)
 
static void avr_flash_clear_temppage (avr_flash_t *p)
 
static int avr_flash_ioctl (struct avr_io_t *port, uint32_t ctl, void *io_param)
 
static void avr_flash_reset (avr_io_t *port)
 
static void avr_flash_dealloc (struct avr_io_t *port)
 
void avr_flash_init (avr_t *avr, avr_flash_t *p)
 

Variables

static avr_io_t _io
 

Function Documentation

static void avr_flash_clear_temppage ( avr_flash_t p)
static

Here is the caller graph for this function:

static void avr_flash_dealloc ( struct avr_io_t port)
static
static int avr_flash_ioctl ( struct avr_io_t port,
uint32_t  ctl,
void *  io_param 
)
static

Here is the call graph for this function:

static void avr_flash_reset ( avr_io_t port)
static

Here is the call graph for this function:

static void avr_flash_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:

static avr_cycle_count_t avr_progen_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:

Variable Documentation

avr_io_t _io
static
Initial value:
= {
.kind = "flash",
.ioctl = avr_flash_ioctl,
.reset = avr_flash_reset,
.dealloc = avr_flash_dealloc,
}
static int avr_flash_ioctl(struct avr_io_t *port, uint32_t ctl, void *io_param)
Definition: avr_flash.c:59
static void avr_flash_dealloc(struct avr_io_t *port)
Definition: avr_flash.c:128
static void avr_flash_reset(avr_io_t *port)
Definition: avr_flash.c:120