xmc4-hal 0.5.7

Peripheral access API for XMC4 series microcontrollers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub trait EcatExt {
    fn constrain(self) -> Ecat;
}

impl EcatExt for Ecat {
    fn constrain(self) -> Ecat {
        Ecat {}
    }
}

pub struct Ecat {}

// IMPLEMENT PERIPHERAL AFTER THIS LINE