Intel® Quark™ Microcontroller Software Interface 1.4.0 Intel® Quark™ Microcontroller BSP

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
qm_rtc_config_t Struct Reference
RTC

QM RTC configuration type. More...

`#include <qm_rtc.h>`

## Data Fields
uint32_t | init_val
| Initial value in RTC clocks. More...
bool | alarm_en
| Alarm enable. More...
uint32_t | alarm_val
| Alarm value in RTC clocks. More...
clk_rtc_div_t | prescaler
| RTC Clock prescaler. More...
void(* | callback )(void *data)
| User callback. More...
void * | callback_data
| Callback user data. More...

## Detailed Description

QM RTC configuration type.

Definition at line 39 of file qm_rtc.h.

## Field Documentation

bool qm_rtc_config_t::alarm_en

Alarm enable.

Definition at line 41 of file qm_rtc.h.

Referenced by qm_rtc_set_config().

uint32_t qm_rtc_config_t::alarm_val

Alarm value in RTC clocks.

Definition at line 42 of file qm_rtc.h.

Referenced by qm_rtc_set_config().

void(* qm_rtc_config_t::callback)(void *data)

User callback.

Parameters

  [in] | data | User defined data.

Definition at line 57 of file qm_rtc.h.

Referenced by qm_rtc_set_config().

void* qm_rtc_config_t::callback_data

Callback user data.

Definition at line 58 of file qm_rtc.h.

Referenced by qm_rtc_set_config().

uint32_t qm_rtc_config_t::init_val

Initial value in RTC clocks.

Definition at line 40 of file qm_rtc.h.

Referenced by qm_rtc_set_config().

clk_rtc_div_t qm_rtc_config_t::prescaler

RTC Clock prescaler.

Used to divide the clock frequency of the RTC.

Definition at line 50 of file qm_rtc.h.

Referenced by qm_rtc_set_config().