#[repr(C)]
pub struct RegisterBlock {
Show 19 fields pub ssc_cr: Reg<SSC_CR_SPEC>, pub ssc_cmr: Reg<SSC_CMR_SPEC>, pub ssc_rcmr: Reg<SSC_RCMR_SPEC>, pub ssc_rfmr: Reg<SSC_RFMR_SPEC>, pub ssc_tcmr: Reg<SSC_TCMR_SPEC>, pub ssc_tfmr: Reg<SSC_TFMR_SPEC>, pub ssc_rhr: Reg<SSC_RHR_SPEC>, pub ssc_thr: Reg<SSC_THR_SPEC>, pub ssc_rshr: Reg<SSC_RSHR_SPEC>, pub ssc_tshr: Reg<SSC_TSHR_SPEC>, pub ssc_rc0r: Reg<SSC_RC0R_SPEC>, pub ssc_rc1r: Reg<SSC_RC1R_SPEC>, pub ssc_sr: Reg<SSC_SR_SPEC>, pub ssc_ier: Reg<SSC_IER_SPEC>, pub ssc_idr: Reg<SSC_IDR_SPEC>, pub ssc_imr: Reg<SSC_IMR_SPEC>, pub ssc_wpmr: Reg<SSC_WPMR_SPEC>, pub ssc_wpsr: Reg<SSC_WPSR_SPEC>, pub ssc_version: Reg<SSC_VERSION_SPEC>, /* private fields */
}
Expand description

Register block

Fields

ssc_cr: Reg<SSC_CR_SPEC>

0x00 - Control Register

ssc_cmr: Reg<SSC_CMR_SPEC>

0x04 - Clock Mode Register

ssc_rcmr: Reg<SSC_RCMR_SPEC>

0x10 - Receive Clock Mode Register

ssc_rfmr: Reg<SSC_RFMR_SPEC>

0x14 - Receive Frame Mode Register

ssc_tcmr: Reg<SSC_TCMR_SPEC>

0x18 - Transmit Clock Mode Register

ssc_tfmr: Reg<SSC_TFMR_SPEC>

0x1c - Transmit Frame Mode Register

ssc_rhr: Reg<SSC_RHR_SPEC>

0x20 - Receive Holding Register

ssc_thr: Reg<SSC_THR_SPEC>

0x24 - Transmit Holding Register

ssc_rshr: Reg<SSC_RSHR_SPEC>

0x30 - Receive Sync. Holding Register

ssc_tshr: Reg<SSC_TSHR_SPEC>

0x34 - Transmit Sync. Holding Register

ssc_rc0r: Reg<SSC_RC0R_SPEC>

0x38 - Receive Compare 0 Register

ssc_rc1r: Reg<SSC_RC1R_SPEC>

0x3c - Receive Compare 1 Register

ssc_sr: Reg<SSC_SR_SPEC>

0x40 - Status Register

ssc_ier: Reg<SSC_IER_SPEC>

0x44 - Interrupt Enable Register

ssc_idr: Reg<SSC_IDR_SPEC>

0x48 - Interrupt Disable Register

ssc_imr: Reg<SSC_IMR_SPEC>

0x4c - Interrupt Mask Register

ssc_wpmr: Reg<SSC_WPMR_SPEC>

0xe4 - Write Protection Mode Register

ssc_wpsr: Reg<SSC_WPSR_SPEC>

0xe8 - Write Protection Status Register

ssc_version: Reg<SSC_VERSION_SPEC>

0xfc - Version Register

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.