pub trait DeviceIdExt {
// Required methods
fn read_xy(&self) -> Option<(u32, u32)>;
fn read_waf_num(&self) -> u8;
fn read_lot_num(&self) -> Option<u32>;
}Expand description
Implemented for the DEVICE_ID peripheral.
Required Methods§
Sourcefn read_xy(&self) -> Option<(u32, u32)>
fn read_xy(&self) -> Option<(u32, u32)>
Read X and Y coordinates on the wafer.
Decodes the ASCII encoded digits
Sourcefn read_waf_num(&self) -> u8
fn read_waf_num(&self) -> u8
Read Wafer number
Supposedly ASCII encoded digits, but mine yields ASCII code 22. Therefore this is the raw byte for now.
Sourcefn read_lot_num(&self) -> Option<u32>
fn read_lot_num(&self) -> Option<u32>
Read Lot number
ASCII encoded digits. Mine has a trailing ‘Q’ which gets
ignored by ReadAscii.