ADuCM4x50 Device Drivers API Reference Manual  Release 4.0.0.0
RTC0 Static Configuration

Macros

#define RTC0_CFG_ENABLE_ALARM   0
 
#define RTC0_CFG_ENABLE_ALARM_INTERRUPT   0
 
#define RTC0_CFG_ENABLE_TRIM   0
 
#define RTC0_CFG_ENABLE_PENDERROR_INTERRUPT   0
 
#define RTC0_CFG_ENABLE_WSYNC_INTERRUPT   0
 
#define RTC0_CFG_ENABLE_WRITEPEND_INTERRUPT   0
 
#define RTC0_CFG_COUNT_VALUE   0
 
#define RTC0_CFG_COUNT_VALUE_0   0
 
#define RTC0_CFG_COUNT_VALUE_1   0
 
#define RTC0_CFG_ALARM_VALUE_0   0
 
#define RTC0_CFG_ALARM_VALUE_1   0
 
#define RTC0_CFG_TRIM_INTERVAL   0
 
#define RTC0_CFG_POW2_TRIM_INTERVAL   0
 
#define RTC0_CFG_TRIM_OPERATION   0
 
#define RTC0_CFG_TRIM_VALUE   0
 
#define RTC0_SS3_SMPONRE   0
 
#define RTC0_SS3_SMPONFE   0
 
#define RTC0_SS2_SMPONFE   0
 
#define RTC0_SS1_SMPONRE   0
 
#define RTC0_SS1_SMPONFE   0
 
#define RTC0_SS2_GPIN1SEL   0x4
 
#define RTC0_SS2_GPIN0SEL   0x3
 
#define RTC0_SS1_GPIN2SEL   0x2
 
#define RTC0_SS1_GPIN1SEL   0x1
 
#define RTC0_SS1_GPIN0SEL   0x0
 
#define RTC0_SS3_GPIN2SEL   0x0
 
#define RTC0_SS3_GPIN1SEL   0x7
 
#define RTC0_SS3_GPIN0SEL   0x6
 
#define RTC0_SS2_GPIN2SEL   0x5
 
#define RTC0_SS3_DIFFOUT   0
 
#define RTC0_SS1_DIFFOUT   0
 

Detailed Description

Macro Definition Documentation

◆ RTC0_CFG_ENABLE_ALARM

#define RTC0_CFG_ENABLE_ALARM   0

Enable the Alarm

Definition at line 44 of file adi_rtc_config.h.

◆ RTC0_CFG_ENABLE_ALARM_INTERRUPT

#define RTC0_CFG_ENABLE_ALARM_INTERRUPT   0

Enable the Alarm interrupt

Definition at line 47 of file adi_rtc_config.h.

◆ RTC0_CFG_ENABLE_TRIM

#define RTC0_CFG_ENABLE_TRIM   0

Enable the Trim

Definition at line 50 of file adi_rtc_config.h.

◆ RTC0_CFG_ENABLE_PENDERROR_INTERRUPT

#define RTC0_CFG_ENABLE_PENDERROR_INTERRUPT   0

Enable the PENDERROR interrupt

Definition at line 53 of file adi_rtc_config.h.

◆ RTC0_CFG_ENABLE_WSYNC_INTERRUPT

#define RTC0_CFG_ENABLE_WSYNC_INTERRUPT   0

Enable the write sync interrupt

Definition at line 56 of file adi_rtc_config.h.

◆ RTC0_CFG_ENABLE_WRITEPEND_INTERRUPT

#define RTC0_CFG_ENABLE_WRITEPEND_INTERRUPT   0

Enable the pend write interrupt

Definition at line 59 of file adi_rtc_config.h.

◆ RTC0_CFG_COUNT_VALUE

#define RTC0_CFG_COUNT_VALUE   0

Initial the count Value

Definition at line 62 of file adi_rtc_config.h.

◆ RTC0_CFG_COUNT_VALUE_0

#define RTC0_CFG_COUNT_VALUE_0   0

Initial the count Value-0

Definition at line 65 of file adi_rtc_config.h.

◆ RTC0_CFG_COUNT_VALUE_1

#define RTC0_CFG_COUNT_VALUE_1   0

Initial the count Value-1

Definition at line 68 of file adi_rtc_config.h.

◆ RTC0_CFG_ALARM_VALUE_0

#define RTC0_CFG_ALARM_VALUE_0   0

Alarm-0 Value

Definition at line 71 of file adi_rtc_config.h.

◆ RTC0_CFG_ALARM_VALUE_1

#define RTC0_CFG_ALARM_VALUE_1   0

Alarm-1 Value

Definition at line 74 of file adi_rtc_config.h.

◆ RTC0_CFG_TRIM_INTERVAL

#define RTC0_CFG_TRIM_INTERVAL   0

Trim interval

Definition at line 77 of file adi_rtc_config.h.

◆ RTC0_CFG_POW2_TRIM_INTERVAL

#define RTC0_CFG_POW2_TRIM_INTERVAL   0

Trim interval with power of 2

Definition at line 80 of file adi_rtc_config.h.

◆ RTC0_CFG_TRIM_OPERATION

#define RTC0_CFG_TRIM_OPERATION   0

Trim operation to be performed for RTC0

Definition at line 83 of file adi_rtc_config.h.

◆ RTC0_CFG_TRIM_VALUE

#define RTC0_CFG_TRIM_VALUE   0

