pub trait HALExt {
type T;
// Required method
fn split(self) -> Self::T;
}
Expand description
This trait implements split method onto PAC peripheral structs.
Required Associated Types§
Required Methods§
Sourcefn split(self) -> Self::T
fn split(self) -> Self::T
Consume the PAC struct, split it into reasonable parts, and return them in an interface struct.
Each HAL module implements user friendly interface methods onto the the returned struct(s). See the documentation for the HAL module of interest for more details about the interface.