Struct esp_idf_hal::rmt::RMT
source · pub struct RMT {
pub channel0: CHANNEL0,
pub channel1: CHANNEL1,
pub channel2: CHANNEL2,
pub channel3: CHANNEL3,
}
Fields§
§channel0: CHANNEL0
§channel1: CHANNEL1
§channel2: CHANNEL2
§channel3: CHANNEL3
Implementations§
source§impl RMT
impl RMT
sourcepub unsafe fn new() -> Self
pub unsafe fn new() -> Self
Creates a new instance of the RMT peripheral. Typically one wants
to use the instance rmt
from
the device peripherals obtained via
peripherals::Peripherals::take()
.
§Safety
It is safe to instantiate the RMT peripheral exactly one time. Care has to be taken that this has not already been done elsewhere.