autd3-core 38.1.0

AUTD3 core traits and types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[doc(hidden)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct CpuGPIOPort {
    pub pa5: bool,
    pub pa7: bool,
}

impl CpuGPIOPort {
    /// Creates a new [`CpuGPIOPort`].
    #[must_use]
    pub const fn new(pa5: bool, pa7: bool) -> Self {
        Self { pa5, pa7 }
    }
}