Struct ArchXT_RTCConfig

Nested Relationships

Nested Types

Struct Documentation

struct ArchXT_RTCConfig

Configuration structure for ArchXT_RTC.

Public Types

enum RTC_ClockSource

Values:

enumerator Clock_32kHz
enumerator Clock_1kHz

Public Members

std::vector<clksel_config_t> clocks

Clock source configurations.

reg_addr_t reg_base

Base address for the peripheral I/O registers.

int_vect_t iv_rtc

Interrupt vector index for RTC.

int_vect_t iv_pit

Interrupt vector index for PIT.

struct clksel_config_t : public base_reg_config_t

Configuration structure for each supported source clock.

Param reg_value:

the register field value for this source

Param source:

RTC_ClockSource enum value

Public Members

RTC_ClockSource source