Skip to main content

Module rf233

Module rf233 

Source
Expand description

Component for communicating with an RF233 chip (802.15.4) connected via SPI.

This provides one Component, RF233Component, which provides basic packet-level interfaces for communicating with 802.15.4.

§Usage

let rf233 = components::rf233::RF233Component::new(
    rf233_spi,
    &peripherals.pa[09], // reset
    &peripherals.pa[10], // sleep
    &peripherals.pa[08], // irq
    &peripherals.pa[08],
    RADIO_CHANNEL,
)
.finalize(components::rf233_component_static!(sam4l::spi::SpiHw));

Structs§

RF233Component