Trim Value for RTC-0

Definition at line 86 of file adi_rtc_config.h.

◆ RTC0_SS3_SMPONRE

#define RTC0_SS3_SMPONRE   0

GPIO Sample around Rising Edge of Sensor Strobe Channel 3. Enables sampling of Sensor Strobe GPIO inputs around rising edge of Sensor Strobe Channel 3 pulse.

0 No sampling of input around rising edge. 1 Input sampled one clock cycle before rising edge of Sensor Strobe. 10 Input sampled at rising edge of Sensor Strobe. 11 Input sampled one clock cycle after rising edge of Sensor Strobe.

Definition at line 96 of file adi_rtc_config.h.

◆ RTC0_SS3_SMPONFE

#define RTC0_SS3_SMPONFE   0

GPIO Sample around Falling Edge of Sensor Strobe Channel 3. Enables sampling of Sensor Strobe GPIO inputs around falling edge of Sensor Strobe Channel 3 pulse.

0 No sampling of input around rising edge. 1 Input sampled one clock cycle before rising edge of Sensor Strobe. 10 Input sampled at rising edge of Sensor Strobe. 11 Input sampled one clock cycle after rising edge of Sensor Strobe.

Definition at line 106 of file adi_rtc_config.h.

◆ RTC0_SS2_SMPONFE

#define RTC0_SS2_SMPONFE   0

GPIO Sample around Falling Edge of Sensor Strobe Channel 2.

Definition at line 108 of file adi_rtc_config.h.

◆ RTC0_SS1_SMPONRE

#define RTC0_SS1_SMPONRE   0

GPIO Sample around Rising Edge of Sensor Strobe Channel 1.

Definition at line 110 of file adi_rtc_config.h.

◆ RTC0_SS1_SMPONFE

#define RTC0_SS1_SMPONFE   0

GPIO Sample around Falling Edge of Sensor Strobe Channel 1.

Definition at line 112 of file adi_rtc_config.h.

◆ RTC0_SS2_GPIN1SEL

#define RTC0_SS2_GPIN1SEL   0x4

Sensor Strobe's GP Input Sampling Mux SS 2 GPIO Pin 1

GPMUX0/1.SSxGPINySEL 3’b000 3’b001 3’b010 3’b011 3’b100 3’b101 3’b110 3’b111 RTCSSxGPIny p0[12] p2[0] p0[9] p0[8] p1[13] p1[2] p2[7] p2[9]

Definition at line 121 of file adi_rtc_config.h.

◆ RTC0_SS2_GPIN0SEL

#define RTC0_SS2_GPIN0SEL   0x3

Sensor Strobe's GP Input Sampling Mux SS 2 GPIO Pin 0

Definition at line 123 of file adi_rtc_config.h.

◆ RTC0_SS1_GPIN2SEL

#define RTC0_SS1_GPIN2SEL   0x2

Sensor Strobe's GP Input Sampling Mux SS 1 GPIO Pin 2

Definition at line 125 of file adi_rtc_config.h.

◆ RTC0_SS1_GPIN1SEL

#define RTC0_SS1_GPIN1SEL   0x1

Sensor Strobe's GP Input Sampling Mux SS 1 GPIO Pin 1

Definition at line 127 of file adi_rtc_config.h.

◆ RTC0_SS1_GPIN0SEL

#define RTC0_SS1_GPIN0SEL   0x0

Sensor Strobe's GP Input Sampling Mux SS 1 GPIO Pin 0

Definition at line 129 of file adi_rtc_config.h.

◆ RTC0_SS3_GPIN2SEL

#define RTC0_SS3_GPIN2SEL   0x0

Sensor Strobe's GP Input Sampling Mux SS 3 GPIO Pin 2

Definition at line 131 of file adi_rtc_config.h.

◆ RTC0_SS3_GPIN1SEL

#define RTC0_SS3_GPIN1SEL   0x7

Sensor Strobe's GP Input Sampling Mux SS 3 GPIO Pin 1

Definition at line 133 of file adi_rtc_config.h.

◆ RTC0_SS3_GPIN0SEL

#define RTC0_SS3_GPIN0SEL   0x6

Sensor Strobe's GP Input Sampling Mux SS 3 GPIO Pin 0

Definition at line 135 of file adi_rtc_config.h.

◆ RTC0_SS2_GPIN2SEL

#define RTC0_SS2_GPIN2SEL   0x5

Sensor Strobe's GP Input Sampling Mux SS 2 GPIO Pin 2

Definition at line 137 of file adi_rtc_config.h.

◆ RTC0_SS3_DIFFOUT

#define RTC0_SS3_DIFFOUT   0

Differential output option for Sensor Strobe channel 3. Sensor Strobe channel3 is used as differential signal, actual RTC_SS3 out for this channel is available in corresponding GPIO. RTC_SS4 of Sensor Strobe channel 4 is used to provided inverted signal of RTC_SS3.

Definition at line 144 of file adi_rtc_config.h.

◆ RTC0_SS1_DIFFOUT

#define RTC0_SS1_DIFFOUT   0

Differential output option for Sensor Strobe channel 1. Sensor Strobe channel 1 is used as differential signal, actual RTC_SS1 out for this channel is available in corresponding GPIO. RTC_SS1 of Sensor Strobe channel 2 is used to provided inverted signal of RTC_SS1.

Definition at line 150 of file adi_rtc_config.h.