16 lines
280 B
Rust
16 lines
280 B
Rust
use crate::periph::at28c256::At28C256;
|
|
|
|
pub struct At28C256State {
|
|
offset: u16,
|
|
max_offset: u16
|
|
}
|
|
|
|
impl At28C256 {
|
|
pub fn dump(&self) -> At28C256State {
|
|
At28C256State {
|
|
offset: self.offset,
|
|
max_offset: self.max_offset
|
|
}
|
|
}
|
|
}
|