use chips;
use io;
pub struct Chip;
impl chips::Chip for Chip
{
fn flash_size() -> usize {
32 * 1024 }
fn memory_size() -> usize {
2 * 1024 }
fn io_ports() -> Vec<io::Port> {
vec![
io::Port::new(0x03), io::Port::new(0x04), io::Port::new(0x05),
io::Port::new(0x06), io::Port::new(0x07), io::Port::new(0x08),
io::Port::new(0x09), io::Port::new(0x0a), io::Port::new(0x0b), ]
}
}