(&mut self, value: u8)
| 264 | } |
| 265 | |
| 266 | fn write_data_port(&mut self, value: u8) -> Result<(), &'static str> |
| 267 | { |
| 268 | self.wait_for_write()?; |
| 269 | |
| 270 | unsafe |
| 271 | { |
| 272 | self.dataport.write(value); |
| 273 | } |
| 274 | |
| 275 | Ok(()) |
| 276 | } |
| 277 | |
| 278 | fn wait_for_read(&mut self) -> Result<(), &'static str> |
| 279 | { |
no test coverage detected