MG32L003 Standard Peripherals Firmware Library

成员变量
RTC_TimeTypeDef结构体 参考
MG32L003_StdPeriph_Driver » RTC

RTC Time structure definition 更多...

`#include <mg32l003_rtc.h>`

## 成员变量
uint8_t | RTC_Hours
uint8_t | RTC_Minutes
uint8_t | RTC_Seconds
uint8_t | RTC_H12

## 详细描述

RTC Time structure definition

## 结构体成员变量说明

## ◆ RTC_H12

uint8_t RTC_H12

Specifies the RTC AM/PM Time. This parameter can be a value of RTC_AM_PM_Definitions

## ◆ RTC_Hours

uint8_t RTC_Hours

Specifies the RTC Time Hour. This parameter must be set to a value in the 1-12 range if the RTC_HourFormat_12 is selected or 0-23 range if the RTC_HourFormat_24 is selected.

## ◆ RTC_Minutes

uint8_t RTC_Minutes

Specifies the RTC Time Minutes. This parameter must be set to a value in the 0-59 range.

## ◆ RTC_Seconds

uint8_t RTC_Seconds

Specifies the RTC Time Seconds. This parameter must be set to a value in the 0-59 range.

该结构体的文档由以下文件生成:

- mg32l003_rtc.h