pub struct TempSensor(/* private fields */);
Implementations§
Source§impl TempSensor
impl TempSensor
Sourcepub unsafe fn new() -> TempSensor
pub unsafe fn new() -> TempSensor
§Safety
Care should be taken not to instantiate this peripheral instance, if it is already instantiated and used elsewhere
Trait Implementations§
Source§impl Peripheral for TempSensor
impl Peripheral for TempSensor
Source§type P = TempSensor
type P = TempSensor
Peripheral singleton type
Source§unsafe fn clone_unchecked(&mut self) -> <TempSensor as Peripheral>::P
unsafe fn clone_unchecked(&mut self) -> <TempSensor as Peripheral>::P
Unsafely clone (duplicate) a peripheral singleton. Read more