#[repr(C)]pub struct RTC_TimeTypeDef {
pub Hours: u8,
pub Minutes: u8,
pub Seconds: u8,
}
Expand description
@defgroup RTC_Exported_Types RTC Exported Types @{ / /** @brief RTC Time structure definition
Fields§
§Hours: u8
< Specifies the RTC Time Hour. This parameter must be a number between Min_Data = 0 and Max_Data = 23
Minutes: u8
< Specifies the RTC Time Minutes. This parameter must be a number between Min_Data = 0 and Max_Data = 59
Seconds: u8
< Specifies the RTC Time Seconds. This parameter must be a number between Min_Data = 0 and Max_Data = 59
Trait Implementations§
Source§impl Clone for RTC_TimeTypeDef
impl Clone for RTC_TimeTypeDef
Source§fn clone(&self) -> RTC_TimeTypeDef
fn clone(&self) -> RTC_TimeTypeDef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RTC_TimeTypeDef
impl Debug for RTC_TimeTypeDef
impl Copy for RTC_TimeTypeDef
Auto Trait Implementations§
impl Freeze for RTC_TimeTypeDef
impl RefUnwindSafe for RTC_TimeTypeDef
impl Send for RTC_TimeTypeDef
impl Sync for RTC_TimeTypeDef
impl Unpin for RTC_TimeTypeDef
impl UnwindSafe for RTC_TimeTypeDef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more