#[repr(transparent)]pub struct Input(pub u32);Expand description
SCT input register
Tuple Fields§
§0: u32Implementations§
Source§impl Input
impl Input
Sourcepub const fn set_ain0(&mut self, val: bool)
pub const fn set_ain0(&mut self, val: bool)
Input 0 state. Input 0 state on the last SCT clock edge.
Sourcepub const fn set_ain1(&mut self, val: bool)
pub const fn set_ain1(&mut self, val: bool)
Input 1 state. Input 1 state on the last SCT clock edge.
Sourcepub const fn set_ain2(&mut self, val: bool)
pub const fn set_ain2(&mut self, val: bool)
Input 2 state. Input 2 state on the last SCT clock edge.
Sourcepub const fn set_ain3(&mut self, val: bool)
pub const fn set_ain3(&mut self, val: bool)
Input 3 state. Input 3 state on the last SCT clock edge.
Sourcepub const fn set_ain4(&mut self, val: bool)
pub const fn set_ain4(&mut self, val: bool)
Input 4 state. Input 4 state on the last SCT clock edge.
Sourcepub const fn set_ain5(&mut self, val: bool)
pub const fn set_ain5(&mut self, val: bool)
Input 5 state. Input 5 state on the last SCT clock edge.
Sourcepub const fn set_ain6(&mut self, val: bool)
pub const fn set_ain6(&mut self, val: bool)
Input 6 state. Input 6 state on the last SCT clock edge.
Sourcepub const fn set_ain7(&mut self, val: bool)
pub const fn set_ain7(&mut self, val: bool)
Input 7 state. Input 7 state on the last SCT clock edge.
Sourcepub const fn set_ain8(&mut self, val: bool)
pub const fn set_ain8(&mut self, val: bool)
Input 8 state. Input 8 state on the last SCT clock edge.
Sourcepub const fn set_ain9(&mut self, val: bool)
pub const fn set_ain9(&mut self, val: bool)
Input 9 state. Input 9 state on the last SCT clock edge.
Sourcepub const fn set_ain10(&mut self, val: bool)
pub const fn set_ain10(&mut self, val: bool)
Input 10 state. Input 10 state on the last SCT clock edge.
Sourcepub const fn set_ain11(&mut self, val: bool)
pub const fn set_ain11(&mut self, val: bool)
Input 11 state. Input 11 state on the last SCT clock edge.
Sourcepub const fn set_ain12(&mut self, val: bool)
pub const fn set_ain12(&mut self, val: bool)
Input 12 state. Input 12 state on the last SCT clock edge.
Sourcepub const fn set_ain13(&mut self, val: bool)
pub const fn set_ain13(&mut self, val: bool)
Input 13 state. Input 13 state on the last SCT clock edge.
Sourcepub const fn set_ain14(&mut self, val: bool)
pub const fn set_ain14(&mut self, val: bool)
Input 14 state. Input 14 state on the last SCT clock edge.
Sourcepub const fn set_ain15(&mut self, val: bool)
pub const fn set_ain15(&mut self, val: bool)
Input 15 state. Input 15 state on the last SCT clock edge.
Sourcepub const fn sin0(&self) -> bool
pub const fn sin0(&self) -> bool
Input 0 state. Input 0 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin0(&mut self, val: bool)
pub const fn set_sin0(&mut self, val: bool)
Input 0 state. Input 0 state following the synchronization specified by INSYNC.
Sourcepub const fn sin1(&self) -> bool
pub const fn sin1(&self) -> bool
Input 1 state. Input 1 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin1(&mut self, val: bool)
pub const fn set_sin1(&mut self, val: bool)
Input 1 state. Input 1 state following the synchronization specified by INSYNC.
Sourcepub const fn sin2(&self) -> bool
pub const fn sin2(&self) -> bool
Input 2 state. Input 2 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin2(&mut self, val: bool)
pub const fn set_sin2(&mut self, val: bool)
Input 2 state. Input 2 state following the synchronization specified by INSYNC.
Sourcepub const fn sin3(&self) -> bool
pub const fn sin3(&self) -> bool
Input 3 state. Input 3 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin3(&mut self, val: bool)
pub const fn set_sin3(&mut self, val: bool)
Input 3 state. Input 3 state following the synchronization specified by INSYNC.
Sourcepub const fn sin4(&self) -> bool
pub const fn sin4(&self) -> bool
Input 4 state. Input 4 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin4(&mut self, val: bool)
pub const fn set_sin4(&mut self, val: bool)
Input 4 state. Input 4 state following the synchronization specified by INSYNC.
Sourcepub const fn sin5(&self) -> bool
pub const fn sin5(&self) -> bool
Input 5 state. Input 5 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin5(&mut self, val: bool)
pub const fn set_sin5(&mut self, val: bool)
Input 5 state. Input 5 state following the synchronization specified by INSYNC.
Sourcepub const fn sin6(&self) -> bool
pub const fn sin6(&self) -> bool
Input 6 state. Input 6 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin6(&mut self, val: bool)
pub const fn set_sin6(&mut self, val: bool)
Input 6 state. Input 6 state following the synchronization specified by INSYNC.
Sourcepub const fn sin7(&self) -> bool
pub const fn sin7(&self) -> bool
Input 7 state. Input 7 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin7(&mut self, val: bool)
pub const fn set_sin7(&mut self, val: bool)
Input 7 state. Input 7 state following the synchronization specified by INSYNC.
Sourcepub const fn sin8(&self) -> bool
pub const fn sin8(&self) -> bool
Input 8 state. Input 8 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin8(&mut self, val: bool)
pub const fn set_sin8(&mut self, val: bool)
Input 8 state. Input 8 state following the synchronization specified by INSYNC.
Sourcepub const fn sin9(&self) -> bool
pub const fn sin9(&self) -> bool
Input 9 state. Input 9 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin9(&mut self, val: bool)
pub const fn set_sin9(&mut self, val: bool)
Input 9 state. Input 9 state following the synchronization specified by INSYNC.
Sourcepub const fn sin10(&self) -> bool
pub const fn sin10(&self) -> bool
Input 10 state. Input 10 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin10(&mut self, val: bool)
pub const fn set_sin10(&mut self, val: bool)
Input 10 state. Input 10 state following the synchronization specified by INSYNC.
Sourcepub const fn sin11(&self) -> bool
pub const fn sin11(&self) -> bool
Input 11 state. Input 11 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin11(&mut self, val: bool)
pub const fn set_sin11(&mut self, val: bool)
Input 11 state. Input 11 state following the synchronization specified by INSYNC.
Sourcepub const fn sin12(&self) -> bool
pub const fn sin12(&self) -> bool
Input 12 state. Input 12 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin12(&mut self, val: bool)
pub const fn set_sin12(&mut self, val: bool)
Input 12 state. Input 12 state following the synchronization specified by INSYNC.
Sourcepub const fn sin13(&self) -> bool
pub const fn sin13(&self) -> bool
Input 13 state. Input 13 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin13(&mut self, val: bool)
pub const fn set_sin13(&mut self, val: bool)
Input 13 state. Input 13 state following the synchronization specified by INSYNC.
Sourcepub const fn sin14(&self) -> bool
pub const fn sin14(&self) -> bool
Input 14 state. Input 14 state following the synchronization specified by INSYNC.
Sourcepub const fn set_sin14(&mut self, val: bool)
pub const fn set_sin14(&mut self, val: bool)
Input 14 state. Input 14 state following the synchronization specified by INSYNC.