#[repr(transparent)]pub struct Ch2stat(pub u32);Expand description
DCP channel 2 status register
Tuple Fields§
§0: u32Implementations§
Source§impl Ch2stat
impl Ch2stat
Sourcepub const fn hash_mismatch(&self) -> bool
pub const fn hash_mismatch(&self) -> bool
This bit indicates that a hashing check operation is mismatched for the control packets that enable the HASH_CHECK bit
Sourcepub const fn set_hash_mismatch(&mut self, val: bool)
pub const fn set_hash_mismatch(&mut self, val: bool)
This bit indicates that a hashing check operation is mismatched for the control packets that enable the HASH_CHECK bit
Sourcepub const fn error_setup(&self) -> bool
pub const fn error_setup(&self) -> bool
This bit indicates that the hardware detected an invalid programming configuration (such as a buffer length that is not a multiple of the natural data size for the operation)
Sourcepub const fn set_error_setup(&mut self, val: bool)
pub const fn set_error_setup(&mut self, val: bool)
This bit indicates that the hardware detected an invalid programming configuration (such as a buffer length that is not a multiple of the natural data size for the operation)
Sourcepub const fn error_packet(&self) -> bool
pub const fn error_packet(&self) -> bool
This bit indicates that a bus error occurred when reading the packet or payload, or when writing the status back to the packet paylaod
Sourcepub const fn set_error_packet(&mut self, val: bool)
pub const fn set_error_packet(&mut self, val: bool)
This bit indicates that a bus error occurred when reading the packet or payload, or when writing the status back to the packet paylaod
Sourcepub const fn error_src(&self) -> bool
pub const fn error_src(&self) -> bool
This bit indicates that a bus error occurred when reading from the source buffer
Sourcepub const fn set_error_src(&mut self, val: bool)
pub const fn set_error_src(&mut self, val: bool)
This bit indicates that a bus error occurred when reading from the source buffer
Sourcepub const fn error_dst(&self) -> bool
pub const fn error_dst(&self) -> bool
This bit indicates that a bus error occurred when storing to the destination buffer
Sourcepub const fn set_error_dst(&mut self, val: bool)
pub const fn set_error_dst(&mut self, val: bool)
This bit indicates that a bus error occurred when storing to the destination buffer
Sourcepub const fn error_pagefault(&self) -> bool
pub const fn error_pagefault(&self) -> bool
This bit indicates that a page fault occurred while converting a virtual address to a physical address
Sourcepub const fn set_error_pagefault(&mut self, val: bool)
pub const fn set_error_pagefault(&mut self, val: bool)
This bit indicates that a page fault occurred while converting a virtual address to a physical address
Sourcepub const fn error_code(&self) -> Ch2statErrorCode
pub const fn error_code(&self) -> Ch2statErrorCode
Indicates additional error codes for some of the error conditions.
Sourcepub const fn set_error_code(&mut self, val: Ch2statErrorCode)
pub const fn set_error_code(&mut self, val: Ch2statErrorCode)
Indicates additional error codes for some of the error conditions.