Skip to main content

R

Type Alias R 

Source
pub type R = R<DeviceTypeSpec>;
Expand description

Register DEVICE_TYPE reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn device_type_num(&self) -> DeviceTypeNumR

Bits 0:15 - Indicates the device part number

Source

pub fn device_type_sec(&self) -> DeviceTypeSecR

Bit 16 - Indicates the device type

Source

pub fn device_type_pkg(&self) -> DeviceTypePkgR

Bits 20:23 - Indicates the device’s package type

Source

pub fn device_type_pin(&self) -> DeviceTypePinR

Bits 24:31 - Indicates the device’s pin number