[][src]Struct cc2538::rfcore_xreg::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub frmfilt0: FRMFILT0,
    pub frmfilt1: FRMFILT1,
    pub srcmatch: SRCMATCH,
    pub srcshorten0: SRCSHORTEN0,
    pub srcshorten1: SRCSHORTEN1,
    pub srcshorten2: SRCSHORTEN2,
    pub srcexten0: SRCEXTEN0,
    pub srcexten1: SRCEXTEN1,
    pub srcexten2: SRCEXTEN2,
    pub frmctrl0: FRMCTRL0,
    pub frmctrl1: FRMCTRL1,
    pub rxenable: RXENABLE,
    pub rxmaskset: RXMASKSET,
    pub rxmaskclr: RXMASKCLR,
    pub freqtune: FREQTUNE,
    pub freqctrl: FREQCTRL,
    pub txpower: TXPOWER,
    pub txctrl: TXCTRL,
    pub fsmstat0: FSMSTAT0,
    pub fsmstat1: FSMSTAT1,
    pub fifopctrl: FIFOPCTRL,
    pub fsmctrl: FSMCTRL,
    pub ccactrl0: CCACTRL0,
    pub ccactrl1: CCACTRL1,
    pub rssi: RSSI,
    pub rssistat: RSSISTAT,
    pub rxfirst: RXFIRST,
    pub rxfifocnt: RXFIFOCNT,
    pub txfifocnt: TXFIFOCNT,
    pub rxfirst_ptr: RXFIRST_PTR,
    pub rxlast_ptr: RXLAST_PTR,
    pub rxp1_ptr: RXP1_PTR,
    pub txfirst_ptr: TXFIRST_PTR,
    pub txlast_ptr: TXLAST_PTR,
    pub rfirqm0: RFIRQM0,
    pub rfirqm1: RFIRQM1,
    pub rferrm: RFERRM,
    pub rfrnd: RFRND,
    pub mdmctrl0: MDMCTRL0,
    pub mdmctrl1: MDMCTRL1,
    pub freqest: FREQEST,
    pub rxctrl: RXCTRL,
    pub fsctrl: FSCTRL,
    pub fscal0: FSCAL0,
    pub fscal1: FSCAL1,
    pub fscal2: FSCAL2,
    pub fscal3: FSCAL3,
    pub agcctrl0: AGCCTRL0,
    pub agcctrl1: AGCCTRL1,
    pub agcctrl2: AGCCTRL2,
    pub agcctrl3: AGCCTRL3,
    pub adctest0: ADCTEST0,
    pub adctest1: ADCTEST1,
    pub adctest2: ADCTEST2,
    pub mdmtest0: MDMTEST0,
    pub mdmtest1: MDMTEST1,
    pub dactest0: DACTEST0,
    pub dactest1: DACTEST1,
    pub dactest2: DACTEST2,
    pub atest: ATEST,
    pub ptest0: PTEST0,
    pub ptest1: PTEST1,
    pub cspprog_0: CSPPROG_0,
    pub cspprog_1: CSPPROG_1,
    pub cspprog_2: CSPPROG_2,
    pub cspprog_3: CSPPROG_3,
    pub cspprog_4: CSPPROG_4,
    pub cspprog_5: CSPPROG_5,
    pub cspprog_6: CSPPROG_6,
    pub cspprog_7: CSPPROG_7,
    pub cspprog_8: CSPPROG_8,
    pub cspprog_9: CSPPROG_9,
    pub cspprog_10: CSPPROG_10,
    pub cspprog_11: CSPPROG_11,
    pub cspprog_12: CSPPROG_12,
    pub cspprog_13: CSPPROG_13,
    pub cspprog_14: CSPPROG_14,
    pub cspprog_15: CSPPROG_15,
    pub cspprog_16: CSPPROG_16,
    pub cspprog_17: CSPPROG_17,
    pub cspprog_18: CSPPROG_18,
    pub cspprog_19: CSPPROG_19,
    pub cspprog_20: CSPPROG_20,
    pub cspprog_21: CSPPROG_21,
    pub cspprog_22: CSPPROG_22,
    pub cspprog_23: CSPPROG_23,
    pub cspctrl: CSPCTRL,
    pub cspstat: CSPSTAT,
    pub cspx: CSPX,
    pub cspy: CSPY,
    pub cspz: CSPZ,
    pub cspt: CSPT,
    pub rfc_obs_ctrl0: RFC_OBS_CTRL0,
    pub rfc_obs_ctrl1: RFC_OBS_CTRL1,
    pub rfc_obs_ctrl2: RFC_OBS_CTRL2,
    pub txfiltcfg: TXFILTCFG,
    // some fields omitted
}

