RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 29 fields pub gpio_out: Reg<GPIO_OUT_SPEC>, pub gpio_out_w1ts: Reg<GPIO_OUT_W1TS_SPEC>, pub gpio_out_w1tc: Reg<GPIO_OUT_W1TC_SPEC>, pub gpio_enable: Reg<GPIO_ENABLE_SPEC>, pub gpio_enable_w1ts: Reg<GPIO_ENABLE_W1TS_SPEC>, pub gpio_enable_w1tc: Reg<GPIO_ENABLE_W1TC_SPEC>, pub gpio_in: Reg<GPIO_IN_SPEC>, pub gpio_status: Reg<GPIO_STATUS_SPEC>, pub gpio_status_w1ts: Reg<GPIO_STATUS_W1TS_SPEC>, pub gpio_status_w1tc: Reg<GPIO_STATUS_W1TC_SPEC>, pub gpio_pin0: Reg<GPIO_PIN0_SPEC>, pub gpio_pin1: Reg<GPIO_PIN1_SPEC>, pub gpio_pin2: Reg<GPIO_PIN2_SPEC>, pub gpio_pin3: Reg<GPIO_PIN3_SPEC>, pub gpio_pin4: Reg<GPIO_PIN4_SPEC>, pub gpio_pin5: Reg<GPIO_PIN5_SPEC>, pub gpio_pin6: Reg<GPIO_PIN6_SPEC>, pub gpio_pin7: Reg<GPIO_PIN7_SPEC>, pub gpio_pin8: Reg<GPIO_PIN8_SPEC>, pub gpio_pin9: Reg<GPIO_PIN9_SPEC>, pub gpio_pin10: Reg<GPIO_PIN10_SPEC>, pub gpio_pin11: Reg<GPIO_PIN11_SPEC>, pub gpio_pin12: Reg<GPIO_PIN12_SPEC>, pub gpio_pin13: Reg<GPIO_PIN13_SPEC>, pub gpio_pin14: Reg<GPIO_PIN14_SPEC>, pub gpio_pin15: Reg<GPIO_PIN15_SPEC>, pub gpio_sigma_delta: Reg<GPIO_SIGMA_DELTA_SPEC>, pub gpio_rtc_calib_sync: Reg<GPIO_RTC_CALIB_SYNC_SPEC>, pub gpio_rtc_calib_value: Reg<GPIO_RTC_CALIB_VALUE_SPEC>,
}
Expand description

Register block

Fields§

§gpio_out: Reg<GPIO_OUT_SPEC>

0x00 - BT-Coexist Selection register

§gpio_out_w1ts: Reg<GPIO_OUT_W1TS_SPEC>

0x04 - GPIO_OUT_W1TS

§gpio_out_w1tc: Reg<GPIO_OUT_W1TC_SPEC>

0x08 - GPIO_OUT_W1TC

§gpio_enable: Reg<GPIO_ENABLE_SPEC>

0x0c - GPIO_ENABLE

§gpio_enable_w1ts: Reg<GPIO_ENABLE_W1TS_SPEC>

0x10 - GPIO_ENABLE_W1TS

§gpio_enable_w1tc: Reg<GPIO_ENABLE_W1TC_SPEC>

0x14 - GPIO_ENABLE_W1TC

§gpio_in: Reg<GPIO_IN_SPEC>

0x18 - The values of the strapping pins.

§gpio_status: Reg<GPIO_STATUS_SPEC>

0x1c - GPIO_STATUS

§gpio_status_w1ts: Reg<GPIO_STATUS_W1TS_SPEC>

0x20 - GPIO_STATUS_W1TS

§gpio_status_w1tc: Reg<GPIO_STATUS_W1TC_SPEC>

0x24 - GPIO_STATUS_W1TC

§gpio_pin0: Reg<GPIO_PIN0_SPEC>

0x28 - GPIO_PIN0

§gpio_pin1: Reg<GPIO_PIN1_SPEC>

0x2c - GPIO_PIN1

§gpio_pin2: Reg<GPIO_PIN2_SPEC>

0x30 - GPIO_PIN2

§gpio_pin3: Reg<GPIO_PIN3_SPEC>

0x34 - GPIO_PIN3

§gpio_pin4: Reg<GPIO_PIN4_SPEC>

0x38 - GPIO_PIN4

§gpio_pin5: Reg<GPIO_PIN5_SPEC>

0x3c - GPIO_PIN5

§gpio_pin6: Reg<GPIO_PIN6_SPEC>

0x40 - GPIO_PIN6

§gpio_pin7: Reg<GPIO_PIN7_SPEC>

0x44 - GPIO_PIN7

§gpio_pin8: Reg<GPIO_PIN8_SPEC>

0x48 - GPIO_PIN8

§gpio_pin9: Reg<GPIO_PIN9_SPEC>

0x4c - GPIO_PIN9

§gpio_pin10: Reg<GPIO_PIN10_SPEC>

0x50 - GPIO_PIN10

§gpio_pin11: Reg<GPIO_PIN11_SPEC>

0x54 - GPIO_PIN11

§gpio_pin12: Reg<GPIO_PIN12_SPEC>

0x58 - GPIO_PIN12

§gpio_pin13: Reg<GPIO_PIN13_SPEC>

0x5c - GPIO_PIN13

§gpio_pin14: Reg<GPIO_PIN14_SPEC>

0x60 - GPIO_PIN14

§gpio_pin15: Reg<GPIO_PIN15_SPEC>

0x64 - GPIO_PIN15

§gpio_sigma_delta: Reg<GPIO_SIGMA_DELTA_SPEC>

0x68 - GPIO_SIGMA_DELTA

§gpio_rtc_calib_sync: Reg<GPIO_RTC_CALIB_SYNC_SPEC>

0x6c - Positvie edge of this bit will trigger the RTC-clock-calibration process.

§gpio_rtc_calib_value: Reg<GPIO_RTC_CALIB_VALUE_SPEC>

0x70 - 0: during RTC-clock-calibration; 1: RTC-clock-calibration is done

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.