pub struct OpPinGetDo<'r> { /* private fields */ }Available on crate feature
dpll only.Expand description
Get list of pins and its attributes.
- dump request without any attributes given - list all the pins in the system
- dump request with target dpll - list all the pins registered with a given dpll device
- do request with target dpll and target pin - single pin attributes
Flags: admin-perm
Request attributes:
Reply attributes:
- .get_id()
- .get_module_name()
- .get_clock_id()
- .get_board_label()
- .get_panel_label()
- .get_package_label()
- .get_type()
- .get_frequency()
- .get_frequency_supported()
- .get_capabilities()
- .get_parent_device()
- .get_parent_pin()
- .get_phase_adjust_min()
- .get_phase_adjust_max()
- .get_phase_adjust()
- .get_fractional_frequency_offset()
- .get_esync_frequency()
- .get_esync_frequency_supported()
- .get_esync_pulse()
- .get_reference_sync()
- .get_phase_adjust_gran()
- .get_fractional_frequency_offset_ppt()
- .get_measured_frequency()
Implementations§
Source§impl<'r> OpPinGetDo<'r>
impl<'r> OpPinGetDo<'r>
pub fn new(request: Request<'r>) -> Self
pub fn encode_request<'buf>( buf: &'buf mut Vec<u8>, ) -> PushPin<&'buf mut Vec<u8>>
pub fn encode(&mut self) -> PushPin<&mut Vec<u8>>
pub fn into_encoder(self) -> PushPin<RequestBuf<'r>>
pub fn decode_request<'a>(buf: &'a [u8]) -> IterablePin<'a> ⓘ
Trait Implementations§
Source§impl<'r> Debug for OpPinGetDo<'r>
impl<'r> Debug for OpPinGetDo<'r>
Source§impl NetlinkRequest for OpPinGetDo<'_>
impl NetlinkRequest for OpPinGetDo<'_>
type ReplyType<'buf> = IterablePin<'buf>
fn decode_reply<'buf>(buf: &'buf [u8]) -> Self::ReplyType<'buf>
Auto Trait Implementations§
impl<'r> !UnwindSafe for OpPinGetDo<'r>
impl<'r> Freeze for OpPinGetDo<'r>
impl<'r> RefUnwindSafe for OpPinGetDo<'r>
impl<'r> Send for OpPinGetDo<'r>
impl<'r> Sync for OpPinGetDo<'r>
impl<'r> Unpin for OpPinGetDo<'r>
impl<'r> UnsafeUnpin for OpPinGetDo<'r>
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