AM273x MCU+ SDK  09.02.00
gpadc/v0/gpadc.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021-23 Texas Instruments Incorporated
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *
11  * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the
14  * distribution.
15  *
16  * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 
49 #ifndef GPADC_H_
50 #define GPADC_H_
51 
52 /* ========================================================================== */
53 /* Include Files */
54 /* ========================================================================== */
55 
56 #include <drivers/hw_include/cslr_soc.h>
57 #include <kernel/dpl/HwiP.h>
58 
59 #ifdef __cplusplus
60 extern "C" {
61 #endif
62 
63 /* ========================================================================== */
64 /* Macros & Typedefs */
65 /* ========================================================================== */
66 
73 #define GPADC_DISABLE (0U)
74 
75 #define GPADC_ENABLE (1U)
76 
77 #define GPADC_ASSERT_RESET (1U)
78 
79 #define GPADC_DEASSERT_RESET (0U)
80 
81 #define GPADC_FSM_ASSERT_RESET (0x7U)
82 
83 #define GPADC_FSM_DEASSERT_RESET (0U)
84 
92 #define GPADC_MODE_DISABLE (0U)
93 
94 #define GPADC_MODE_IFM (1U)
95 
96 #define GPADC_MODE_CTM (2U)
97 
105 #define GPADC_MON_INSTR_RAM_ST_IND (224U)
106 
107 #define GPADC_MAX_MON_INSTR_RAM (32U)
108 
111 #define MAX_CTM_GPADC_PARAMS (1U)
112 
122 #define GPADC_TIMEOUT_MAX (200000U)
123 
125 #define GPADC_REGS_PTR ((T_GPADC_REGS*)CSL_MSS_GPADC_REG_U_BASE)
126 
127 #define GPADCPKTRAM_REGS_PTR ((T_GPADCPKTRAM_REGS*)CSL_MSS_GPADC_PKT_RAM_U_BASE)
128 
129 #define GPADCOUT_RAM_PTR ((T_GPADCOUT_RAM*)CSL_MSS_GPADC_DATA_RAM_U_BASE)
130 
132 #define MSS_GPADC_RST_CTRL_ADDR (CSL_MSS_RCM_U_BASE + CSL_MSS_RCM_MSS_GPADC_RST_CTRL)
133 
134 #define MSS_GPADC_RST_CTRL_PTR ((MSS_GPADC_RST_CTRL_REG*)MSS_GPADC_RST_CTRL_ADDR)
135 
136 #define MSS_GPADC_CLK_DIV_VAL_ADDR (CSL_MSS_RCM_U_BASE + CSL_MSS_RCM_MSS_GPADC_CLK_DIV_VAL)
137 
138 #define MSS_GPADC_CLK_DIV_VAL_PTR ((MSS_GPADC_CLK_DIV_VAL_REG*)MSS_GPADC_CLK_DIV_VAL_ADDR)
139 
140 #define MSS_GPADC_CLK_GATE_ADDR (CSL_MSS_RCM_U_BASE + CSL_MSS_RCM_MSS_GPADC_CLK_GATE)
141 
142 #define MSS_GPADC_CLK_GATE_PTR ((MSS_GPADC_CLK_GATE_REG*)MSS_GPADC_CLK_GATE_ADDR)
143 
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)
145 
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)
147 
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)
149 
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)
151 
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)
153 
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)
155 
156 #define MSS_CTRL_MSS_GPADC_MEM_INIT_ADDR (CSL_MSS_CTRL_U_BASE + CSL_MSS_CTRL_MSS_GPADC_MEM_INIT)
157 
158 #define MSS_CTRL_MSS_GPADC_MEM_INIT_PTR ((MSS_CTRL_MSS_GPADC_MEM_INIT_REG*)MSS_CTRL_MSS_GPADC_MEM_INIT_ADDR)
159 
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)); \
166  } while (0)
167 
171 #define REG32_SCOMPARE(w_hwVal, w_swVal, w_regWrSts) \
172  do { \
173  (w_regWrSts) |= (((uint32_t)(w_swVal)) ^ ((uint32_t)(w_hwVal))); \
174  } while (0)
175 
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))); \
182  } while (0)
183 
184 /* ========================================================================== */
185 /* Structures and Enums */
186 /* ========================================================================== */
187 
194 typedef enum
195 {
229 
235 typedef enum
236 {
239 
243 
249 typedef enum
250 {
256 
260 typedef enum
261 {
283 
287 typedef enum
288 {
299 
303 typedef enum
304 {
321 
325 typedef enum
326 {
336 
347 typedef struct
348 {
364 
367 
373 
387  uint32_t skipSamples;
389  uint8_t collectSamples;
399 
410 typedef struct
411 {
419 
427 typedef union
428 {
430  struct
431  {
432  uint32_t b8_ParamValue : 8; /* bits 7: 0 */
433  uint32_t b8_CollectSamples : 8; /* bits 15: 8 */
434  /* Skip samples = Mantissa[3:0] * 2^(Exponent[6:4]) */
435  uint32_t b7_SkipSamples : 7; /* bits 22: 16 - */
436  uint32_t b9_Reserved : 9; /* bits 31: 23 - */
437  } bits;
439  uint32_t b32_Val;
441 
449 typedef union
450 {
452  struct
453  {
459  uint16_t b9_ChannelSelectionBitMap : 9; /* bits 8: 0 */
461  uint16_t b7_Reserved : 7; /* bits 15: 9 */
462  } bits;
464  uint16_t b16_Val;
466 
473 typedef struct
474 {
484 
491 typedef struct
492 {
502  uint16_t *ResultBufferPtr;
504 
508 typedef struct
509 {
521  uint32_t skipSamples;
524  uint8_t collectSamples;
526 
530 typedef struct
531 {
539 
544 typedef struct
545 {
546  uint32_t b3_Assert : 3;
547  uint32_t b29_Nu1 : 29;
549 
554 typedef struct
555 {
557  uint32_t b24_Clkdivr : 24;
558  uint32_t b8_Nu1 : 8;
560 
565 typedef struct
566 {
567  uint32_t b3_Gated : 3;
568  uint32_t b29_Nu1 : 29;
570 
575 typedef struct
576 {
577  uint32_t b30_Reserved1 : 30;
578  uint32_t b1_ClkTmuxEsdCtrl : 1;
579  uint32_t b1_AnaTestEn : 1;
581 
586 typedef struct
587 {
588  uint32_t b30_Reserved1 : 31;
589  uint32_t b1_AnaogTestTmuxEsdCtrl : 1;
591 
596 typedef struct
597 {
598  uint32_t b1_AdcEn : 1;
599  uint32_t b1_AdcStartConv : 1;
600  uint32_t b1_AdcReset : 1;
601  uint32_t b1_AdcInpBufEn : 1;
602  uint32_t b1_AdcRefBufEn : 1;
603  uint32_t b3_AdcRefSel_2_0 : 3;
604  uint32_t b1_TsDiffInpBufEn : 1;
605  uint32_t b1_TsSeInpBufEn : 1;
606  uint32_t b1_IforceExtCtrl : 1;
607  uint32_t b1_VrefExtCtrl : 1;
608  uint32_t b1_VinExtCtrl : 1;
609  uint32_t b1_AnaTmuxBufBypass : 1;
610  uint32_t b1_AnaTmuxBufEn : 1;
611  uint32_t b5_RtrimTw_4_0 : 5;
612  uint32_t b12_Reserved1 : 12;
614 
615 
620 typedef struct
621 {
622  uint32_t b2_DcbistMode : 2;
623  uint32_t b6_Nu1 : 6;
624  uint32_t b1_GpadcFsmClkEnable : 1;
625  uint32_t b3_Gpadc2adcbufPathEn : 3;
626  uint32_t b4_Nu2 : 4;
627  uint32_t b1_GpadcDebugModeEnable : 1;
628  uint32_t b15_Nu3 : 15;
629 } GPADCREG_REG0;
630 
635 typedef struct
636 {
637  uint32_t b1_GpadcTrigger : 1;
638  uint32_t b7_Nu1 : 7;
639  uint32_t b1_GpadcInit : 1;
640  uint32_t b7_Nu2 : 7;
641  uint32_t b1_GpadcFsmBypass : 1;
642  uint32_t b7_Nu3 : 7;
643  uint32_t b1_GpadcStartBypVal : 1;
644  uint32_t b7_Nu4 : 7;
645 } GPADCREG_REG1;
646 
651 typedef struct
652 {
653  uint32_t b32_ConfigValueIfm : 32;
654 } GPADCREG_REG2;
655 
660 typedef union
661 {
662  struct
663  {
664  uint32_t b8_ParamValIfm : 8;
665  uint32_t b8_CollectSamplesIfm : 8;
666  uint32_t b7_SkipSamplesIfm : 7;
667  uint32_t b9_Nu : 9;
668  } bits;
670  uint32_t b32_Reg;
672 
677 typedef union
678 {
679  struct
680  {
681  uint32_t b8_PktRamBaseAddrCp0 : 8;
682  uint32_t b8_PktRamBaseAddrCp1 : 8;
683  uint32_t b8_PktRamBaseAddrCp2 : 8;
684  uint32_t b8_PktRamBaseAddrCp3 : 8;
685  } bits;
686  uint32_t b32_Reg;
688 
693 typedef struct
694 {
695  uint32_t b8_PktRamBaseAddrCp4 : 8;
696  uint32_t b8_PktRamBaseAddrCp5 : 8;
697  uint32_t b8_PktRamBaseAddrCp6 : 8;
698  uint32_t b8_PktRamBaseAddrCp7 : 8;
699 } GPADCREG_REG5;
700 
705 typedef struct
706 {
707  uint32_t b8_PktRamBaseAddrCp8 : 8;
708  uint32_t b8_PktRamBaseAddrCp9 : 8;
709  uint32_t b8_PktRamBaseAddrCp10 : 8;
710  uint32_t b8_PktRamBaseAddrCp11 : 8;
711 } GPADCREG_REG6;
712 
717 typedef struct
718 {
719  uint32_t b8_PktRamBaseAddrCp12 : 8;
720  uint32_t b8_PktRamBaseAddrCp13 : 8;
721  uint32_t b8_PktRamBaseAddrCp14 : 8;
722  uint32_t b8_PktRamBaseAddrCp15 : 8;
723 } GPADCREG_REG7;
724 
729 typedef struct
730 {
731  uint32_t b8_GpadcClkDiv : 8;
732  uint32_t b1_GpadcClkEnable : 1;
733  uint32_t b23_Nu : 23;
734 } GPADCREG_REG8;
735 
740 typedef struct
741 {
743 } GPADCREG_REG9;
744 
749 typedef struct
750 {
753 
758 typedef struct
759 {
762 
767 typedef struct
768 {
769  uint32_t b1_DramEccEnable : 1;
770  uint32_t b7_Nu1 : 7;
771  uint32_t b1_DramEccErrClr : 1;
772  uint32_t b7_Nu2 : 7;
773  uint32_t b8_DramEccErrAddr : 8;
774  uint32_t b8_DramRepairedBit : 8;
776 
781 typedef struct
782 {
783  uint32_t b32_SpareWr2 : 32;
785 
790 typedef struct
791 {
792  uint32_t b20_SumIfm : 20;
793  uint32_t b12_Nu : 12;
795 
800 typedef struct
801 {
802  uint32_t b10_MinGpadc : 10;
803  uint32_t b6_Nu1 : 6;
804  uint32_t b10_MaxGpadc : 10;
805  uint32_t b6_Nu2 : 6;
807 
812 typedef struct
813 {
814  uint32_t b1_GpadcMemInitDoneStat : 1;
815  uint32_t b31_Nu : 31;
817 
822 typedef struct
823 {
824  uint32_t b1_GpadcIfmDoneStatus : 1;
825  uint32_t b31_Nu : 31;
827 
832 typedef struct
833 {
834  uint32_t b1_GpadcIfmDoneClr : 1;
835  uint32_t b31_Nu : 31;
837 
842 typedef struct
843 {
844  uint32_t b16_GpadcSamplesFrame : 16;
845  uint32_t b16_Nu : 16;
847 
852 typedef struct
853 {
854  uint32_t b32_SpareRd1 : 32;
856 
861 typedef struct
862 {
863  uint32_t b32_SpareRd2 : 32;
865 
870 typedef struct
871 {
872  uint32_t b32_SpareWr1 : 32;
874 
875 
879 typedef volatile struct
880 {
885  U_GPADCREG_REG4 r_PacketRamAdd[4] ;
901 } T_GPADC_REGS;
902 
906 typedef struct
907 {
908  uint32_t b1_mem0_init : 1;
909  uint32_t b31_Reserved : 31;
911 
916 typedef struct
917 {
921  uint32_t BuffConfigValue;
925  uint16_t TotalTime;
927 
931 typedef struct
932 {
934  uint16_t Avg;
936  uint16_t Min;
938  uint16_t Max;
940  uint32_t Sum;
942 
943 
944 /* ========================================================================== */
945 /* Internal/Private Structure Declarations */
946 /* ========================================================================== */
947 
948 
949 /* ========================================================================== */
950 /* Global Variables Declarations */
951 /* ========================================================================== */
952 
953 
954 /* ========================================================================== */
955 /* Function Declarations */
956 /* ========================================================================== */
957 
961 void GPADC_init(void);
962 
966 void GPADC_deinit(void);
967 
974 int32_t GPADC_open(GPADC_ConfigType *CfgPtr);
975 
979 int32_t GPADC_close(void);
980 
1006 
1024 
1034 int32_t GPADC_stopConversion(void);
1035 
1050 int32_t GPADC_setupResultBuffer(uint16_t * ResBufferPtr);
1051 
1063 int32_t GPADC_readResultBuffer(uint16_t *ResBufferPtr);
1064 
1077 
1087 int32_t GPADC_readTemperature(uint8_t numAverages, uint8_t numChannels, GPADC_TempSensValueType * tempValuesPtr);
1088 
1093 
1094 /* ========================================================================== */
1095 /* Static Function Definitions */
1096 /* ========================================================================== */
1097 
1098 /* None */
1099 
1100 #ifdef __cplusplus
1101 }
1102 #endif
1103 
1104 #endif /* #ifndef GPADC_H_ */
1105 
MAX_GPADC_TEMP_SENSORS
@ MAX_GPADC_TEMP_SENSORS
0x3 - MAX_TEMP_SENSORS
Definition: gpadc/v0/gpadc.h:334
GPADC_TRIG_SRC_DSS_RTIB_1
@ GPADC_TRIG_SRC_DSS_RTIB_1
0x0C - DSS_RTIB_1
Definition: gpadc/v0/gpadc.h:221
GPADC_ChannelConfigType::isBufferedMode
Bool isBufferedMode
TRUE: Buffered mode FALSE: Unbuffered/ Full Scale mode.
Definition: gpadc/v0/gpadc.h:382
GPADC_readResultBuffer
int32_t GPADC_readResultBuffer(uint16_t *ResBufferPtr)
The function is used to read the result buffer from the GPADC Driver.
GPADC_MEAS_EXT_CH4
@ GPADC_MEAS_EXT_CH4
0x3 - Channel 4
Definition: gpadc/v0/gpadc.h:269
GPADC_TRIG_SRC_RSS_CSI2A_EOL_INT
@ GPADC_TRIG_SRC_RSS_CSI2A_EOL_INT
0x04 - RSS_CSI2A_EOL_INT
Definition: gpadc/v0/gpadc.h:205
GPADC_ParamInfoType::b8_ParamValue
uint32_t b8_ParamValue
Definition: gpadc/v0/gpadc.h:432
GPADC_initTempMeasurement
void GPADC_initTempMeasurement(void)
Initialize GPADC efuse temperature parameters.
GPADC_ChannelConvModeType
GPADC_ChannelConvModeType
Enumeration which lists the conversion modes supported for AM273x GPADC conversion.
Definition: gpadc/v0/gpadc.h:236
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b3_AdcRefSel_2_0
uint32_t b3_AdcRefSel_2_0
Definition: gpadc/v0/gpadc.h:603
T_GPADC_REGS::r_Reg1
GPADCREG_REG1 r_Reg1
Definition: gpadc/v0/gpadc.h:882
GPADC_DriverChannelConfigType::channelConfigValue
uint32_t channelConfigValue
Channel Config value
Definition: gpadc/v0/gpadc.h:478
T_GPADC_REGS::r_Reg16
GPADCREG_REG16 r_Reg16
Definition: gpadc/v0/gpadc.h:894
GPADC_TempSensMuxType
Temperature sensors mux values.
Definition: gpadc/v0/gpadc.h:509
GPADC_TRIG_SRC_DSS_RTIA_1
@ GPADC_TRIG_SRC_DSS_RTIA_1
0x0B - DSS_RTIA_1
Definition: gpadc/v0/gpadc.h:219
GPADC_TRIG_SRC_RSS_CSI2B_SOF_INT
@ GPADC_TRIG_SRC_RSS_CSI2B_SOF_INT
0x08 - RSS_CSI2B_SOF_INT
Definition: gpadc/v0/gpadc.h:213
GPADCREG_REG0::b3_Gpadc2adcbufPathEn
uint32_t b3_Gpadc2adcbufPathEn
Definition: gpadc/v0/gpadc.h:625
GPADC_TRIG_SRC_MMR_Based_SW_Trigger
@ GPADC_TRIG_SRC_MMR_Based_SW_Trigger
0x0F - MMR_Based_SW_Trigger
Definition: gpadc/v0/gpadc.h:227
GPADCREG_REG15::b6_Nu1
uint32_t b6_Nu1
Definition: gpadc/v0/gpadc.h:803
GPADC_startGroupConversion
GPADC_ConvResultType GPADC_startGroupConversion(GPADC_channelsGroupSelectType channels, uint8_t numChannels)
Starts and triggers the multi channel ADC conversion.
GPADC_MEAS_EXT_CH8
@ GPADC_MEAS_EXT_CH8
0x7 - Channel 8
Definition: gpadc/v0/gpadc.h:277
MSS_GPADC_CLK_GATE_REG::b29_Nu1
uint32_t b29_Nu1
Definition: gpadc/v0/gpadc.h:568
MSS_CTRL_MSS_GPADC_MEM_INIT_REG::b1_mem0_init
uint32_t b1_mem0_init
Definition: gpadc/v0/gpadc.h:908
U_GPADCREG_REG4
Register4 Offset 0x010.
Definition: gpadc/v0/gpadc.h:678
T_GPADC_REGS::r_Reg8
GPADCREG_REG8 r_Reg8
Definition: gpadc/v0/gpadc.h:886
GPADC_TRIGG_SRC_SW
@ GPADC_TRIGG_SRC_SW
Conversion is triggered by a software API call.
Definition: gpadc/v0/gpadc.h:252
GPADCREG_REG14::b12_Nu
uint32_t b12_Nu
Definition: gpadc/v0/gpadc.h:793
T_GPADC_REGS::r_Reg18
GPADCREG_REG18 r_Reg18
Definition: gpadc/v0/gpadc.h:896
GPADC_TempSensMuxType::channelConfigValue
uint32_t channelConfigValue
Unique muxing config value per sensor.
Definition: gpadc/v0/gpadc.h:511
GPADCREG_REG15::b10_MinGpadc
uint32_t b10_MinGpadc
Definition: gpadc/v0/gpadc.h:802
GPADCREG_REG18::b31_Nu
uint32_t b31_Nu
Definition: gpadc/v0/gpadc.h:835
GPADCREG_REG2::b32_ConfigValueIfm
uint32_t b32_ConfigValueIfm
Definition: gpadc/v0/gpadc.h:653
GPADC_TRIG_SRC_GPIO_0
@ GPADC_TRIG_SRC_GPIO_0
0x00 - GPIO_0
Definition: gpadc/v0/gpadc.h:197
GPADC_CfgAndParamValuesType
Configuration Parameters for GPADC LUT in IFM mode 32 bits: ConfigValue 32 bits: ParamInfo.
Definition: gpadc/v0/gpadc.h:917
GPADC_ConfigType::convMode
GPADC_ChannelConvModeType convMode
Conversion mode of the GPADC driver.
Definition: gpadc/v0/gpadc.h:413
GPADCREG_REG1::b1_GpadcFsmBypass
uint32_t b1_GpadcFsmBypass
Definition: gpadc/v0/gpadc.h:641
GPADCREG_REG11
Register11 Offset 0x02C.
Definition: gpadc/v0/gpadc.h:759
MSS_TOPRCM_ANA_REG_TW_ANA_TMUX_CTRL_LOWV_REG::b30_Reserved1
uint32_t b30_Reserved1
Definition: gpadc/v0/gpadc.h:577
GPADC_MeasExtSrcType
GPADC_MeasExtSrcType
Enumeration which describes the external sources available for GPADC conversion.
Definition: gpadc/v0/gpadc.h:261
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b1_AnaTmuxBufBypass
uint32_t b1_AnaTmuxBufBypass
Definition: gpadc/v0/gpadc.h:609
GPADC_CONV_ERROR
@ GPADC_CONV_ERROR
GPADC conversion error.
Definition: gpadc/v0/gpadc.h:290
U_GPADCREG_REG4::b8_PktRamBaseAddrCp1
uint32_t b8_PktRamBaseAddrCp1
Definition: gpadc/v0/gpadc.h:682
GPADC_ChannelConfigType
GPADC Config Type data structure for the mode, trigger source and channel configuration for all the a...
Definition: gpadc/v0/gpadc.h:348
GPADC_init
void GPADC_init(void)
This function initializes the GPADC module.
GPADC_TRIG_SRC_MSS_RTIB_INT1
@ GPADC_TRIG_SRC_MSS_RTIB_INT1
0x0E - MSS_RTIB_INT1
Definition: gpadc/v0/gpadc.h:225
GPADCREG_REG13
Register13 Offset 0x034.
Definition: gpadc/v0/gpadc.h:782
GPADC_ParamInfoType::b32_Val
uint32_t b32_Val
Definition: gpadc/v0/gpadc.h:439
U_GPADCREG_REG4::b8_PktRamBaseAddrCp3
uint32_t b8_PktRamBaseAddrCp3
Definition: gpadc/v0/gpadc.h:684
GPADC_ChannelConfigType::collectSamples
uint8_t collectSamples
Number of samples to be collected for conversion per each input channel.
Definition: gpadc/v0/gpadc.h:389
GPADCREG_REG1::b7_Nu1
uint32_t b7_Nu1
Definition: gpadc/v0/gpadc.h:638
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b1_VrefExtCtrl
uint32_t b1_VrefExtCtrl
Definition: gpadc/v0/gpadc.h:607
MSS_TOPRCM_ANA_REG_TW_ANA_TMUX_CTRL_LOWV_REG::b1_AnaTestEn
uint32_t b1_AnaTestEn
Definition: gpadc/v0/gpadc.h:579
GPADC_CfgAndParamValuesType::TotalTime
uint16_t TotalTime
Time in unit of 100ns = CollectSamples*16 + SkipSamples.
Definition: gpadc/v0/gpadc.h:925
GPADC_TempSensMuxType::collectSamples
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
@ GPADC_TRIG_SRC_GPIO_1
0x01 - GPIO_1
Definition: gpadc/v0/gpadc.h:199
GPADC_MEAS_EXT_CH3
@ GPADC_MEAS_EXT_CH3
0x2 - Channel 3
Definition: gpadc/v0/gpadc.h:267
GPADCREG_REG1
Register1 Offset 0x004.
Definition: gpadc/v0/gpadc.h:636
GPADC_CONV_DONE
@ GPADC_CONV_DONE
GPADC conversion done.
Definition: gpadc/v0/gpadc.h:292
GPADC_TRIG_SRC_RSS_CSI2A_SOF_INT1
@ GPADC_TRIG_SRC_RSS_CSI2A_SOF_INT1
0x06 - RSS_CSI2A_SOF_INT1
Definition: gpadc/v0/gpadc.h:209
GPADCREG_REG15::b10_MaxGpadc
uint32_t b10_MaxGpadc
Definition: gpadc/v0/gpadc.h:804
U_GPADCREG_REG3::b32_Reg
uint32_t b32_Reg
bits 31: 0
Definition: gpadc/v0/gpadc.h:670
GPADC_ChannelConfigType::isConfigured
Bool isConfigured
GPADC driver considers channels configuration passed to the driver by the application only if this fl...
Definition: gpadc/v0/gpadc.h:380
T_GPADC_REGS::r_Reg10
GPADCREG_REG10 r_Reg10
Definition: gpadc/v0/gpadc.h:888
GPADC_channelsGroupSelectType::b16_Val
uint16_t b16_Val
bits 16: 0
Definition: gpadc/v0/gpadc.h:464
T_GPADC_REGS::r_Reg12
GPADCREG_REG12 r_Reg12
Definition: gpadc/v0/gpadc.h:890
U_GPADCREG_REG4::b8_PktRamBaseAddrCp0
uint32_t b8_PktRamBaseAddrCp0
Definition: gpadc/v0/gpadc.h:681
GPADC_CfgAndParamValuesType::BuffConfigValue
uint32_t BuffConfigValue
Buffer configuration value.
Definition: gpadc/v0/gpadc.h:921
GPADC_MEAS_EXT_CH2
@ GPADC_MEAS_EXT_CH2
0x1 - Channel 2
Definition: gpadc/v0/gpadc.h:265
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b1_AdcReset
uint32_t b1_AdcReset
Definition: gpadc/v0/gpadc.h:600
GPADC_ParamInfoType::b8_CollectSamples
uint32_t b8_CollectSamples
Definition: gpadc/v0/gpadc.h:433
GPADC_TRIG_SRC_GPIO_2
@ GPADC_TRIG_SRC_GPIO_2
0x02 - GPIO_2
Definition: gpadc/v0/gpadc.h:201
GPADCREG_REG17
Register17 Offset 0x044.
Definition: gpadc/v0/gpadc.h:823
GPADC_TRIGG_SRC_HW
@ GPADC_TRIGG_SRC_HW
Conversion is triggered by a hardware event.
Definition: gpadc/v0/gpadc.h:254
MSS_TOPRCM_ANA_REG_REFSYS_SPARE_REG_LOWV_REG::b30_Reserved1
uint32_t b30_Reserved1
Definition: gpadc/v0/gpadc.h:588
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b5_RtrimTw_4_0
uint32_t b5_RtrimTw_4_0
Definition: gpadc/v0/gpadc.h:611
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG
RCM Analog register TW Control Registers.
Definition: gpadc/v0/gpadc.h:597
GPADC_ResultType::Min
uint16_t Min
Minimum of ADC samples.
Definition: gpadc/v0/gpadc.h:936
T_GPADC_REGS::r_Reg0
GPADCREG_REG0 r_Reg0
Definition: gpadc/v0/gpadc.h:881
GPADC_MEAS_EXT_CH5
@ GPADC_MEAS_EXT_CH5
0x4 - Channel 5
Definition: gpadc/v0/gpadc.h:271
U_GPADCREG_REG3::b8_CollectSamplesIfm
uint32_t b8_CollectSamplesIfm
Definition: gpadc/v0/gpadc.h:665
GPADCREG_REG20
Register21 Offset 0x050.
Definition: gpadc/v0/gpadc.h:853
GPADC_ChannelConfigType::channelConfigValue
uint32_t channelConfigValue
Unique muxing config value per channel.
Definition: gpadc/v0/gpadc.h:366
GPADC_DriverObjectType::ResultBufferPtr
uint16_t * ResultBufferPtr
Pointer to store conversion results.
Definition: gpadc/v0/gpadc.h:502
GPADCREG_REG9::b32_ParamNotUsedTxEna1Off
uint32_t b32_ParamNotUsedTxEna1Off
Definition: gpadc/v0/gpadc.h:742
GPADCREG_REG5::b8_PktRamBaseAddrCp6
uint32_t b8_PktRamBaseAddrCp6
Definition: gpadc/v0/gpadc.h:697
GPADCREG_REG12
Register12 Offset 0x030.
Definition: gpadc/v0/gpadc.h:768
GPADCREG_REG7::b8_PktRamBaseAddrCp14
uint32_t b8_PktRamBaseAddrCp14
Definition: gpadc/v0/gpadc.h:721
GPADC_ResultType::Max
uint16_t Max
Maximum of ADC samples.
Definition: gpadc/v0/gpadc.h:938
T_GPADC_REGS::r_Reg9
GPADCREG_REG9 r_Reg9
Definition: gpadc/v0/gpadc.h:887
GPADCREG_REG1::b7_Nu3
uint32_t b7_Nu3
Definition: gpadc/v0/gpadc.h:642
GPADCREG_REG14
Register14 Offset 0x038.
Definition: gpadc/v0/gpadc.h:791
GPADCREG_REG7::b8_PktRamBaseAddrCp15
uint32_t b8_PktRamBaseAddrCp15
Definition: gpadc/v0/gpadc.h:722
T_GPADC_REGS::r_Reg14
GPADCREG_REG14 r_Reg14
Definition: gpadc/v0/gpadc.h:892
GPADCREG_REG7::b8_PktRamBaseAddrCp12
uint32_t b8_PktRamBaseAddrCp12
Definition: gpadc/v0/gpadc.h:719
MAX_GPADC_MEAS_SOURCES
@ MAX_GPADC_MEAS_SOURCES
0x9 - MAX_CHANNELS
Definition: gpadc/v0/gpadc.h:281
GPADCREG_REG6
Register6 Offset 0x018.
Definition: gpadc/v0/gpadc.h:706
GPADC_DIG_HWA_TEMP_SENSOR
@ GPADC_DIG_HWA_TEMP_SENSOR
0x1 - DIG_HWA_TEMP_SENSOR
Definition: gpadc/v0/gpadc.h:330
T_GPADC_REGS::r_Reg22
GPADCREG_REG22 r_Reg22
Definition: gpadc/v0/gpadc.h:900
GPADCREG_REG8::b8_GpadcClkDiv
uint32_t b8_GpadcClkDiv
Definition: gpadc/v0/gpadc.h:731
GPADC_TempSensValueType::DigDspTempValue
int16_t DigDspTempValue
Digital Dsp Temperature value.
Definition: gpadc/v0/gpadc.h:533
GPADC_ResultType
GPADC returning min, avg, max and sum.
Definition: gpadc/v0/gpadc.h:932
GPADCREG_REG0
Register Offset 0x000.
Definition: gpadc/v0/gpadc.h:621
GPADCREG_REG18::b1_GpadcIfmDoneClr
uint32_t b1_GpadcIfmDoneClr
Definition: gpadc/v0/gpadc.h:834
GPADCREG_REG1::b1_GpadcStartBypVal
uint32_t b1_GpadcStartBypVal
Definition: gpadc/v0/gpadc.h:643
T_GPADC_REGS::r_Reg15
GPADCREG_REG15 r_Reg15
Definition: gpadc/v0/gpadc.h:893
GPADC_TRIG_SRC_HW_Sync_FE2
@ GPADC_TRIG_SRC_HW_Sync_FE2
0x0A - HW_Sync_FE2
Definition: gpadc/v0/gpadc.h:217
GPADC_getStatus
GPADC_StatusType GPADC_getStatus(void)
Gets the status of GPADC Driver HW unit.
MSS_TOPRCM_ANA_REG_REFSYS_SPARE_REG_LOWV_REG::b1_AnaogTestTmuxEsdCtrl
uint32_t b1_AnaogTestTmuxEsdCtrl
Definition: gpadc/v0/gpadc.h:589
GPADC_BUSY
@ 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
GPADCREG_REG7::b8_PktRamBaseAddrCp13
uint32_t b8_PktRamBaseAddrCp13
Definition: gpadc/v0/gpadc.h:720
GPADCREG_REG12::b7_Nu1
uint32_t b7_Nu1
Definition: gpadc/v0/gpadc.h:770
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b1_AdcRefBufEn
uint32_t b1_AdcRefBufEn
Definition: gpadc/v0/gpadc.h:602
GPADC_DriverChannelConfigType::isChannelConfigured
Bool isChannelConfigured
true if channel is configured
Definition: gpadc/v0/gpadc.h:482
MSS_GPADC_CLK_DIV_VAL_REG
GPADC Clock Divider Value register.
Definition: gpadc/v0/gpadc.h:555
GPADC_DriverChannelConfigType::channelParamValue
GPADC_ParamInfoType channelParamValue
Channel Param type.
Definition: gpadc/v0/gpadc.h:480
GPADCREG_REG15::b6_Nu2
uint32_t b6_Nu2
Definition: gpadc/v0/gpadc.h:805
T_GPADC_REGS::r_Reg3
U_GPADCREG_REG3 r_Reg3
Definition: gpadc/v0/gpadc.h:884
GPADC_DriverChannelConfigType
GPADC Driver Channel configuration.
Definition: gpadc/v0/gpadc.h:474
GPADCREG_REG22::b32_SpareWr1
uint32_t b32_SpareWr1
Definition: gpadc/v0/gpadc.h:872
GPADC_ChannelConfigType::skipSamples
uint32_t skipSamples
Number of samples to be skipped before collecting samples per input channel.
Definition: gpadc/v0/gpadc.h:387
GPADCREG_REG9
Register9 Offset 0x024.
Definition: gpadc/v0/gpadc.h:741
GPADCREG_REG8::b1_GpadcClkEnable
uint32_t b1_GpadcClkEnable
Definition: gpadc/v0/gpadc.h:732
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b1_AdcInpBufEn
uint32_t b1_AdcInpBufEn
Definition: gpadc/v0/gpadc.h:601
GPADC_MEAS_EXT_CH1
@ GPADC_MEAS_EXT_CH1
0x0 - Channel 1
Definition: gpadc/v0/gpadc.h:263
GPADC_StatusType
GPADC_StatusType
Current status of the conversion of the requested GPADC HW unit.
Definition: gpadc/v0/gpadc.h:304
MSS_CTRL_MSS_GPADC_MEM_INIT_REG
GPADC Memory initialize registers.
Definition: gpadc/v0/gpadc.h:907
GPADCREG_REG18
Register19 Offset 0x048.
Definition: gpadc/v0/gpadc.h:833
GPADC_open
int32_t GPADC_open(GPADC_ConfigType *CfgPtr)
Initializes the GPADC Driver with the channels configuration.
GPADCREG_REG5::b8_PktRamBaseAddrCp7
uint32_t b8_PktRamBaseAddrCp7
Definition: gpadc/v0/gpadc.h:698
GPADC_readTemperature
int32_t GPADC_readTemperature(uint8_t numAverages, uint8_t numChannels, GPADC_TempSensValueType *tempValuesPtr)
Read the temperature sensor value.
GPADC_stopConversion
int32_t GPADC_stopConversion(void)
Stops the GPADC conversion.
GPADC_TRIG_SRC_RSS_CSI2A_SOF_INT
@ GPADC_TRIG_SRC_RSS_CSI2A_SOF_INT
0x07 - RSS_CSI2A_SOF_INT
Definition: gpadc/v0/gpadc.h:211
GPADCREG_REG13::b32_SpareWr2
uint32_t b32_SpareWr2
Definition: gpadc/v0/gpadc.h:783
HwiP.h
MSS_GPADC_RST_CTRL_REG::b3_Assert
uint32_t b3_Assert
Definition: gpadc/v0/gpadc.h:546
GPADCREG_REG1::b7_Nu4
uint32_t b7_Nu4
Definition: gpadc/v0/gpadc.h:644
MSS_TOPRCM_ANA_REG_TW_ANA_TMUX_CTRL_LOWV_REG::b1_ClkTmuxEsdCtrl
uint32_t b1_ClkTmuxEsdCtrl
Definition: gpadc/v0/gpadc.h:578
GPADC_ParamInfoType::b9_Reserved
uint32_t b9_Reserved
Definition: gpadc/v0/gpadc.h:436
GPADCREG_REG5::b8_PktRamBaseAddrCp4
uint32_t b8_PktRamBaseAddrCp4
Definition: gpadc/v0/gpadc.h:695
GPADC_ConfigType::triggSrc
GPADC_TriggerSourceType triggSrc
Conversion trigger SW/HW trigger selection.
Definition: gpadc/v0/gpadc.h:415
GPADC_ChannelConfigType::channelID
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
MSS_GPADC_CLK_GATE_REG
GPADC Clock Gate register.
Definition: gpadc/v0/gpadc.h:566
GPADC_ParamInfoType::b7_SkipSamples
uint32_t b7_SkipSamples
Definition: gpadc/v0/gpadc.h:435
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b1_VinExtCtrl
uint32_t b1_VinExtCtrl
Definition: gpadc/v0/gpadc.h:608
GPADC_DriverObjectType::triggSrc
GPADC_TriggerSourceType triggSrc
Trigger Source Type.
Definition: gpadc/v0/gpadc.h:496
GPADC_TRIG_SRC_GPIO_3
@ GPADC_TRIG_SRC_GPIO_3
0x03 - GPIO_3
Definition: gpadc/v0/gpadc.h:203
GPADC_ConfigType
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
@ GPADC_IDLE
The conversion of the specified group has not been started. No result is available.
Definition: gpadc/v0/gpadc.h:309
U_GPADCREG_REG4::b8_PktRamBaseAddrCp2
uint32_t b8_PktRamBaseAddrCp2
Definition: gpadc/v0/gpadc.h:683
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b1_AdcStartConv
uint32_t b1_AdcStartConv
Definition: gpadc/v0/gpadc.h:599
GPADCREG_REG5
Register5 Offset 0x014.
Definition: gpadc/v0/gpadc.h:694
MSS_GPADC_CLK_DIV_VAL_REG::b8_Nu1
uint32_t b8_Nu1
Definition: gpadc/v0/gpadc.h:558
GPADCREG_REG19::b16_GpadcSamplesFrame
uint32_t b16_GpadcSamplesFrame
Definition: gpadc/v0/gpadc.h:844
GPADCREG_REG0::b4_Nu2
uint32_t b4_Nu2
Definition: gpadc/v0/gpadc.h:626
GPADC_ResultType::Sum
uint32_t Sum
Sum of ADC samples.
Definition: gpadc/v0/gpadc.h:940
U_GPADCREG_REG3::b8_ParamValIfm
uint32_t b8_ParamValIfm
Definition: gpadc/v0/gpadc.h:664
T_GPADC_REGS::r_Reg17
GPADCREG_REG17 r_Reg17
Definition: gpadc/v0/gpadc.h:895
GPADCREG_REG21::b32_SpareRd2
uint32_t b32_SpareRd2
Definition: gpadc/v0/gpadc.h:863
GPADCREG_REG0::b1_GpadcDebugModeEnable
uint32_t b1_GpadcDebugModeEnable
Definition: gpadc/v0/gpadc.h:627
GPADC_TempSensMuxType::skipSamples
uint32_t skipSamples
Number of samples to be skipped before collecting samples per input channel.
Definition: gpadc/v0/gpadc.h:521
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b1_TsDiffInpBufEn
uint32_t b1_TsDiffInpBufEn
Definition: gpadc/v0/gpadc.h:604
GPADCREG_REG1::b1_GpadcInit
uint32_t b1_GpadcInit
Definition: gpadc/v0/gpadc.h:639
GPADCREG_REG6::b8_PktRamBaseAddrCp10
uint32_t b8_PktRamBaseAddrCp10
Definition: gpadc/v0/gpadc.h:709
GPADC_setupResultBuffer
int32_t GPADC_setupResultBuffer(uint16_t *ResBufferPtr)
Initializes GPADC driver with the group specific result buffer start address where the conversion res...
MSS_TOPRCM_ANA_REG_TW_ANA_TMUX_CTRL_LOWV_REG
Analog Mux Control Registers.
Definition: gpadc/v0/gpadc.h:576
T_GPADC_REGS
MSS_GPADC_REG_REGS.
Definition: gpadc/v0/gpadc.h:880
GPADCREG_REG0::b1_GpadcFsmClkEnable
uint32_t b1_GpadcFsmClkEnable
Definition: gpadc/v0/gpadc.h:624
GPADC_ONESHOT_CONV_MODE
@ GPADC_ONESHOT_CONV_MODE
0x00 - IFM - Inter Frame Monitoring/One Shot Conversion Mode
Definition: gpadc/v0/gpadc.h:238
GPADCREG_REG21
Register22 Offset 0x054.
Definition: gpadc/v0/gpadc.h:862
GPADC_TempSensorSrcType
GPADC_TempSensorSrcType
Enumeration which describes the temperature sensors available for GPADC measurement.
Definition: gpadc/v0/gpadc.h:326
GPADCREG_REG1::b7_Nu2
uint32_t b7_Nu2
Definition: gpadc/v0/gpadc.h:640
GPADC_deinit
void GPADC_deinit(void)
This function de-initializes the GPADC module.
GPADCREG_REG8
Register8 Offset 0x020.
Definition: gpadc/v0/gpadc.h:730
T_GPADC_REGS::r_Reg20
GPADCREG_REG20 r_Reg20
Definition: gpadc/v0/gpadc.h:898
GPADCREG_REG6::b8_PktRamBaseAddrCp9
uint32_t b8_PktRamBaseAddrCp9
Definition: gpadc/v0/gpadc.h:708
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b12_Reserved1
uint32_t b12_Reserved1
Definition: gpadc/v0/gpadc.h:612
GPADCREG_REG12::b8_DramRepairedBit
uint32_t b8_DramRepairedBit
Definition: gpadc/v0/gpadc.h:774
GPADC_TempSensValueType::DigHwaTempValue
int16_t DigHwaTempValue
Digital Hwa Temperature value.
Definition: gpadc/v0/gpadc.h:535
GPADCREG_REG8::b23_Nu
uint32_t b23_Nu
Definition: gpadc/v0/gpadc.h:733
GPADCREG_REG15
Register15 Offset 0x03C.
Definition: gpadc/v0/gpadc.h:801
MSS_GPADC_RST_CTRL_REG
GPADC Reset Control register.
Definition: gpadc/v0/gpadc.h:545
GPADCREG_REG16::b1_GpadcMemInitDoneStat
uint32_t b1_GpadcMemInitDoneStat
Definition: gpadc/v0/gpadc.h:814
GPADC_channelsGroupSelectType::b7_Reserved
uint16_t b7_Reserved
Reserved.
Definition: gpadc/v0/gpadc.h:461
T_GPADC_REGS::r_Reg19
GPADCREG_REG19 r_Reg19
Definition: gpadc/v0/gpadc.h:897
GPADC_TriggerSourceType
GPADC_TriggerSourceType
Enumeration which describes the trigger sources for GPADC CTM mode conversion.
Definition: gpadc/v0/gpadc.h:250
GPADC_DIG_HSM_TEMP_SENSOR
@ GPADC_DIG_HSM_TEMP_SENSOR
0x2 - DIG_HSM_TEMP_SENSOR
Definition: gpadc/v0/gpadc.h:332
GPADCREG_REG12::b1_DramEccEnable
uint32_t b1_DramEccEnable
Definition: gpadc/v0/gpadc.h:769
GPADC_DriverObjectType::driverStatus
GPADC_StatusType driverStatus
Driver Status.
Definition: gpadc/v0/gpadc.h:498
GPADC_ConvResultType
GPADC_ConvResultType
Enumeration which describes the error types of GPADC conversion.
Definition: gpadc/v0/gpadc.h:288
GPADC_close
int32_t GPADC_close(void)
This function closes the GPADC module.
GPADC_startSingleChannelConversion
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
GPADC_CtmTrigSrcType
Enumeration which describes the trigger sources for GPADC CTM mode conversion.
Definition: gpadc/v0/gpadc.h:195
MSS_GPADC_CLK_DIV_VAL_REG::b24_Clkdivr
uint32_t b24_Clkdivr
MSS_GPADC_CLK_DIV_VAL_REG bits structure.
Definition: gpadc/v0/gpadc.h:557
GPADC_channelsGroupSelectType
Available <0-8> external sources/channels could be selected by using bitmap of 9 bits in LSB....
Definition: gpadc/v0/gpadc.h:450
GPADCREG_REG10
Register10 Offset 0x028.
Definition: gpadc/v0/gpadc.h:750
T_GPADC_REGS::r_Reg21
GPADCREG_REG21 r_Reg21
Definition: gpadc/v0/gpadc.h:899
GPADC_ChannelConfigType::channelParamValue
uint8_t channelParamValue
Channel parameters including channel paramVal(subsystem-type), collect samples and skip *samples.
Definition: gpadc/v0/gpadc.h:372
GPADCREG_REG11::b32_ParamNotUsedTxEna3Off
uint32_t b32_ParamNotUsedTxEna3Off
Definition: gpadc/v0/gpadc.h:760
MSS_GPADC_RST_CTRL_REG::b29_Nu1
uint32_t b29_Nu1
Definition: gpadc/v0/gpadc.h:547
GPADCREG_REG16::b31_Nu
uint32_t b31_Nu
Definition: gpadc/v0/gpadc.h:815
GPADCREG_REG12::b8_DramEccErrAddr
uint32_t b8_DramEccErrAddr
Definition: gpadc/v0/gpadc.h:773
T_GPADC_REGS::r_Reg11
GPADCREG_REG11 r_Reg11
Definition: gpadc/v0/gpadc.h:889
MSS_CTRL_MSS_GPADC_MEM_INIT_REG::b31_Reserved
uint32_t b31_Reserved
Definition: gpadc/v0/gpadc.h:909
GPADC_DIG_DSP_TEMP_SENSOR
@ GPADC_DIG_DSP_TEMP_SENSOR
0x0 - DIG_DSP_TEMP_SENSOR
Definition: gpadc/v0/gpadc.h:328
GPADCREG_REG17::b1_GpadcIfmDoneStatus
uint32_t b1_GpadcIfmDoneStatus
Definition: gpadc/v0/gpadc.h:824
GPADCREG_REG12::b7_Nu2
uint32_t b7_Nu2
Definition: gpadc/v0/gpadc.h:772
GPADC_TempSensValueType
The Temperature sensor values structure.
Definition: gpadc/v0/gpadc.h:531
GPADCREG_REG17::b31_Nu
uint32_t b31_Nu
Definition: gpadc/v0/gpadc.h:825
GPADC_DriverObjectType::convMode
GPADC_ChannelConvModeType convMode
Operation mode of the group.
Definition: gpadc/v0/gpadc.h:494
GPADC_CONTINUOUS_CONV_MODE
@ GPADC_CONTINUOUS_CONV_MODE
0x01 - CTM - Continuous Time Monitoring/ Continuous conversion Mode
Definition: gpadc/v0/gpadc.h:241
GPADCREG_REG20::b32_SpareRd1
uint32_t b32_SpareRd1
Definition: gpadc/v0/gpadc.h:854
GPADCREG_REG14::b20_SumIfm
uint32_t b20_SumIfm
Definition: gpadc/v0/gpadc.h:792
GPADCREG_REG10::b32_ParamNotUsedTxEna2Off
uint32_t b32_ParamNotUsedTxEna2Off
Definition: gpadc/v0/gpadc.h:751
GPADC_ParamInfoType
Configuration Parameters for GPADC in IFM mode ParamValue : Value to be programmed in one hot reg Col...
Definition: gpadc/v0/gpadc.h:428
MSS_GPADC_CLK_GATE_REG::b3_Gated
uint32_t b3_Gated
Definition: gpadc/v0/gpadc.h:567
GPADCREG_REG12::b1_DramEccErrClr
uint32_t b1_DramEccErrClr
Definition: gpadc/v0/gpadc.h:771
GPADCREG_REG19
Register20 Offset 0x04C.
Definition: gpadc/v0/gpadc.h:843
MSS_TOPRCM_ANA_REG_REFSYS_SPARE_REG_LOWV_REG
Analog Refsys spare Registers.
Definition: gpadc/v0/gpadc.h:587
GPADC_CfgAndParamValuesType::ParamInfo
GPADC_ParamInfoType ParamInfo
ParamInfo.
Definition: gpadc/v0/gpadc.h:923
GPADC_MEAS_EXT_CH9
@ GPADC_MEAS_EXT_CH9
0x8 - Channel 9
Definition: gpadc/v0/gpadc.h:279
GPADC_MEAS_EXT_CH7
@ GPADC_MEAS_EXT_CH7
0x6 - Channel 7
Definition: gpadc/v0/gpadc.h:275
U_GPADCREG_REG3
Register3 Offset 0x00C.
Definition: gpadc/v0/gpadc.h:661
GPADCREG_REG0::b6_Nu1
uint32_t b6_Nu1
Definition: gpadc/v0/gpadc.h:623
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b1_IforceExtCtrl
uint32_t b1_IforceExtCtrl
Definition: gpadc/v0/gpadc.h:606
GPADC_TempSensMuxType::channelParamValue
uint8_t channelParamValue
Channel parameters including channel paramVal(subsystem-type), collect samples and skip samples.
Definition: gpadc/v0/gpadc.h:516
GPADCREG_REG6::b8_PktRamBaseAddrCp11
uint32_t b8_PktRamBaseAddrCp11
Definition: gpadc/v0/gpadc.h:710
GPADCREG_REG6::b8_PktRamBaseAddrCp8
uint32_t b8_PktRamBaseAddrCp8
Definition: gpadc/v0/gpadc.h:707
GPADC_ChannelConfigType::useLuTable
Bool useLuTable
TRUE: Use predefined lookup table to load number of skipSamples and collectSamples configuration for ...
Definition: gpadc/v0/gpadc.h:397
GPADC_TempSensValueType::DigHsmTempValue
int16_t DigHsmTempValue
Digital Hsm Temperature value.
Definition: gpadc/v0/gpadc.h:537
GPADC_TRIG_SRC_MSS_RTIA_INT1
@ GPADC_TRIG_SRC_MSS_RTIA_INT1
0x0D - MSS_RTIA_INT1
Definition: gpadc/v0/gpadc.h:223
GPADC_CfgAndParamValuesType::UnbuffConfigValue
uint32_t UnbuffConfigValue
Unbuff configuration value.
Definition: gpadc/v0/gpadc.h:919
GPADCREG_REG22
Register22 Offset 0x058.
Definition: gpadc/v0/gpadc.h:871
GPADCREG_REG0::b2_DcbistMode
uint32_t b2_DcbistMode
Definition: gpadc/v0/gpadc.h:622
GPADC_CONV_CHANNEL_CONFIG_MISSING
@ 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
@ GPADC_TRIG_SRC_RSS_CSI2A_SOF_INT0
0x05 - RSS_CSI2A_SOF_INT0
Definition: gpadc/v0/gpadc.h:207
GPADCREG_REG7
Register7 Offset 0x01C.
Definition: gpadc/v0/gpadc.h:718
U_GPADCREG_REG3::b7_SkipSamplesIfm
uint32_t b7_SkipSamplesIfm
Definition: gpadc/v0/gpadc.h:666
GPADC_channelsGroupSelectType::b9_ChannelSelectionBitMap
uint16_t b9_ChannelSelectionBitMap
Channel selection bitmap for triggering group GPADC conversion and getting results for the specified ...
Definition: gpadc/v0/gpadc.h:459
U_GPADCREG_REG3::b9_Nu
uint32_t b9_Nu
Definition: gpadc/v0/gpadc.h:667
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b1_AdcEn
uint32_t b1_AdcEn
Definition: gpadc/v0/gpadc.h:598
GPADC_ResultType::Avg
uint16_t Avg
Average of ADC samples.
Definition: gpadc/v0/gpadc.h:934
GPADCREG_REG16
Register16 Offset 0x040.
Definition: gpadc/v0/gpadc.h:813
U_GPADCREG_REG4::b32_Reg
uint32_t b32_Reg
Definition: gpadc/v0/gpadc.h:686
T_GPADC_REGS::r_Reg13
GPADCREG_REG13 r_Reg13
Definition: gpadc/v0/gpadc.h:891
GPADC_DriverChannelConfigType::isChannelBufferedMode
Bool isChannelBufferedMode
true if Channel is Buffer mode
Definition: gpadc/v0/gpadc.h:476
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b1_AnaTmuxBufEn
uint32_t b1_AnaTmuxBufEn
Definition: gpadc/v0/gpadc.h:610
GPADCREG_REG1::b1_GpadcTrigger
uint32_t b1_GpadcTrigger
Definition: gpadc/v0/gpadc.h:637
U_MSS_TOPRCM_ANA_REG_TW_CTRL_REG_LOWV_REG::b1_TsSeInpBufEn
uint32_t b1_TsSeInpBufEn
Definition: gpadc/v0/gpadc.h:605
GPADCREG_REG5::b8_PktRamBaseAddrCp5
uint32_t b8_PktRamBaseAddrCp5
Definition: gpadc/v0/gpadc.h:696
GPADC_MEAS_EXT_CH6
@ GPADC_MEAS_EXT_CH6
0x5 - Channel 6
Definition: gpadc/v0/gpadc.h:273
GPADC_COMPLETED
@ 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
T_GPADC_REGS::r_Reg2
GPADCREG_REG2 r_Reg2
Definition: gpadc/v0/gpadc.h:883
GPADCREG_REG0::b15_Nu3
uint32_t b15_Nu3
Definition: gpadc/v0/gpadc.h:628
GPADC_DriverObjectType
GPADC Driver Object configuration.
Definition: gpadc/v0/gpadc.h:492
GPADCREG_REG2
Register2 Offset 0x008.
Definition: gpadc/v0/gpadc.h:652
GPADCREG_REG19::b16_Nu
uint32_t b16_Nu
Definition: gpadc/v0/gpadc.h:845
GPADC_TRIG_SRC_HW_Sync_FE1
@ GPADC_TRIG_SRC_HW_Sync_FE1
0x09 - HW_Sync_FE1
Definition: gpadc/v0/gpadc.h:215