DeviceIdExt

Trait DeviceIdExt 

Source
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§

Source

fn read_xy(&self) -> Option<(u32, u32)>

Read X and Y coordinates on the wafer.

Decodes the ASCII encoded digits

Source

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.

Source

fn read_lot_num(&self) -> Option<u32>

Read Lot number

ASCII encoded digits. Mine has a trailing ‘Q’ which gets ignored by ReadAscii.

Implementations on Foreign Types§

Source§

impl DeviceIdExt for DEVICE_ID

Implementors§