RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn rrtc_time(&self) -> &RrtcTime

0x00 - Регистр установки времени. Используется BCD-кодировка

Source

pub const fn rrtc_date(&self) -> &RrtcDate

0x04 - Регистр установки даты. Используется BCD-кодировка

Source

pub const fn rrtc_talrm(&self) -> &RrtcTalrm

0x08 - регистр хранит время, при совпадении которого со значением регистра RRTC_TIME, будет сгенерировано соответствующее прерывание

Source

pub const fn rrtc_dalrm(&self) -> &RrtcDalrm

0x0c - регистр хранит время, при совпадении которого со значением регистра RRTC_TIME, будет сгенерировано соответствующее прерывание.

Source

pub const fn rrtc_ctrl(&self) -> &RrtcCtrl

0x10 - регистр управления модулем

Source

pub const fn rrtc_reg0(&self) -> &RrtcReg0

0x20 - Регистры общего назначения REG0

Source

pub const fn rrtc_reg1(&self) -> &RrtcReg1

0x24 - Регистры общего назначения REG1

Source

pub const fn rrtc_reg2(&self) -> &RrtcReg2

0x28 - Регистры общего назначения REG2

Source

pub const fn rrtc_reg3(&self) -> &RrtcReg3

0x2c - Регистры общего назначения REG3

Source

pub const fn rrtc_reg4(&self) -> &RrtcReg4

0x30 - Регистры общего назначения REG4

Source

pub const fn rrtc_reg5(&self) -> &RrtcReg5

0x34 - Регистры общего назначения REG5

Source

pub const fn rrtc_reg6(&self) -> &RrtcReg6

0x38 - Регистры общего назначения REG6

Source

pub const fn rrtc_reg7(&self) -> &RrtcReg7

0x3c - Регистры общего назначения REG7

Source

pub const fn rrtc_reg8(&self) -> &RrtcReg8

0x40 - Регистры общего назначения REG8

Source

pub const fn rrtc_reg9(&self) -> &RrtcReg9

0x44 - Регистры общего назначения REG9

Source

pub const fn rrtc_reg10(&self) -> &RrtcReg10

0x48 - Регистры общего назначения REG10

Source

pub const fn rrtc_reg11(&self) -> &RrtcReg11

0x4c - Регистры общего назначения REG11

Source

pub const fn rrtc_reg12(&self) -> &RrtcReg12

0x50 - Регистры общего назначения REG12

Source

pub const fn rrtc_reg13(&self) -> &RrtcReg13

0x54 - Регистры общего назначения REG13

Source

pub const fn rrtc_reg14(&self) -> &RrtcReg14

0x58 - Регистры общего назначения REG14

Source

pub const fn rrtc_reg15(&self) -> &RrtcReg15

0x5c - Регистры общего назначения REG14

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.