#[repr(C)]pub struct arm_coprocessor_interface {
pub process_data: Option<unsafe extern "C" fn(obj: *mut conf_object_t, CRd: uint32, opcode_1: uint32, CRn: uint32, CRm: uint32, opcode_2: uint32, type_: c_int)>,
pub load_coprocessor: Option<unsafe extern "C" fn(obj: *mut conf_object_t, CRd: uint32, N: uint32, Options: uint32, value: uint32, type_: c_int)>,
pub read_register: Option<unsafe extern "C" fn(obj: *mut conf_object_t, opcode_1: uint32, CRn: uint32, CRm: uint32, opcode_2: uint32, type_: c_int) -> uint32>,
pub write_register: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint32, opcode_1: uint32, CRn: uint32, CRm: uint32, opcode_2: uint32, type_: c_int)>,
pub read_register_64_bit: Option<unsafe extern "C" fn(obj: *mut conf_object_t, opcode_1: uint32, CRm: uint32, type_: c_int) -> uint64>,
pub write_register_64_bit: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint64, opcode_1: uint32, CRm: uint32, type_: c_int)>,
pub store_coprocessor: Option<unsafe extern "C" fn(obj: *mut conf_object_t, CRd: uint32, N: uint32, Options: uint32, type_: c_int) -> uint32>,
pub reset: Option<unsafe extern "C" fn(obj: *mut conf_object_t, hard_reset: c_int)>,
}
Fields§
§process_data: Option<unsafe extern "C" fn(obj: *mut conf_object_t, CRd: uint32, opcode_1: uint32, CRn: uint32, CRm: uint32, opcode_2: uint32, type_: c_int)>
§load_coprocessor: Option<unsafe extern "C" fn(obj: *mut conf_object_t, CRd: uint32, N: uint32, Options: uint32, value: uint32, type_: c_int)>
§read_register: Option<unsafe extern "C" fn(obj: *mut conf_object_t, opcode_1: uint32, CRn: uint32, CRm: uint32, opcode_2: uint32, type_: c_int) -> uint32>
§write_register: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint32, opcode_1: uint32, CRn: uint32, CRm: uint32, opcode_2: uint32, type_: c_int)>
§read_register_64_bit: Option<unsafe extern "C" fn(obj: *mut conf_object_t, opcode_1: uint32, CRm: uint32, type_: c_int) -> uint64>
§write_register_64_bit: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint64, opcode_1: uint32, CRm: uint32, type_: c_int)>
§store_coprocessor: Option<unsafe extern "C" fn(obj: *mut conf_object_t, CRd: uint32, N: uint32, Options: uint32, type_: c_int) -> uint32>
§reset: Option<unsafe extern "C" fn(obj: *mut conf_object_t, hard_reset: c_int)>
Trait Implementations§
source§impl Clone for arm_coprocessor_interface
impl Clone for arm_coprocessor_interface
source§fn clone(&self) -> arm_coprocessor_interface
fn clone(&self) -> arm_coprocessor_interface
Returns a copy 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 arm_coprocessor_interface
impl Debug for arm_coprocessor_interface
source§impl Default for arm_coprocessor_interface
impl Default for arm_coprocessor_interface
source§fn default() -> arm_coprocessor_interface
fn default() -> arm_coprocessor_interface
Returns the “default value” for a type. Read more
source§impl Hash for arm_coprocessor_interface
impl Hash for arm_coprocessor_interface
source§impl Ord for arm_coprocessor_interface
impl Ord for arm_coprocessor_interface
source§fn cmp(&self, other: &arm_coprocessor_interface) -> Ordering
fn cmp(&self, other: &arm_coprocessor_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialOrd for arm_coprocessor_interface
impl PartialOrd for arm_coprocessor_interface
impl Copy for arm_coprocessor_interface
impl Eq for arm_coprocessor_interface
impl StructuralPartialEq for arm_coprocessor_interface
Auto Trait Implementations§
impl Freeze for arm_coprocessor_interface
impl RefUnwindSafe for arm_coprocessor_interface
impl Send for arm_coprocessor_interface
impl Sync for arm_coprocessor_interface
impl Unpin for arm_coprocessor_interface
impl UnwindSafe for arm_coprocessor_interface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)