pub struct StateMachineConfiguration {Show 25 fields
pub out_pins_count: u32,
pub out_pins_base: u32,
pub set_pins_count: u32,
pub set_pins_base: u32,
pub in_pins_base: u32,
pub side_set_base: u32,
pub side_set_opt_enable: bool,
pub side_set_bit_count: u32,
pub side_set_pindirs: bool,
pub wrap: u32,
pub wrap_to: u32,
pub in_shift_direction_right: bool,
pub in_autopush: bool,
pub in_push_threshold: u32,
pub out_shift_direction_right: bool,
pub out_autopull: bool,
pub out_pull_threshold: u32,
pub jmp_pin: u32,
pub out_special_sticky: bool,
pub out_special_has_enable_pin: bool,
pub out_special_enable_pin_index: u32,
pub mov_status_sel: PioMovStatusType,
pub mov_status_n: u32,
pub div_int: u32,
pub div_frac: u32,
}
Expand description
PIO State Machine configuration structure
Used to initialize a PIO with all of its state machines.
Fields§
§out_pins_count: u32
§out_pins_base: u32
§set_pins_count: u32
§set_pins_base: u32
§in_pins_base: u32
§side_set_base: u32
§side_set_opt_enable: bool
§side_set_bit_count: u32
§side_set_pindirs: bool
§wrap: u32
§wrap_to: u32
§in_shift_direction_right: bool
§in_autopush: bool
§in_push_threshold: u32
§out_shift_direction_right: bool
§out_autopull: bool
§out_pull_threshold: u32
§jmp_pin: u32
§out_special_sticky: bool
§out_special_has_enable_pin: bool
§out_special_enable_pin_index: u32
§mov_status_sel: PioMovStatusType
§mov_status_n: u32
§div_int: u32
§div_frac: u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StateMachineConfiguration
impl RefUnwindSafe for StateMachineConfiguration
impl Send for StateMachineConfiguration
impl Sync for StateMachineConfiguration
impl Unpin for StateMachineConfiguration
impl UnwindSafe for StateMachineConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more