[][src]Trait hal_sensor_dht::InterruptCtrl

pub trait InterruptCtrl {
    pub fn disable(&mut self);
pub fn enable(&mut self); }

Trait for an type which controls interrupt handling of the target architeture.

Required methods

pub fn disable(&mut self)

Disable interrupts.

This is done when the reading the input line is started.

pub fn enable(&mut self)

Enable interrupt.

This is called when reading the input line is done.

Loading content...

Implementors

Loading content...