#[repr(C)]pub struct bmp_remote_protocol {
pub swd_init: Option<unsafe extern "C" fn() -> bool>,
pub jtag_init: Option<unsafe extern "C" fn() -> bool>,
pub adiv5_init: Option<unsafe extern "C" fn(dp: *mut adiv5_debug_port_s) -> bool>,
pub add_jtag_dev: Option<unsafe extern "C" fn(dev_index: u32, jtag_dev: *const jtag_dev_s)>,
pub get_comms_frequency: Option<unsafe extern "C" fn() -> u32>,
pub set_comms_frequency: Option<unsafe extern "C" fn(freq: u32) -> bool>,
pub target_clk_output_enable: Option<unsafe extern "C" fn(enable: bool)>,
}Fields§
§swd_init: Option<unsafe extern "C" fn() -> bool>§jtag_init: Option<unsafe extern "C" fn() -> bool>§adiv5_init: Option<unsafe extern "C" fn(dp: *mut adiv5_debug_port_s) -> bool>§add_jtag_dev: Option<unsafe extern "C" fn(dev_index: u32, jtag_dev: *const jtag_dev_s)>§get_comms_frequency: Option<unsafe extern "C" fn() -> u32>§set_comms_frequency: Option<unsafe extern "C" fn(freq: u32) -> bool>§target_clk_output_enable: Option<unsafe extern "C" fn(enable: bool)>Trait Implementations§
Source§impl Clone for bmp_remote_protocol
impl Clone for bmp_remote_protocol
Source§fn clone(&self) -> bmp_remote_protocol
fn clone(&self) -> bmp_remote_protocol
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for bmp_remote_protocol
impl Debug for bmp_remote_protocol
impl Copy for bmp_remote_protocol
Auto Trait Implementations§
impl Freeze for bmp_remote_protocol
impl RefUnwindSafe for bmp_remote_protocol
impl Send for bmp_remote_protocol
impl Sync for bmp_remote_protocol
impl Unpin for bmp_remote_protocol
impl UnwindSafe for bmp_remote_protocol
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