ch58x-hal 0.0.2

HAL for the CH583/CH582/CH581 RISC-V BLE microcotrollers from WCH
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::{into_ref, peripherals, Peripheral, PeripheralRef};

pub struct Config {}

pub struct Rf<'d, T: Instance> {
    _peri: PeripheralRef<'d, T>,
}

pub(crate) mod sealed {
    pub trait Instance {}
}

pub trait Instance: Peripheral<P = Self> + sealed::Instance {}

impl sealed::Instance for peripherals::BLE {}

impl Instance for peripherals::BLE {}