Register block

Fields

frmfilt0: FRMFILT0

0x00 - The frame filtering function rejects unintended frames as specified by IEEE 802.15.4, section 7.5.6.2, third filtering level. In addition, it provides filtering on: - The eight different frame types (see the FRMFILT1 register) - The reserved bits in the frame control field (FCF) The function is controlled by: - The FRMFILT0 and FRMFILT1 registers - The PAN_ID, SHORT_ADDR, and EXT_ADDR values in RAM

frmfilt1: FRMFILT1

0x04 - The frame filtering function rejects unintended frames as specified by IEEE 802.15.4, section 7.5.6.2, third filtering level. In addition, it provides filtering on: - The eight different frame types (see the FRMFILT1 register) - The reserved bits in the frame control field (FCF) The function is controlled by: - The FRMFILT0 and FRMFILT1 registers - The PAN_ID, SHORT_ADDR, and EXT_ADDR values in RAM

srcmatch: SRCMATCH

0x08 - Source address matching and pending bits

srcshorten0: SRCSHORTEN0

0x0c - Short address matching

srcshorten1: SRCSHORTEN1

0x10 - Short address matching

srcshorten2: SRCSHORTEN2

0x14 - Short address matching

srcexten0: SRCEXTEN0

0x18 - Extended address matching

srcexten1: SRCEXTEN1

0x1c - Extended address matching

srcexten2: SRCEXTEN2

0x20 - Extended address matching

frmctrl0: FRMCTRL0

0x24 - Frame handling

frmctrl1: FRMCTRL1

0x28 - Frame handling

rxenable: RXENABLE

0x2c - RX enabling

rxmaskset: RXMASKSET

0x30 - RX enabling

rxmaskclr: RXMASKCLR

0x34 - RX disabling

freqtune: FREQTUNE

0x38 - Crystal oscillator frequency tuning

freqctrl: FREQCTRL

0x3c - Controls the RF frequency

txpower: TXPOWER

0x40 - Controls the output power

txctrl: TXCTRL

0x44 - Controls the TX settings

fsmstat0: FSMSTAT0

0x48 - Radio status register

fsmstat1: FSMSTAT1

0x4c - Radio status register

fifopctrl: FIFOPCTRL

0x50 - FIFOP threshold

fsmctrl: FSMCTRL

0x54 - FSM options

ccactrl0: CCACTRL0

0x58 - CCA threshold

ccactrl1: CCACTRL1

0x5c - Other CCA Options

rssi: RSSI

0x60 - RSSI status register

rssistat: RSSISTAT

0x64 - RSSI valid status register

rxfirst: RXFIRST

0x68 - First byte in RX FIFO

rxfifocnt: RXFIFOCNT

0x6c - Number of bytes in RX FIFO

txfifocnt: TXFIFOCNT

0x70 - Number of bytes in TX FIFO

rxfirst_ptr: RXFIRST_PTR

0x74 - RX FIFO pointer

rxlast_ptr: RXLAST_PTR

0x78 - RX FIFO pointer

rxp1_ptr: RXP1_PTR

0x7c - RX FIFO pointer

txfirst_ptr: TXFIRST_PTR

0x84 - TX FIFO pointer

txlast_ptr: TXLAST_PTR

0x88 - TX FIFO pointer

rfirqm0: RFIRQM0

0x8c - RF interrupt masks

rfirqm1: RFIRQM1

0x90 - RF interrupt masks

