pub struct InformationalExceptionsControlPage { /* private fields */ }
Implementations§
Source§impl InformationalExceptionsControlPage
impl InformationalExceptionsControlPage
Sourcepub const fn into_bytes(self) -> [u8; 12]
pub const fn into_bytes(self) -> [u8; 12]
Sourcepub const fn from_bytes(bytes: [u8; 12]) -> Self
pub const fn from_bytes(bytes: [u8; 12]) -> Self
Converts the given bytes directly into the bitfield struct.
Source§impl InformationalExceptionsControlPage
impl InformationalExceptionsControlPage
Sourcepub fn parameters_saveable(&self) -> <B1 as Specifier>::InOut
pub fn parameters_saveable(&self) -> <B1 as Specifier>::InOut
Returns the value of parameters_saveable.
Sourcepub fn parameters_saveable_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn parameters_saveable_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of parameters_saveable.
#Errors
If the returned value contains an invalid bit pattern for parameters_saveable.
Sourcepub fn with_parameters_saveable(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_parameters_saveable(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of parameters_saveable set to the given value.
#Panics
If the given value is out of bounds for parameters_saveable.
Sourcepub fn with_parameters_saveable_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_parameters_saveable_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of parameters_saveable set to the given value.
#Errors
If the given value is out of bounds for parameters_saveable.
Sourcepub fn set_parameters_saveable(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_parameters_saveable(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of parameters_saveable to the given value.
#Panics
If the given value is out of bounds for parameters_saveable.
Sourcepub fn set_parameters_saveable_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_parameters_saveable_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of parameters_saveable to the given value.
#Errors
If the given value is out of bounds for parameters_saveable.
Sourcepub fn subpage_format(&self) -> <B1 as Specifier>::InOut
pub fn subpage_format(&self) -> <B1 as Specifier>::InOut
Returns the value of subpage_format.
Sourcepub fn subpage_format_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn subpage_format_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of subpage_format.
#Errors
If the returned value contains an invalid bit pattern for subpage_format.
Sourcepub fn with_subpage_format(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_subpage_format(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of subpage_format set to the given value.
#Panics
If the given value is out of bounds for subpage_format.
Sourcepub fn with_subpage_format_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_subpage_format_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of subpage_format set to the given value.
#Errors
If the given value is out of bounds for subpage_format.
Sourcepub fn set_subpage_format(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_subpage_format(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of subpage_format to the given value.
#Panics
If the given value is out of bounds for subpage_format.
Sourcepub fn set_subpage_format_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_subpage_format_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of subpage_format to the given value.
#Errors
If the given value is out of bounds for subpage_format.
Sourcepub fn page_code_or_err(
&self,
) -> Result<<B6 as Specifier>::InOut, InvalidBitPattern<<B6 as Specifier>::Bytes>>
pub fn page_code_or_err( &self, ) -> Result<<B6 as Specifier>::InOut, InvalidBitPattern<<B6 as Specifier>::Bytes>>
Returns the value of page_code.
#Errors
If the returned value contains an invalid bit pattern for page_code.
Sourcepub fn with_page_code(self, new_val: <B6 as Specifier>::InOut) -> Self
pub fn with_page_code(self, new_val: <B6 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of page_code set to the given value.
#Panics
If the given value is out of bounds for page_code.
Sourcepub fn with_page_code_checked(
self,
new_val: <B6 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_page_code_checked( self, new_val: <B6 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of page_code set to the given value.
#Errors
If the given value is out of bounds for page_code.
Sourcepub fn set_page_code(&mut self, new_val: <B6 as Specifier>::InOut)
pub fn set_page_code(&mut self, new_val: <B6 as Specifier>::InOut)
Sets the value of page_code to the given value.
#Panics
If the given value is out of bounds for page_code.
Sourcepub fn set_page_code_checked(
&mut self,
new_val: <B6 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_page_code_checked( &mut self, new_val: <B6 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of page_code to the given value.
#Errors
If the given value is out of bounds for page_code.
Sourcepub fn page_length(&self) -> <B8 as Specifier>::InOut
pub fn page_length(&self) -> <B8 as Specifier>::InOut
Returns the value of page_length.
Sourcepub fn page_length_or_err(
&self,
) -> Result<<B8 as Specifier>::InOut, InvalidBitPattern<<B8 as Specifier>::Bytes>>
pub fn page_length_or_err( &self, ) -> Result<<B8 as Specifier>::InOut, InvalidBitPattern<<B8 as Specifier>::Bytes>>
Returns the value of page_length.
#Errors
If the returned value contains an invalid bit pattern for page_length.
Sourcepub fn with_page_length(self, new_val: <B8 as Specifier>::InOut) -> Self
pub fn with_page_length(self, new_val: <B8 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of page_length set to the given value.
#Panics
If the given value is out of bounds for page_length.
Sourcepub fn with_page_length_checked(
self,
new_val: <B8 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_page_length_checked( self, new_val: <B8 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of page_length set to the given value.
#Errors
If the given value is out of bounds for page_length.
Sourcepub fn set_page_length(&mut self, new_val: <B8 as Specifier>::InOut)
pub fn set_page_length(&mut self, new_val: <B8 as Specifier>::InOut)
Sets the value of page_length to the given value.
#Panics
If the given value is out of bounds for page_length.
Sourcepub fn set_page_length_checked(
&mut self,
new_val: <B8 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_page_length_checked( &mut self, new_val: <B8 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of page_length to the given value.
#Errors
If the given value is out of bounds for page_length.
Sourcepub fn performance(&self) -> <B1 as Specifier>::InOut
pub fn performance(&self) -> <B1 as Specifier>::InOut
Returns the value of performance.
Sourcepub fn performance_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn performance_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of performance.
#Errors
If the returned value contains an invalid bit pattern for performance.
Sourcepub fn with_performance(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_performance(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of performance set to the given value.
#Panics
If the given value is out of bounds for performance.
Sourcepub fn with_performance_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_performance_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of performance set to the given value.
#Errors
If the given value is out of bounds for performance.
Sourcepub fn set_performance(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_performance(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of performance to the given value.
#Panics
If the given value is out of bounds for performance.
Sourcepub fn set_performance_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_performance_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of performance to the given value.
#Errors
If the given value is out of bounds for performance.
Sourcepub fn enable_background_function(&self) -> <B1 as Specifier>::InOut
pub fn enable_background_function(&self) -> <B1 as Specifier>::InOut
Returns the value of enable_background_function.
Sourcepub fn enable_background_function_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn enable_background_function_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of enable_background_function.
#Errors
If the returned value contains an invalid bit pattern for enable_background_function.
Sourcepub fn with_enable_background_function(
self,
new_val: <B1 as Specifier>::InOut,
) -> Self
pub fn with_enable_background_function( self, new_val: <B1 as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of enable_background_function set to the given value.
#Panics
If the given value is out of bounds for enable_background_function.
Sourcepub fn with_enable_background_function_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_enable_background_function_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of enable_background_function set to the given value.
#Errors
If the given value is out of bounds for enable_background_function.
Sourcepub fn set_enable_background_function(
&mut self,
new_val: <B1 as Specifier>::InOut,
)
pub fn set_enable_background_function( &mut self, new_val: <B1 as Specifier>::InOut, )
Sets the value of enable_background_function to the given value.
#Panics
If the given value is out of bounds for enable_background_function.
Sourcepub fn set_enable_background_function_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_enable_background_function_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of enable_background_function to the given value.
#Errors
If the given value is out of bounds for enable_background_function.
Sourcepub fn enable_warning(&self) -> <B1 as Specifier>::InOut
pub fn enable_warning(&self) -> <B1 as Specifier>::InOut
Returns the value of enable_warning.
Sourcepub fn enable_warning_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn enable_warning_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of enable_warning.
#Errors
If the returned value contains an invalid bit pattern for enable_warning.
Sourcepub fn with_enable_warning(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_enable_warning(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of enable_warning set to the given value.
#Panics
If the given value is out of bounds for enable_warning.
Sourcepub fn with_enable_warning_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_enable_warning_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of enable_warning set to the given value.
#Errors
If the given value is out of bounds for enable_warning.
Sourcepub fn set_enable_warning(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_enable_warning(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of enable_warning to the given value.
#Panics
If the given value is out of bounds for enable_warning.
Sourcepub fn set_enable_warning_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_enable_warning_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of enable_warning to the given value.
#Errors
If the given value is out of bounds for enable_warning.
Sourcepub fn disable_exception_control(&self) -> <B1 as Specifier>::InOut
pub fn disable_exception_control(&self) -> <B1 as Specifier>::InOut
Returns the value of disable_exception_control.
Sourcepub fn disable_exception_control_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn disable_exception_control_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of disable_exception_control.
#Errors
If the returned value contains an invalid bit pattern for disable_exception_control.
Sourcepub fn with_disable_exception_control(
self,
new_val: <B1 as Specifier>::InOut,
) -> Self
pub fn with_disable_exception_control( self, new_val: <B1 as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of disable_exception_control set to the given value.
#Panics
If the given value is out of bounds for disable_exception_control.
Sourcepub fn with_disable_exception_control_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_disable_exception_control_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of disable_exception_control set to the given value.
#Errors
If the given value is out of bounds for disable_exception_control.
Sourcepub fn set_disable_exception_control(
&mut self,
new_val: <B1 as Specifier>::InOut,
)
pub fn set_disable_exception_control( &mut self, new_val: <B1 as Specifier>::InOut, )
Sets the value of disable_exception_control to the given value.
#Panics
If the given value is out of bounds for disable_exception_control.
Sourcepub fn set_disable_exception_control_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_disable_exception_control_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of disable_exception_control to the given value.
#Errors
If the given value is out of bounds for disable_exception_control.
Sourcepub fn test_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn test_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of test.
#Errors
If the returned value contains an invalid bit pattern for test.
Sourcepub fn with_test(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_test(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of test set to the given value.
#Panics
If the given value is out of bounds for test.
Sourcepub fn with_test_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_test_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of test set to the given value.
#Errors
If the given value is out of bounds for test.
Sourcepub fn set_test(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_test(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of test to the given value.
#Panics
If the given value is out of bounds for test.
Sourcepub fn set_test_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_test_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of test to the given value.
#Errors
If the given value is out of bounds for test.
Sourcepub fn enable_background_error(&self) -> <B1 as Specifier>::InOut
pub fn enable_background_error(&self) -> <B1 as Specifier>::InOut
Returns the value of enable_background_error.
Sourcepub fn enable_background_error_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn enable_background_error_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of enable_background_error.
#Errors
If the returned value contains an invalid bit pattern for enable_background_error.
Sourcepub fn with_enable_background_error(
self,
new_val: <B1 as Specifier>::InOut,
) -> Self
pub fn with_enable_background_error( self, new_val: <B1 as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of enable_background_error set to the given value.
#Panics
If the given value is out of bounds for enable_background_error.
Sourcepub fn with_enable_background_error_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_enable_background_error_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of enable_background_error set to the given value.
#Errors
If the given value is out of bounds for enable_background_error.
Sourcepub fn set_enable_background_error(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_enable_background_error(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of enable_background_error to the given value.
#Panics
If the given value is out of bounds for enable_background_error.
Sourcepub fn set_enable_background_error_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_enable_background_error_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of enable_background_error to the given value.
#Errors
If the given value is out of bounds for enable_background_error.
Sourcepub fn log_error_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn log_error_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of log_error.
#Errors
If the returned value contains an invalid bit pattern for log_error.
Sourcepub fn with_log_error(self, new_val: <B1 as Specifier>::InOut) -> Self
pub fn with_log_error(self, new_val: <B1 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of log_error set to the given value.
#Panics
If the given value is out of bounds for log_error.
Sourcepub fn with_log_error_checked(
self,
new_val: <B1 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_log_error_checked( self, new_val: <B1 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of log_error set to the given value.
#Errors
If the given value is out of bounds for log_error.
Sourcepub fn set_log_error(&mut self, new_val: <B1 as Specifier>::InOut)
pub fn set_log_error(&mut self, new_val: <B1 as Specifier>::InOut)
Sets the value of log_error to the given value.
#Panics
If the given value is out of bounds for log_error.
Sourcepub fn set_log_error_checked(
&mut self,
new_val: <B1 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_log_error_checked( &mut self, new_val: <B1 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of log_error to the given value.
#Errors
If the given value is out of bounds for log_error.
Sourcepub fn method_of_reporting_informational_exceptions(
&self,
) -> <B4 as Specifier>::InOut
pub fn method_of_reporting_informational_exceptions( &self, ) -> <B4 as Specifier>::InOut
Returns the value of method_of_reporting_informational_exceptions.
Sourcepub fn method_of_reporting_informational_exceptions_or_err(
&self,
) -> Result<<B4 as Specifier>::InOut, InvalidBitPattern<<B4 as Specifier>::Bytes>>
pub fn method_of_reporting_informational_exceptions_or_err( &self, ) -> Result<<B4 as Specifier>::InOut, InvalidBitPattern<<B4 as Specifier>::Bytes>>
Returns the value of method_of_reporting_informational_exceptions.
#Errors
If the returned value contains an invalid bit pattern for method_of_reporting_informational_exceptions.
Sourcepub fn with_method_of_reporting_informational_exceptions(
self,
new_val: <B4 as Specifier>::InOut,
) -> Self
pub fn with_method_of_reporting_informational_exceptions( self, new_val: <B4 as Specifier>::InOut, ) -> Self
Returns a copy of the bitfield with the value of method_of_reporting_informational_exceptions set to the given value.
#Panics
If the given value is out of bounds for method_of_reporting_informational_exceptions.
Sourcepub fn with_method_of_reporting_informational_exceptions_checked(
self,
new_val: <B4 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_method_of_reporting_informational_exceptions_checked( self, new_val: <B4 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of method_of_reporting_informational_exceptions set to the given value.
#Errors
If the given value is out of bounds for method_of_reporting_informational_exceptions.
Sourcepub fn set_method_of_reporting_informational_exceptions(
&mut self,
new_val: <B4 as Specifier>::InOut,
)
pub fn set_method_of_reporting_informational_exceptions( &mut self, new_val: <B4 as Specifier>::InOut, )
Sets the value of method_of_reporting_informational_exceptions to the given value.
#Panics
If the given value is out of bounds for method_of_reporting_informational_exceptions.
Sourcepub fn set_method_of_reporting_informational_exceptions_checked(
&mut self,
new_val: <B4 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_method_of_reporting_informational_exceptions_checked( &mut self, new_val: <B4 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of method_of_reporting_informational_exceptions to the given value.
#Errors
If the given value is out of bounds for method_of_reporting_informational_exceptions.
Sourcepub fn interval_timer(&self) -> <B32 as Specifier>::InOut
pub fn interval_timer(&self) -> <B32 as Specifier>::InOut
Returns the value of interval_timer.
Sourcepub fn interval_timer_or_err(
&self,
) -> Result<<B32 as Specifier>::InOut, InvalidBitPattern<<B32 as Specifier>::Bytes>>
pub fn interval_timer_or_err( &self, ) -> Result<<B32 as Specifier>::InOut, InvalidBitPattern<<B32 as Specifier>::Bytes>>
Returns the value of interval_timer.
#Errors
If the returned value contains an invalid bit pattern for interval_timer.
Sourcepub fn with_interval_timer(self, new_val: <B32 as Specifier>::InOut) -> Self
pub fn with_interval_timer(self, new_val: <B32 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of interval_timer set to the given value.
#Panics
If the given value is out of bounds for interval_timer.
Sourcepub fn with_interval_timer_checked(
self,
new_val: <B32 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_interval_timer_checked( self, new_val: <B32 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of interval_timer set to the given value.
#Errors
If the given value is out of bounds for interval_timer.
Sourcepub fn set_interval_timer(&mut self, new_val: <B32 as Specifier>::InOut)
pub fn set_interval_timer(&mut self, new_val: <B32 as Specifier>::InOut)
Sets the value of interval_timer to the given value.
#Panics
If the given value is out of bounds for interval_timer.
Sourcepub fn set_interval_timer_checked(
&mut self,
new_val: <B32 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_interval_timer_checked( &mut self, new_val: <B32 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of interval_timer to the given value.
#Errors
If the given value is out of bounds for interval_timer.
Sourcepub fn report_count(&self) -> <B32 as Specifier>::InOut
pub fn report_count(&self) -> <B32 as Specifier>::InOut
Returns the value of report_count.
Sourcepub fn report_count_or_err(
&self,
) -> Result<<B32 as Specifier>::InOut, InvalidBitPattern<<B32 as Specifier>::Bytes>>
pub fn report_count_or_err( &self, ) -> Result<<B32 as Specifier>::InOut, InvalidBitPattern<<B32 as Specifier>::Bytes>>
Returns the value of report_count.
#Errors
If the returned value contains an invalid bit pattern for report_count.
Sourcepub fn with_report_count(self, new_val: <B32 as Specifier>::InOut) -> Self
pub fn with_report_count(self, new_val: <B32 as Specifier>::InOut) -> Self
Returns a copy of the bitfield with the value of report_count set to the given value.
#Panics
If the given value is out of bounds for report_count.
Sourcepub fn with_report_count_checked(
self,
new_val: <B32 as Specifier>::InOut,
) -> Result<Self, OutOfBounds>
pub fn with_report_count_checked( self, new_val: <B32 as Specifier>::InOut, ) -> Result<Self, OutOfBounds>
Returns a copy of the bitfield with the value of report_count set to the given value.
#Errors
If the given value is out of bounds for report_count.
Sourcepub fn set_report_count(&mut self, new_val: <B32 as Specifier>::InOut)
pub fn set_report_count(&mut self, new_val: <B32 as Specifier>::InOut)
Sets the value of report_count to the given value.
#Panics
If the given value is out of bounds for report_count.
Sourcepub fn set_report_count_checked(
&mut self,
new_val: <B32 as Specifier>::InOut,
) -> Result<(), OutOfBounds>
pub fn set_report_count_checked( &mut self, new_val: <B32 as Specifier>::InOut, ) -> Result<(), OutOfBounds>
Sets the value of report_count to the given value.
#Errors
If the given value is out of bounds for report_count.
Trait Implementations§
Source§impl CheckTotalSizeMultipleOf8 for InformationalExceptionsControlPage
impl CheckTotalSizeMultipleOf8 for InformationalExceptionsControlPage
Source§impl Clone for InformationalExceptionsControlPage
impl Clone for InformationalExceptionsControlPage
Source§fn clone(&self) -> InformationalExceptionsControlPage
fn clone(&self) -> InformationalExceptionsControlPage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more