|
SimAVR
AVR Simulator
|
IO module base struct Modules uses that as their first member in their own struct. More...
#include <sim_io.h>

Data Fields | |
| struct avr_io_t * | next |
| avr_t * | avr |
| avr we are attached to More... | |
| const char * | kind |
| pretty name, for debug More... | |
| const char ** | irq_names |
| IRQ names. More... | |
| uint32_t | irq_ioctl_get |
| used to get irqs from this module More... | |
| int | irq_count |
| number of (optional) irqs More... | |
| struct avr_irq_t * | irq |
| optional external IRQs More... | |
| void(* | reset )(struct avr_io_t *io) |
| Called at reset time. More... | |
| int(* | ioctl )(struct avr_io_t *io, uint32_t ctl, void *io_param) |
| Called externally. allow access to io modules and so on. More... | |
| void(* | dealloc )(struct avr_io_t *io) |
| Optional, a function to free up allocated system resources. More... | |
IO module base struct Modules uses that as their first member in their own struct.
| avr_t* avr |
avr we are attached to
| void(* dealloc) (struct avr_io_t *io) |
Optional, a function to free up allocated system resources.
| int(* ioctl) (struct avr_io_t *io, uint32_t ctl, void *io_param) |
Called externally. allow access to io modules and so on.
| struct avr_irq_t* irq |
optional external IRQs
| int irq_count |
number of (optional) irqs
| uint32_t irq_ioctl_get |
used to get irqs from this module
| const char** irq_names |
IRQ names.
| const char* kind |
pretty name, for debug
| struct avr_io_t* next |
| void(* reset) (struct avr_io_t *io) |
Called at reset time.