rferrm: RFERRM

0x94 - RF error interrupt mask

rfrnd: RFRND

0x9c - Random data

mdmctrl0: MDMCTRL0

0xa0 - Controls modem

mdmctrl1: MDMCTRL1

0xa4 - Controls modem

freqest: FREQEST

0xa8 - Estimated RF frequency offset

rxctrl: RXCTRL

0xac - Tune receive section

fsctrl: FSCTRL

0xb0 - Tune frequency synthesizer

fscal0: FSCAL0

0xb4 - Tune frequency calibration

fscal1: FSCAL1

0xb8 - Tune frequency calibration

fscal2: FSCAL2

0xbc - Tune frequency calibration

fscal3: FSCAL3

0xc0 - Tune frequency calibration

agcctrl0: AGCCTRL0

0xc4 - AGC dynamic range control

agcctrl1: AGCCTRL1

0xc8 - AGC reference level

agcctrl2: AGCCTRL2

0xcc - AGC gain override

agcctrl3: AGCCTRL3

0xd0 - AGC control

adctest0: ADCTEST0

0xd4 - ADC tuning

adctest1: ADCTEST1

0xd8 - ADC tuning

adctest2: ADCTEST2

0xdc - ADC tuning

mdmtest0: MDMTEST0

0xe0 - Test register for modem

mdmtest1: MDMTEST1

0xe4 - Test Register for Modem

dactest0: DACTEST0

0xe8 - DAC override value

dactest1: DACTEST1

0xec - DAC override value

dactest2: DACTEST2

0xf0 - DAC test setting

atest: ATEST

0xf4 - Analog test control

ptest0: PTEST0

0xf8 - Override power-down register

ptest1: PTEST1

0xfc - Override power-down register

cspprog_0: CSPPROG_0

0x100 - CSP program

cspprog_1: CSPPROG_1

0x104 - CSP program

cspprog_2: CSPPROG_2

0x108 - CSP program

cspprog_3: CSPPROG_3

0x10c - CSP program

cspprog_4: CSPPROG_4

0x110 - CSP program

cspprog_5: CSPPROG_5

0x114 - CSP program

cspprog_6: CSPPROG_6

0x118 - CSP program

cspprog_7: CSPPROG_7

0x11c - CSP program

cspprog_8: CSPPROG_8

0x120 - CSP program

cspprog_9: CSPPROG_9

0x124 - CSP program

cspprog_10: CSPPROG_10

0x128 - CSP program

cspprog_11: CSPPROG_11

0x12c - CSP program

cspprog_12: CSPPROG_12

0x130 - CSP program

cspprog_13: CSPPROG_13

0x134 - CSP program

cspprog_14: CSPPROG_14

0x138 - CSP program

cspprog_15: CSPPROG_15

0x13c - CSP program

cspprog_16: CSPPROG_16

0x140 - CSP program

cspprog_17: CSPPROG_17

0x144 - CSP program

cspprog_18: CSPPROG_18

0x148 - CSP program

cspprog_19: CSPPROG_19

0x14c - CSP program

cspprog_20: CSPPROG_20

0x150 - CSP program

cspprog_21: CSPPROG_21

0x154 - CSP program

cspprog_22: CSPPROG_22

0x158 - CSP program

cspprog_23: CSPPROG_23

0x15c - CSP program

cspctrl: CSPCTRL

0x180 - CSP control bit

cspstat: CSPSTAT

0x184 - CSP status register

cspx: CSPX

0x188 - CSP X data register

cspy: CSPY

0x18c - CSP Y data register

cspz: CSPZ

0x190 - CSP Z data register

cspt: CSPT

0x194 - CSP T data register

rfc_obs_ctrl0: RFC_OBS_CTRL0

0x1ac - RF observation mux control

rfc_obs_ctrl1: RFC_OBS_CTRL1

0x1b0 - RF observation mux control

rfc_obs_ctrl2: RFC_OBS_CTRL2

0x1b4 - RF observation mux control

txfiltcfg: TXFILTCFG

0x1e8 - TX filter configuration

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self