Trait avr_device::generic::Resettable
source · pub trait Resettable: RegisterSpec {
const RESET_VALUE: Self::Ux;
// Provided method
fn reset_value() -> Self::Ux { ... }
}
Expand description
Reset value of the register.
This value is the initial value for the write
method. It can also be directly written to the
register by using the reset
method.
Required Associated Constants§
sourceconst RESET_VALUE: Self::Ux
const RESET_VALUE: Self::Ux
Reset value of the register.
Provided Methods§
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Object Safety§
Implementors§
source§impl Resettable for ACSR_SPEC
impl Resettable for ACSR_SPEC
reset()
method sets ACSR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::ac::acsr::ACSR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for avr_device::attiny85::ac::adcsrb::ADCSRB_SPEC
impl Resettable for avr_device::attiny85::ac::adcsrb::ADCSRB_SPEC
reset()
method sets ADCSRB to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::ac::adcsrb::ADCSRB_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for avr_device::attiny85::ac::didr0::DIDR0_SPEC
impl Resettable for avr_device::attiny85::ac::didr0::DIDR0_SPEC
reset()
method sets DIDR0 to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::ac::didr0::DIDR0_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for ADC_SPEC
impl Resettable for ADC_SPEC
reset()
method sets ADC to value 0
const RESET_VALUE: Self::Ux = {transmute(0x0000): <devices::attiny85::adc::adc::ADC_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for ADCSRA_SPEC
impl Resettable for ADCSRA_SPEC
reset()
method sets ADCSRA to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::adc::adcsra::ADCSRA_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for avr_device::attiny85::adc::adcsrb::ADCSRB_SPEC
impl Resettable for avr_device::attiny85::adc::adcsrb::ADCSRB_SPEC
reset()
method sets ADCSRB to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::adc::adcsrb::ADCSRB_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for ADMUX_SPEC
impl Resettable for ADMUX_SPEC
reset()
method sets ADMUX to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::adc::admux::ADMUX_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for avr_device::attiny85::adc::didr0::DIDR0_SPEC
impl Resettable for avr_device::attiny85::adc::didr0::DIDR0_SPEC
reset()
method sets DIDR0 to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::adc::didr0::DIDR0_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for SPMCSR_SPEC
impl Resettable for SPMCSR_SPEC
reset()
method sets SPMCSR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::boot_load::spmcsr::SPMCSR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for CLKPR_SPEC
impl Resettable for CLKPR_SPEC
reset()
method sets CLKPR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::cpu::clkpr::CLKPR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for DWDR_SPEC
impl Resettable for DWDR_SPEC
reset()
method sets DWDR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::cpu::dwdr::DWDR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for GPIOR0_SPEC
impl Resettable for GPIOR0_SPEC
reset()
method sets GPIOR0 to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::cpu::gpior0::GPIOR0_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for GPIOR1_SPEC
impl Resettable for GPIOR1_SPEC
reset()
method sets GPIOR1 to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::cpu::gpior1::GPIOR1_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for GPIOR2_SPEC
impl Resettable for GPIOR2_SPEC
reset()
method sets GPIOR2 to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::cpu::gpior2::GPIOR2_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for avr_device::attiny85::cpu::mcucr::MCUCR_SPEC
impl Resettable for avr_device::attiny85::cpu::mcucr::MCUCR_SPEC
reset()
method sets MCUCR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::cpu::mcucr::MCUCR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for MCUSR_SPEC
impl Resettable for MCUSR_SPEC
reset()
method sets MCUSR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::cpu::mcusr::MCUSR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for OSCCAL_SPEC
impl Resettable for OSCCAL_SPEC
reset()
method sets OSCCAL to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::cpu::osccal::OSCCAL_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for PLLCSR_SPEC
impl Resettable for PLLCSR_SPEC
reset()
method sets PLLCSR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::cpu::pllcsr::PLLCSR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for PRR_SPEC
impl Resettable for PRR_SPEC
reset()
method sets PRR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::cpu::prr::PRR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for EEAR_SPEC
impl Resettable for EEAR_SPEC
reset()
method sets EEAR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x0000): <devices::attiny85::eeprom::eear::EEAR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for EECR_SPEC
impl Resettable for EECR_SPEC
reset()
method sets EECR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::eeprom::eecr::EECR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for EEDR_SPEC
impl Resettable for EEDR_SPEC
reset()
method sets EEDR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::eeprom::eedr::EEDR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for GIFR_SPEC
impl Resettable for GIFR_SPEC
reset()
method sets GIFR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::exint::gifr::GIFR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for GIMSK_SPEC
impl Resettable for GIMSK_SPEC
reset()
method sets GIMSK to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::exint::gimsk::GIMSK_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for avr_device::attiny85::exint::mcucr::MCUCR_SPEC
impl Resettable for avr_device::attiny85::exint::mcucr::MCUCR_SPEC
reset()
method sets MCUCR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::exint::mcucr::MCUCR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for PCMSK_SPEC
impl Resettable for PCMSK_SPEC
reset()
method sets PCMSK to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::exint::pcmsk::PCMSK_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for EXTENDED_SPEC
impl Resettable for EXTENDED_SPEC
reset()
method sets EXTENDED to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::fuse::extended::EXTENDED_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for HIGH_SPEC
impl Resettable for HIGH_SPEC
reset()
method sets HIGH to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::fuse::high::HIGH_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for LOW_SPEC
impl Resettable for LOW_SPEC
reset()
method sets LOW to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::fuse::low::LOW_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for LOCKBIT_SPEC
impl Resettable for LOCKBIT_SPEC
reset()
method sets LOCKBIT to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::lockbit::lockbit::LOCKBIT_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for DDRB_SPEC
impl Resettable for DDRB_SPEC
reset()
method sets DDRB to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::portb::ddrb::DDRB_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for PINB_SPEC
impl Resettable for PINB_SPEC
reset()
method sets PINB to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::portb::pinb::PINB_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for PORTB_SPEC
impl Resettable for PORTB_SPEC
reset()
method sets PORTB to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::portb::portb::PORTB_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for avr_device::attiny85::tc0::gtccr::GTCCR_SPEC
impl Resettable for avr_device::attiny85::tc0::gtccr::GTCCR_SPEC
reset()
method sets GTCCR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc0::gtccr::GTCCR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for OCR0A_SPEC
impl Resettable for OCR0A_SPEC
reset()
method sets OCR0A to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc0::ocr0a::OCR0A_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for OCR0B_SPEC
impl Resettable for OCR0B_SPEC
reset()
method sets OCR0B to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc0::ocr0b::OCR0B_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for TCCR0A_SPEC
impl Resettable for TCCR0A_SPEC
reset()
method sets TCCR0A to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc0::tccr0a::TCCR0A_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for TCCR0B_SPEC
impl Resettable for TCCR0B_SPEC
reset()
method sets TCCR0B to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc0::tccr0b::TCCR0B_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for TCNT0_SPEC
impl Resettable for TCNT0_SPEC
reset()
method sets TCNT0 to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc0::tcnt0::TCNT0_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for avr_device::attiny85::tc0::tifr::TIFR_SPEC
impl Resettable for avr_device::attiny85::tc0::tifr::TIFR_SPEC
reset()
method sets TIFR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc0::tifr::TIFR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for avr_device::attiny85::tc0::timsk::TIMSK_SPEC
impl Resettable for avr_device::attiny85::tc0::timsk::TIMSK_SPEC
reset()
method sets TIMSK to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc0::timsk::TIMSK_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for DT1A_SPEC
impl Resettable for DT1A_SPEC
reset()
method sets DT1A to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc1::dt1a::DT1A_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for DT1B_SPEC
impl Resettable for DT1B_SPEC
reset()
method sets DT1B to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc1::dt1b::DT1B_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for DTPS_SPEC
impl Resettable for DTPS_SPEC
reset()
method sets DTPS to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc1::dtps::DTPS_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for avr_device::attiny85::tc1::gtccr::GTCCR_SPEC
impl Resettable for avr_device::attiny85::tc1::gtccr::GTCCR_SPEC
reset()
method sets GTCCR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc1::gtccr::GTCCR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for OCR1A_SPEC
impl Resettable for OCR1A_SPEC
reset()
method sets OCR1A to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc1::ocr1a::OCR1A_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for OCR1B_SPEC
impl Resettable for OCR1B_SPEC
reset()
method sets OCR1B to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc1::ocr1b::OCR1B_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for OCR1C_SPEC
impl Resettable for OCR1C_SPEC
reset()
method sets OCR1C to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc1::ocr1c::OCR1C_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for TCCR1_SPEC
impl Resettable for TCCR1_SPEC
reset()
method sets TCCR1 to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc1::tccr1::TCCR1_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for TCNT1_SPEC
impl Resettable for TCNT1_SPEC
reset()
method sets TCNT1 to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc1::tcnt1::TCNT1_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for avr_device::attiny85::tc1::tifr::TIFR_SPEC
impl Resettable for avr_device::attiny85::tc1::tifr::TIFR_SPEC
reset()
method sets TIFR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc1::tifr::TIFR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for avr_device::attiny85::tc1::timsk::TIMSK_SPEC
impl Resettable for avr_device::attiny85::tc1::timsk::TIMSK_SPEC
reset()
method sets TIMSK to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::tc1::timsk::TIMSK_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for USIBR_SPEC
impl Resettable for USIBR_SPEC
reset()
method sets USIBR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::usi::usibr::USIBR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for USICR_SPEC
impl Resettable for USICR_SPEC
reset()
method sets USICR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::usi::usicr::USICR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for USIDR_SPEC
impl Resettable for USIDR_SPEC
reset()
method sets USIDR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::usi::usidr::USIDR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for USISR_SPEC
impl Resettable for USISR_SPEC
reset()
method sets USISR to value 0
const RESET_VALUE: Self::Ux = {transmute(0x00): <devices::attiny85::usi::usisr::USISR_SPEC as generic::RegisterSpec>::Ux}
source§impl Resettable for WDTCR_SPEC
impl Resettable for WDTCR_SPEC
reset()
method sets WDTCR to value 0