[][src]Type Definition cc2538::rfcore_xreg::agcctrl2::W

type W = W<u32, AGCCTRL2>;

Writer for register AGCCTRL2

Methods

impl W[src]

pub fn reserved32(&mut self) -> RESERVED32_W[src]

Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.

pub fn lna1_current(&mut self) -> LNA1_CURRENT_W[src]

Bits 6:7 - 7:6] Overrride value for LNA 1 Used only when LNA_CURRENT_OE = 1 When read, this register returns the current applied gain setting. 00: 0-dB gain (reference level) 01: 3-dB gain 10: Reserved 11: 6-dB gain

pub fn lna2_current(&mut self) -> LNA2_CURRENT_W[src]

Bits 3:5 - 5:3] Overrride value for LNA 2 Used only when LNA_CURRENT_OE = 1 When read, this register returns the current applied gain setting. 000: 0-dB gain (reference level) 001: 3-dB gain 010: 6-dB gain 011: 9-dB gain 100: 12-dB gain 101: 15-dB gain 110: 18-dB gain 111: 21-dB gain

pub fn lna3_current(&mut self) -> LNA3_CURRENT_W[src]

Bits 1:2 - 2:1] Overrride value for LNA 3 Used only when LNA_CURRENT_OE = 1 When read, this register returns the current applied gain setting. 00: 0-dB gain (reference level) 01: 3-dB gain 10: 6-dB gain 11: 9-dB gain

pub fn lna_current_oe(&mut self) -> LNA_CURRENT_OE_W[src]

Bit 0 - 0:0] Write 1 to override the AGC LNA current setting with the values above (LNA1_CURRENT, LNA2_CURRENT, and LNA3_CURRENT).