![Logo](ti_logo.svg) |
AM273x MCU+ SDK
09.02.00
|
|
Go to the documentation of this file.
56 #include <drivers/hw_include/cslr_soc.h>
73 #define GPADC_DISABLE (0U)
75 #define GPADC_ENABLE (1U)
77 #define GPADC_ASSERT_RESET (1U)
79 #define GPADC_DEASSERT_RESET (0U)
81 #define GPADC_FSM_ASSERT_RESET (0x7U)
83 #define GPADC_FSM_DEASSERT_RESET (0U)
92 #define GPADC_MODE_DISABLE (0U)
94 #define GPADC_MODE_IFM (1U)
96 #define GPADC_MODE_CTM (2U)
105 #define GPADC_MON_INSTR_RAM_ST_IND (224U)
107 #define GPADC_MAX_MON_INSTR_RAM (32U)
111 #define MAX_CTM_GPADC_PARAMS (1U)
122 #define GPADC_TIMEOUT_MAX (200000U)
125 #define GPADC_REGS_PTR ((T_GPADC_REGS*)CSL_MSS_GPADC_REG_U_BASE)
127 #define GPADCPKTRAM_REGS_PTR ((T_GPADCPKTRAM_REGS*)CSL_MSS_GPADC_PKT_RAM_U_BASE)
129 #define GPADCOUT_RAM_PTR ((T_GPADCOUT_RAM*)CSL_MSS_GPADC_DATA_RAM_U_BASE)
132 #define MSS_GPADC_RST_CTRL_ADDR (CSL_MSS_RCM_U_BASE + CSL_MSS_RCM_MSS_GPADC_RST_CTRL)
134 #define MSS_GPADC_RST_CTRL_PTR ((MSS_GPADC_RST_CTRL_REG*)MSS_GPADC_RST_CTRL_ADDR)
136 #define MSS_GPADC_CLK_DIV_VAL_ADDR (CSL_MSS_RCM_U_BASE + CSL_MSS_RCM_MSS_GPADC_CLK_DIV_VAL)
138 #define MSS_GPADC_CLK_DIV_VAL_PTR ((MSS_GPADC_CLK_DIV_VAL_REG*)MSS_GPADC_CLK_DIV_VAL_ADDR)
140 #define MSS_GPADC_CLK_GATE_ADDR (CSL_MSS_RCM_U_BASE + CSL_MSS_RCM_MSS_GPADC_CLK_GATE)
142 #define MSS_GPADC_CLK_GATE_PTR ((MSS_GPADC_CLK_GATE_REG*)MSS_GPADC_CLK_GATE_ADDR)
144 #define MSS_TOPRCM_ANA_REG_TW_ANA_TMUX_CTRL_LOWV_ADDR (CSL_MSS_TOPRCM_U_BASE + CSL_MSS_TOPRCM_ANA_REG_TW_ANA_TMUX_CTRL_LOWV)
146 #define MSS_TOPRCM_ANA_REG_TW_ANA_TMUX_CTRL_LOWV_PTR ((MSS_TOPRCM_ANA_REG_TW_ANA_TMUX_CTRL_LOWV_REG*)MSS_TOPRCM_ANA_REG_TW_ANA_TMUX_CTRL_LOWV_ADDR)
148 #define MSS_TOPRCM_ANA_REG_REFSYS_SPARE_REG_LOWV_ADDR (CSL_MSS_TOPRCM_U_BASE + CSL_MSS_TOPRCM_ANA_REG_REFSYS_SPARE_REG_LOWV)
150 #define MSS_TOPRCM_ANA_REG_REFSYS_SPARE_REG_LOWV_PTR ((MSS_TOPRCM_ANA_REG_REFSYS_SPARE_REG_LOWV_REG*)MSS_TOPRCM_ANA_REG_REFSYS_SPARE_REG_LOWV_ADDR)
152 #define MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_ADDR (CSL_MSS_TOPRCM_U_BASE + CSL_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV)
154 #define MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_PTR ((U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG*)MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_ADDR)
156 #define MSS_CTRL_MSS_GPADC_MEM_INIT_ADDR (CSL_MSS_CTRL_U_BASE + CSL_MSS_CTRL_MSS_GPADC_MEM_INIT)
158 #define MSS_CTRL_MSS_GPADC_MEM_INIT_PTR ((MSS_CTRL_MSS_GPADC_MEM_INIT_REG*)MSS_CTRL_MSS_GPADC_MEM_INIT_ADDR)
163 #define REG_STRUCT_SWRITE(w_hwRegStruct, w_regVal, w_regWrSts) \
164 do { (w_hwRegStruct) = (w_regVal); \
165 REG32_SCOMPARE((w_hwRegStruct), (w_regVal), (w_regWrSts)); \
171 #define REG32_SCOMPARE(w_hwVal, w_swVal, w_regWrSts) \
173 (w_regWrSts) |= (((uint32_t)(w_swVal)) ^ ((uint32_t)(w_hwVal))); \
179 #define REG_STRUCT_SCLEAR(w_hwRegStruct, w_regVal, w_regWrSts) \
180 do { (w_hwRegStruct) = (w_regVal); \
181 (w_regWrSts) |= ((((uint32_t)(w_hwRegStruct)) & (uint32_t)(w_regVal))); \
879 typedef volatile struct
@ MAX_GPADC_TEMP_SENSORS
0x3 - MAX_TEMP_SENSORS
Definition: gpadc/v0/gpadc.h:334
@ GPADC_TRIG_SRC_DSS_RTIB_1
0x0C - DSS_RTIB_1
Definition: gpadc/v0/gpadc.h:221
Bool isBufferedMode
TRUE: Buffered mode FALSE: Unbuffered/ Full Scale mode.
Definition: gpadc/v0/gpadc.h:382
int32_t GPADC_readResultBuffer(uint16_t *ResBufferPtr)
The function is used to read the result buffer from the GPADC Driver.
@ GPADC_MEAS_EXT_CH4
0x3 - Channel 4
Definition: gpadc/v0/gpadc.h:269
@ GPADC_TRIG_SRC_RSS_CSI2A_EOL_INT
0x04 - RSS_CSI2A_EOL_INT
Definition: gpadc/v0/gpadc.h:205
uint32_t b8_ParamValue
Definition: gpadc/v0/gpadc.h:432
void GPADC_initTempMeasurement(void)
Initialize GPADC efuse temperature parameters.
GPADC_ChannelConvModeType
Enumeration which lists the conversion modes supported for AM273x GPADC conversion.
Definition: gpadc/v0/gpadc.h:236
uint32_t b3_AdcRefSel_2_0
Definition: gpadc/v0/gpadc.h:603
GPADCREG_REG1 r_Reg1
Definition: gpadc/v0/gpadc.h:882
uint32_t channelConfigValue
Channel Config value
Definition: gpadc/v0/gpadc.h:478
GPADCREG_REG16 r_Reg16
Definition: gpadc/v0/gpadc.h:894
Temperature sensors mux values.
Definition: gpadc/v0/gpadc.h:509
@ GPADC_TRIG_SRC_DSS_RTIA_1
0x0B - DSS_RTIA_1
Definition: gpadc/v0/gpadc.h:219
@ GPADC_TRIG_SRC_RSS_CSI2B_SOF_INT
0x08 - RSS_CSI2B_SOF_INT
Definition: gpadc/v0/gpadc.h:213
uint32_t b3_Gpadc2adcbufPathEn
Definition: gpadc/v0/gpadc.h:625
@ GPADC_TRIG_SRC_MMR_Based_SW_Trigger
0x0F - MMR_Based_SW_Trigger
Definition: gpadc/v0/gpadc.h:227
uint32_t b6_Nu1
Definition: gpadc/v0/gpadc.h:803
GPADC_ConvResultType GPADC_startGroupConversion(GPADC_channelsGroupSelectType channels, uint8_t numChannels)
Starts and triggers the multi channel ADC conversion.
@ GPADC_MEAS_EXT_CH8
0x7 - Channel 8
Definition: gpadc/v0/gpadc.h:277
uint32_t b29_Nu1
Definition: gpadc/v0/gpadc.h:568
uint32_t b1_mem0_init
Definition: gpadc/v0/gpadc.h:908
Register4 Offset 0x010.
Definition: gpadc/v0/gpadc.h:678
GPADCREG_REG8 r_Reg8
Definition: gpadc/v0/gpadc.h:886
@ GPADC_TRIGG_SRC_SW
Conversion is triggered by a software API call.
Definition: gpadc/v0/gpadc.h:252
uint32_t b12_Nu
Definition: gpadc/v0/gpadc.h:793
GPADCREG_REG18 r_Reg18
Definition: gpadc/v0/gpadc.h:896
uint32_t channelConfigValue
Unique muxing config value per sensor.
Definition: gpadc/v0/gpadc.h:511
uint32_t b10_MinGpadc
Definition: gpadc/v0/gpadc.h:802
uint32_t b31_Nu
Definition: gpadc/v0/gpadc.h:835
uint32_t b32_ConfigValueIfm
Definition: gpadc/v0/gpadc.h:653
@ GPADC_TRIG_SRC_GPIO_0
0x00 - GPIO_0
Definition: gpadc/v0/gpadc.h:197
Configuration Parameters for GPADC LUT in IFM mode 32 bits: ConfigValue 32 bits: ParamInfo.
Definition: gpadc/v0/gpadc.h:917
GPADC_ChannelConvModeType convMode
Conversion mode of the GPADC driver.
Definition: gpadc/v0/gpadc.h:413
uint32_t b1_GpadcFsmBypass
Definition: gpadc/v0/gpadc.h:641
Register11 Offset 0x02C.
Definition: gpadc/v0/gpadc.h:759
uint32_t b30_Reserved1
Definition: gpadc/v0/gpadc.h:577
GPADC_MeasExtSrcType
Enumeration which describes the external sources available for GPADC conversion.
Definition: gpadc/v0/gpadc.h:261
uint32_t b1_AnaTmuxBufBypass
Definition: gpadc/v0/gpadc.h:609
@ GPADC_CONV_ERROR
GPADC conversion error.
Definition: gpadc/v0/gpadc.h:290
uint32_t b8_PktRamBaseAddrCp1
Definition: gpadc/v0/gpadc.h:682
GPADC Config Type data structure for the mode, trigger source and channel configuration for all the a...
Definition: gpadc/v0/gpadc.h:348
void GPADC_init(void)
This function initializes the GPADC module.
@ GPADC_TRIG_SRC_MSS_RTIB_INT1
0x0E - MSS_RTIB_INT1
Definition: gpadc/v0/gpadc.h:225
Register13 Offset 0x034.
Definition: gpadc/v0/gpadc.h:782
uint32_t b32_Val
Definition: gpadc/v0/gpadc.h:439
uint32_t b8_PktRamBaseAddrCp3
Definition: gpadc/v0/gpadc.h:684
uint8_t collectSamples
Number of samples to be collected for conversion per each input channel.
Definition: gpadc/v0/gpadc.h:389
uint32_t b7_Nu1
Definition: gpadc/v0/gpadc.h:638
uint32_t b1_VrefExtCtrl
Definition: gpadc/v0/gpadc.h:607
uint32_t b1_AnaTestEn
Definition: gpadc/v0/gpadc.h:579
uint16_t TotalTime
Time in unit of 100ns = CollectSamples*16 + SkipSamples.
Definition: gpadc/v0/gpadc.h:925
uint8_t collectSamples
Number of samples to be collected for conversion per each input channel.
Definition: gpadc/v0/gpadc.h:524
@ GPADC_TRIG_SRC_GPIO_1
0x01 - GPIO_1
Definition: gpadc/v0/gpadc.h:199
@ GPADC_MEAS_EXT_CH3
0x2 - Channel 3
Definition: gpadc/v0/gpadc.h:267
Register1 Offset 0x004.
Definition: gpadc/v0/gpadc.h:636
@ GPADC_CONV_DONE
GPADC conversion done.
Definition: gpadc/v0/gpadc.h:292
@ GPADC_TRIG_SRC_RSS_CSI2A_SOF_INT1
0x06 - RSS_CSI2A_SOF_INT1
Definition: gpadc/v0/gpadc.h:209
uint32_t b10_MaxGpadc
Definition: gpadc/v0/gpadc.h:804
uint32_t b32_Reg
bits 31: 0
Definition: gpadc/v0/gpadc.h:670
Bool isConfigured
GPADC driver considers channels configuration passed to the driver by the application only if this fl...
Definition: gpadc/v0/gpadc.h:380
GPADCREG_REG10 r_Reg10
Definition: gpadc/v0/gpadc.h:888
uint16_t b16_Val
bits 16: 0
Definition: gpadc/v0/gpadc.h:464
GPADCREG_REG12 r_Reg12
Definition: gpadc/v0/gpadc.h:890
uint32_t b8_PktRamBaseAddrCp0
Definition: gpadc/v0/gpadc.h:681
uint32_t BuffConfigValue
Buffer configuration value.
Definition: gpadc/v0/gpadc.h:921
@ GPADC_MEAS_EXT_CH2
0x1 - Channel 2
Definition: gpadc/v0/gpadc.h:265
uint32_t b1_AdcReset
Definition: gpadc/v0/gpadc.h:600
uint32_t b8_CollectSamples
Definition: gpadc/v0/gpadc.h:433
@ GPADC_TRIG_SRC_GPIO_2
0x02 - GPIO_2
Definition: gpadc/v0/gpadc.h:201
Register17 Offset 0x044.
Definition: gpadc/v0/gpadc.h:823
@ GPADC_TRIGG_SRC_HW
Conversion is triggered by a hardware event.
Definition: gpadc/v0/gpadc.h:254
uint32_t b30_Reserved1
Definition: gpadc/v0/gpadc.h:588
uint32_t b5_RtrimTw_4_0
Definition: gpadc/v0/gpadc.h:611
RCM Analog register TW Control Registers.
Definition: gpadc/v0/gpadc.h:597
uint16_t Min
Minimum of ADC samples.
Definition: gpadc/v0/gpadc.h:936
GPADCREG_REG0 r_Reg0
Definition: gpadc/v0/gpadc.h:881
@ GPADC_MEAS_EXT_CH5
0x4 - Channel 5
Definition: gpadc/v0/gpadc.h:271
uint32_t b8_CollectSamplesIfm
Definition: gpadc/v0/gpadc.h:665
Register21 Offset 0x050.
Definition: gpadc/v0/gpadc.h:853
uint32_t channelConfigValue
Unique muxing config value per channel.
Definition: gpadc/v0/gpadc.h:366
uint16_t * ResultBufferPtr
Pointer to store conversion results.
Definition: gpadc/v0/gpadc.h:502
uint32_t b32_ParamNotUsedTxEna1Off
Definition: gpadc/v0/gpadc.h:742
uint32_t b8_PktRamBaseAddrCp6
Definition: gpadc/v0/gpadc.h:697
Register12 Offset 0x030.
Definition: gpadc/v0/gpadc.h:768
uint32_t b8_PktRamBaseAddrCp14
Definition: gpadc/v0/gpadc.h:721
uint16_t Max
Maximum of ADC samples.
Definition: gpadc/v0/gpadc.h:938
GPADCREG_REG9 r_Reg9
Definition: gpadc/v0/gpadc.h:887
uint32_t b7_Nu3
Definition: gpadc/v0/gpadc.h:642
Register14 Offset 0x038.
Definition: gpadc/v0/gpadc.h:791
uint32_t b8_PktRamBaseAddrCp15
Definition: gpadc/v0/gpadc.h:722
GPADCREG_REG14 r_Reg14
Definition: gpadc/v0/gpadc.h:892
uint32_t b8_PktRamBaseAddrCp12
Definition: gpadc/v0/gpadc.h:719
@ MAX_GPADC_MEAS_SOURCES
0x9 - MAX_CHANNELS
Definition: gpadc/v0/gpadc.h:281
Register6 Offset 0x018.
Definition: gpadc/v0/gpadc.h:706
@ GPADC_DIG_HWA_TEMP_SENSOR
0x1 - DIG_HWA_TEMP_SENSOR
Definition: gpadc/v0/gpadc.h:330
GPADCREG_REG22 r_Reg22
Definition: gpadc/v0/gpadc.h:900
uint32_t b8_GpadcClkDiv
Definition: gpadc/v0/gpadc.h:731
int16_t DigDspTempValue
Digital Dsp Temperature value.
Definition: gpadc/v0/gpadc.h:533
GPADC returning min, avg, max and sum.
Definition: gpadc/v0/gpadc.h:932
Register Offset 0x000.
Definition: gpadc/v0/gpadc.h:621
uint32_t b1_GpadcIfmDoneClr
Definition: gpadc/v0/gpadc.h:834
uint32_t b1_GpadcStartBypVal
Definition: gpadc/v0/gpadc.h:643
GPADCREG_REG15 r_Reg15
Definition: gpadc/v0/gpadc.h:893
@ GPADC_TRIG_SRC_HW_Sync_FE2
0x0A - HW_Sync_FE2
Definition: gpadc/v0/gpadc.h:217
GPADC_StatusType GPADC_getStatus(void)
Gets the status of GPADC Driver HW unit.
uint32_t b1_AnaogTestTmuxEsdCtrl
Definition: gpadc/v0/gpadc.h:589
@ GPADC_BUSY
The conversion of the specified group has been started and is still going on. So far no result is ava...
Definition: gpadc/v0/gpadc.h:314
uint32_t b8_PktRamBaseAddrCp13
Definition: gpadc/v0/gpadc.h:720
uint32_t b7_Nu1
Definition: gpadc/v0/gpadc.h:770
uint32_t b1_AdcRefBufEn
Definition: gpadc/v0/gpadc.h:602
Bool isChannelConfigured
true if channel is configured
Definition: gpadc/v0/gpadc.h:482
GPADC Clock Divider Value register.
Definition: gpadc/v0/gpadc.h:555
GPADC_ParamInfoType channelParamValue
Channel Param type.
Definition: gpadc/v0/gpadc.h:480
uint32_t b6_Nu2
Definition: gpadc/v0/gpadc.h:805
U_GPADCREG_REG3 r_Reg3
Definition: gpadc/v0/gpadc.h:884
GPADC Driver Channel configuration.
Definition: gpadc/v0/gpadc.h:474
uint32_t b32_SpareWr1
Definition: gpadc/v0/gpadc.h:872
uint32_t skipSamples
Number of samples to be skipped before collecting samples per input channel.
Definition: gpadc/v0/gpadc.h:387
Register9 Offset 0x024.
Definition: gpadc/v0/gpadc.h:741
uint32_t b1_GpadcClkEnable
Definition: gpadc/v0/gpadc.h:732
uint32_t b1_AdcInpBufEn
Definition: gpadc/v0/gpadc.h:601
@ GPADC_MEAS_EXT_CH1
0x0 - Channel 1
Definition: gpadc/v0/gpadc.h:263
GPADC_StatusType
Current status of the conversion of the requested GPADC HW unit.
Definition: gpadc/v0/gpadc.h:304
GPADC Memory initialize registers.
Definition: gpadc/v0/gpadc.h:907
Register19 Offset 0x048.
Definition: gpadc/v0/gpadc.h:833
int32_t GPADC_open(GPADC_ConfigType *CfgPtr)
Initializes the GPADC Driver with the channels configuration.
uint32_t b8_PktRamBaseAddrCp7
Definition: gpadc/v0/gpadc.h:698
int32_t GPADC_readTemperature(uint8_t numAverages, uint8_t numChannels, GPADC_TempSensValueType *tempValuesPtr)
Read the temperature sensor value.
int32_t GPADC_stopConversion(void)
Stops the GPADC conversion.
@ GPADC_TRIG_SRC_RSS_CSI2A_SOF_INT
0x07 - RSS_CSI2A_SOF_INT
Definition: gpadc/v0/gpadc.h:211
uint32_t b32_SpareWr2
Definition: gpadc/v0/gpadc.h:783
uint32_t b3_Assert
Definition: gpadc/v0/gpadc.h:546
uint32_t b7_Nu4
Definition: gpadc/v0/gpadc.h:644
uint32_t b1_ClkTmuxEsdCtrl
Definition: gpadc/v0/gpadc.h:578
uint32_t b9_Reserved
Definition: gpadc/v0/gpadc.h:436
uint32_t b8_PktRamBaseAddrCp4
Definition: gpadc/v0/gpadc.h:695
GPADC_TriggerSourceType triggSrc
Conversion trigger SW/HW trigger selection.
Definition: gpadc/v0/gpadc.h:415
GPADC_MeasExtSrcType channelID
Channel number The hardware channel number from which input is given Valid values: 0x00 to MAX_GPADC_...
Definition: gpadc/v0/gpadc.h:363
GPADC Clock Gate register.
Definition: gpadc/v0/gpadc.h:566
uint32_t b7_SkipSamples
Definition: gpadc/v0/gpadc.h:435
uint32_t b1_VinExtCtrl
Definition: gpadc/v0/gpadc.h:608
GPADC_TriggerSourceType triggSrc
Trigger Source Type.
Definition: gpadc/v0/gpadc.h:496
@ GPADC_TRIG_SRC_GPIO_3
0x03 - GPIO_3
Definition: gpadc/v0/gpadc.h:203
GPADC Config Type data structure for the mode, trigger source and channel configuration for all the a...
Definition: gpadc/v0/gpadc.h:411
@ GPADC_IDLE
The conversion of the specified group has not been started. No result is available.
Definition: gpadc/v0/gpadc.h:309
uint32_t b8_PktRamBaseAddrCp2
Definition: gpadc/v0/gpadc.h:683
uint32_t b1_AdcStartConv
Definition: gpadc/v0/gpadc.h:599
Register5 Offset 0x014.
Definition: gpadc/v0/gpadc.h:694
uint32_t b8_Nu1
Definition: gpadc/v0/gpadc.h:558
uint32_t b16_GpadcSamplesFrame
Definition: gpadc/v0/gpadc.h:844
uint32_t b4_Nu2
Definition: gpadc/v0/gpadc.h:626
uint32_t Sum
Sum of ADC samples.
Definition: gpadc/v0/gpadc.h:940
uint32_t b8_ParamValIfm
Definition: gpadc/v0/gpadc.h:664
GPADCREG_REG17 r_Reg17
Definition: gpadc/v0/gpadc.h:895
uint32_t b32_SpareRd2
Definition: gpadc/v0/gpadc.h:863
uint32_t b1_GpadcDebugModeEnable
Definition: gpadc/v0/gpadc.h:627
uint32_t skipSamples
Number of samples to be skipped before collecting samples per input channel.
Definition: gpadc/v0/gpadc.h:521
uint32_t b1_TsDiffInpBufEn
Definition: gpadc/v0/gpadc.h:604
uint32_t b1_GpadcInit
Definition: gpadc/v0/gpadc.h:639
uint32_t b8_PktRamBaseAddrCp10
Definition: gpadc/v0/gpadc.h:709
int32_t GPADC_setupResultBuffer(uint16_t *ResBufferPtr)
Initializes GPADC driver with the group specific result buffer start address where the conversion res...
Analog Mux Control Registers.
Definition: gpadc/v0/gpadc.h:576
MSS_GPADC_REG_REGS.
Definition: gpadc/v0/gpadc.h:880
uint32_t b1_GpadcFsmClkEnable
Definition: gpadc/v0/gpadc.h:624
@ GPADC_ONESHOT_CONV_MODE
0x00 - IFM - Inter Frame Monitoring/One Shot Conversion Mode
Definition: gpadc/v0/gpadc.h:238
Register22 Offset 0x054.
Definition: gpadc/v0/gpadc.h:862
GPADC_TempSensorSrcType
Enumeration which describes the temperature sensors available for GPADC measurement.
Definition: gpadc/v0/gpadc.h:326
uint32_t b7_Nu2
Definition: gpadc/v0/gpadc.h:640
void GPADC_deinit(void)
This function de-initializes the GPADC module.
Register8 Offset 0x020.
Definition: gpadc/v0/gpadc.h:730
GPADCREG_REG20 r_Reg20
Definition: gpadc/v0/gpadc.h:898
uint32_t b8_PktRamBaseAddrCp9
Definition: gpadc/v0/gpadc.h:708
uint32_t b12_Reserved1
Definition: gpadc/v0/gpadc.h:612
uint32_t b8_DramRepairedBit
Definition: gpadc/v0/gpadc.h:774
int16_t DigHwaTempValue
Digital Hwa Temperature value.
Definition: gpadc/v0/gpadc.h:535
uint32_t b23_Nu
Definition: gpadc/v0/gpadc.h:733
Register15 Offset 0x03C.
Definition: gpadc/v0/gpadc.h:801
GPADC Reset Control register.
Definition: gpadc/v0/gpadc.h:545
uint32_t b1_GpadcMemInitDoneStat
Definition: gpadc/v0/gpadc.h:814
uint16_t b7_Reserved
Reserved.
Definition: gpadc/v0/gpadc.h:461
GPADCREG_REG19 r_Reg19
Definition: gpadc/v0/gpadc.h:897
GPADC_TriggerSourceType
Enumeration which describes the trigger sources for GPADC CTM mode conversion.
Definition: gpadc/v0/gpadc.h:250
@ GPADC_DIG_HSM_TEMP_SENSOR
0x2 - DIG_HSM_TEMP_SENSOR
Definition: gpadc/v0/gpadc.h:332
uint32_t b1_DramEccEnable
Definition: gpadc/v0/gpadc.h:769
GPADC_StatusType driverStatus
Driver Status.
Definition: gpadc/v0/gpadc.h:498
GPADC_ConvResultType
Enumeration which describes the error types of GPADC conversion.
Definition: gpadc/v0/gpadc.h:288
int32_t GPADC_close(void)
This function closes the GPADC module.
GPADC_ConvResultType GPADC_startSingleChannelConversion(GPADC_MeasExtSrcType channelID, uint16_t *gpadcValue)
Starts and triggers the single channel conversion. Pass the channelID and result address to the drive...
GPADC_CtmTrigSrcType
Enumeration which describes the trigger sources for GPADC CTM mode conversion.
Definition: gpadc/v0/gpadc.h:195
uint32_t b24_Clkdivr
MSS_GPADC_CLK_DIV_VAL_REG bits structure.
Definition: gpadc/v0/gpadc.h:557
Available <0-8> external sources/channels could be selected by using bitmap of 9 bits in LSB....
Definition: gpadc/v0/gpadc.h:450
Register10 Offset 0x028.
Definition: gpadc/v0/gpadc.h:750
GPADCREG_REG21 r_Reg21
Definition: gpadc/v0/gpadc.h:899
uint8_t channelParamValue
Channel parameters including channel paramVal(subsystem-type), collect samples and skip *samples.
Definition: gpadc/v0/gpadc.h:372
uint32_t b32_ParamNotUsedTxEna3Off
Definition: gpadc/v0/gpadc.h:760
uint32_t b29_Nu1
Definition: gpadc/v0/gpadc.h:547
uint32_t b31_Nu
Definition: gpadc/v0/gpadc.h:815
uint32_t b8_DramEccErrAddr
Definition: gpadc/v0/gpadc.h:773
GPADCREG_REG11 r_Reg11
Definition: gpadc/v0/gpadc.h:889
uint32_t b31_Reserved
Definition: gpadc/v0/gpadc.h:909
@ GPADC_DIG_DSP_TEMP_SENSOR
0x0 - DIG_DSP_TEMP_SENSOR
Definition: gpadc/v0/gpadc.h:328
uint32_t b1_GpadcIfmDoneStatus
Definition: gpadc/v0/gpadc.h:824
uint32_t b7_Nu2
Definition: gpadc/v0/gpadc.h:772
The Temperature sensor values structure.
Definition: gpadc/v0/gpadc.h:531
uint32_t b31_Nu
Definition: gpadc/v0/gpadc.h:825
GPADC_ChannelConvModeType convMode
Operation mode of the group.
Definition: gpadc/v0/gpadc.h:494
@ GPADC_CONTINUOUS_CONV_MODE
0x01 - CTM - Continuous Time Monitoring/ Continuous conversion Mode
Definition: gpadc/v0/gpadc.h:241
uint32_t b32_SpareRd1
Definition: gpadc/v0/gpadc.h:854
uint32_t b20_SumIfm
Definition: gpadc/v0/gpadc.h:792
uint32_t b32_ParamNotUsedTxEna2Off
Definition: gpadc/v0/gpadc.h:751
Configuration Parameters for GPADC in IFM mode ParamValue : Value to be programmed in one hot reg Col...
Definition: gpadc/v0/gpadc.h:428
uint32_t b3_Gated
Definition: gpadc/v0/gpadc.h:567
uint32_t b1_DramEccErrClr
Definition: gpadc/v0/gpadc.h:771
Register20 Offset 0x04C.
Definition: gpadc/v0/gpadc.h:843
Analog Refsys spare Registers.
Definition: gpadc/v0/gpadc.h:587
GPADC_ParamInfoType ParamInfo
ParamInfo.
Definition: gpadc/v0/gpadc.h:923
@ GPADC_MEAS_EXT_CH9
0x8 - Channel 9
Definition: gpadc/v0/gpadc.h:279
@ GPADC_MEAS_EXT_CH7
0x6 - Channel 7
Definition: gpadc/v0/gpadc.h:275
Register3 Offset 0x00C.
Definition: gpadc/v0/gpadc.h:661
uint32_t b6_Nu1
Definition: gpadc/v0/gpadc.h:623
uint32_t b1_IforceExtCtrl
Definition: gpadc/v0/gpadc.h:606
uint8_t channelParamValue
Channel parameters including channel paramVal(subsystem-type), collect samples and skip samples.
Definition: gpadc/v0/gpadc.h:516
uint32_t b8_PktRamBaseAddrCp11
Definition: gpadc/v0/gpadc.h:710
uint32_t b8_PktRamBaseAddrCp8
Definition: gpadc/v0/gpadc.h:707
Bool useLuTable
TRUE: Use predefined lookup table to load number of skipSamples and collectSamples configuration for ...
Definition: gpadc/v0/gpadc.h:397
int16_t DigHsmTempValue
Digital Hsm Temperature value.
Definition: gpadc/v0/gpadc.h:537
@ GPADC_TRIG_SRC_MSS_RTIA_INT1
0x0D - MSS_RTIA_INT1
Definition: gpadc/v0/gpadc.h:223
uint32_t UnbuffConfigValue
Unbuff configuration value.
Definition: gpadc/v0/gpadc.h:919
Register22 Offset 0x058.
Definition: gpadc/v0/gpadc.h:871
uint32_t b2_DcbistMode
Definition: gpadc/v0/gpadc.h:622
@ GPADC_CONV_CHANNEL_CONFIG_MISSING
GPADC requested channel through the channel bitmap or index is not configured during the initializati...
Definition: gpadc/v0/gpadc.h:297
@ GPADC_TRIG_SRC_RSS_CSI2A_SOF_INT0
0x05 - RSS_CSI2A_SOF_INT0
Definition: gpadc/v0/gpadc.h:207
Register7 Offset 0x01C.
Definition: gpadc/v0/gpadc.h:718
uint32_t b7_SkipSamplesIfm
Definition: gpadc/v0/gpadc.h:666
uint16_t b9_ChannelSelectionBitMap
Channel selection bitmap for triggering group GPADC conversion and getting results for the specified ...
Definition: gpadc/v0/gpadc.h:459
uint32_t b9_Nu
Definition: gpadc/v0/gpadc.h:667
uint32_t b1_AdcEn
Definition: gpadc/v0/gpadc.h:598
uint16_t Avg
Average of ADC samples.
Definition: gpadc/v0/gpadc.h:934
Register16 Offset 0x040.
Definition: gpadc/v0/gpadc.h:813
uint32_t b32_Reg
Definition: gpadc/v0/gpadc.h:686
GPADCREG_REG13 r_Reg13
Definition: gpadc/v0/gpadc.h:891
Bool isChannelBufferedMode
true if Channel is Buffer mode
Definition: gpadc/v0/gpadc.h:476
uint32_t b1_AnaTmuxBufEn
Definition: gpadc/v0/gpadc.h:610
uint32_t b1_GpadcTrigger
Definition: gpadc/v0/gpadc.h:637
uint32_t b1_TsSeInpBufEn
Definition: gpadc/v0/gpadc.h:605
uint32_t b8_PktRamBaseAddrCp5
Definition: gpadc/v0/gpadc.h:696
@ GPADC_MEAS_EXT_CH6
0x5 - Channel 6
Definition: gpadc/v0/gpadc.h:273
@ GPADC_COMPLETED
A conversion round of the specified group has been finished. A result is available for all specified ...
Definition: gpadc/v0/gpadc.h:319
GPADCREG_REG2 r_Reg2
Definition: gpadc/v0/gpadc.h:883
uint32_t b15_Nu3
Definition: gpadc/v0/gpadc.h:628
GPADC Driver Object configuration.
Definition: gpadc/v0/gpadc.h:492
Register2 Offset 0x008.
Definition: gpadc/v0/gpadc.h:652
uint32_t b16_Nu
Definition: gpadc/v0/gpadc.h:845
@ GPADC_TRIG_SRC_HW_Sync_FE1
0x09 - HW_Sync_FE1
Definition: gpadc/v0/gpadc.h:215