12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067 |
- //###########################################################################
- //
- // FILE: F2837xD_adc.h
- //
- // TITLE: ADC Register Definitions.
- //
- //###########################################################################
- // $TI Release: F2837xD Support Library v3.05.00.00 $
- // $Release Date: Tue Jun 26 03:15:23 CDT 2018 $
- // $Copyright:
- // Copyright (C) 2013-2018 Texas Instruments Incorporated - http://www.ti.com/
- //
- // Redistribution and use in source and binary forms, with or without
- // modification, are permitted provided that the following conditions
- // are met:
- //
- // Redistributions of source code must retain the above copyright
- // notice, this list of conditions and the following disclaimer.
- //
- // Redistributions in binary form must reproduce the above copyright
- // notice, this list of conditions and the following disclaimer in the
- // documentation and/or other materials provided with the
- // distribution.
- //
- // Neither the name of Texas Instruments Incorporated nor the names of
- // its contributors may be used to endorse or promote products derived
- // from this software without specific prior written permission.
- //
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- // $
- //###########################################################################
- #ifndef __F2837xD_ADC_H__
- #define __F2837xD_ADC_H__
- #ifdef __cplusplus
- extern "C" {
- #endif
- //---------------------------------------------------------------------------
- // ADC Individual Register Bit Definitions:
- struct ADCCTL1_BITS { // bits description
- Uint16 rsvd1:2; // 1:0 Reserved
- Uint16 INTPULSEPOS:1; // 2 ADC Interrupt Pulse Position
- Uint16 rsvd2:4; // 6:3 Reserved
- Uint16 ADCPWDNZ:1; // 7 ADC Power Down
- Uint16 ADCBSYCHN:4; // 11:8 ADC Busy Channel
- Uint16 rsvd3:1; // 12 Reserved
- Uint16 ADCBSY:1; // 13 ADC Busy
- Uint16 rsvd4:2; // 15:14 Reserved
- };
- union ADCCTL1_REG {
- Uint16 all;
- struct ADCCTL1_BITS bit;
- };
- struct ADCCTL2_BITS { // bits description
- Uint16 PRESCALE:4; // 3:0 ADC Clock Prescaler
- Uint16 rsvd1:2; // 5:4 Reserved
- Uint16 RESOLUTION:1; // 6 SOC Conversion Resolution
- Uint16 SIGNALMODE:1; // 7 SOC Signaling Mode
- Uint16 rsvd2:5; // 12:8 Reserved
- Uint16 rsvd3:3; // 15:13 Reserved
- };
- union ADCCTL2_REG {
- Uint16 all;
- struct ADCCTL2_BITS bit;
- };
- struct ADCBURSTCTL_BITS { // bits description
- Uint16 BURSTTRIGSEL:6; // 5:0 SOC Burst Trigger Source Select
- Uint16 rsvd1:2; // 7:6 Reserved
- Uint16 BURSTSIZE:4; // 11:8 SOC Burst Size Select
- Uint16 rsvd2:3; // 14:12 Reserved
- Uint16 BURSTEN:1; // 15 SOC Burst Mode Enable
- };
- union ADCBURSTCTL_REG {
- Uint16 all;
- struct ADCBURSTCTL_BITS bit;
- };
- struct ADCINTFLG_BITS { // bits description
- Uint16 ADCINT1:1; // 0 ADC Interrupt 1 Flag
- Uint16 ADCINT2:1; // 1 ADC Interrupt 2 Flag
- Uint16 ADCINT3:1; // 2 ADC Interrupt 3 Flag
- Uint16 ADCINT4:1; // 3 ADC Interrupt 4 Flag
- Uint16 rsvd1:12; // 15:4 Reserved
- };
- union ADCINTFLG_REG {
- Uint16 all;
- struct ADCINTFLG_BITS bit;
- };
- struct ADCINTFLGCLR_BITS { // bits description
- Uint16 ADCINT1:1; // 0 ADC Interrupt 1 Flag Clear
- Uint16 ADCINT2:1; // 1 ADC Interrupt 2 Flag Clear
- Uint16 ADCINT3:1; // 2 ADC Interrupt 3 Flag Clear
- Uint16 ADCINT4:1; // 3 ADC Interrupt 4 Flag Clear
- Uint16 rsvd1:12; // 15:4 Reserved
- };
- union ADCINTFLGCLR_REG {
- Uint16 all;
- struct ADCINTFLGCLR_BITS bit;
- };
- struct ADCINTOVF_BITS { // bits description
- Uint16 ADCINT1:1; // 0 ADC Interrupt 1 Overflow Flags
- Uint16 ADCINT2:1; // 1 ADC Interrupt 2 Overflow Flags
- Uint16 ADCINT3:1; // 2 ADC Interrupt 3 Overflow Flags
- Uint16 ADCINT4:1; // 3 ADC Interrupt 4 Overflow Flags
- Uint16 rsvd1:12; // 15:4 Reserved
- };
- union ADCINTOVF_REG {
- Uint16 all;
- struct ADCINTOVF_BITS bit;
- };
- struct ADCINTOVFCLR_BITS { // bits description
- Uint16 ADCINT1:1; // 0 ADC Interrupt 1 Overflow Clear Bits
- Uint16 ADCINT2:1; // 1 ADC Interrupt 2 Overflow Clear Bits
- Uint16 ADCINT3:1; // 2 ADC Interrupt 3 Overflow Clear Bits
- Uint16 ADCINT4:1; // 3 ADC Interrupt 4 Overflow Clear Bits
- Uint16 rsvd1:12; // 15:4 Reserved
- };
- union ADCINTOVFCLR_REG {
- Uint16 all;
- struct ADCINTOVFCLR_BITS bit;
- };
- struct ADCINTSEL1N2_BITS { // bits description
- Uint16 INT1SEL:4; // 3:0 ADCINT1 EOC Source Select
- Uint16 rsvd1:1; // 4 Reserved
- Uint16 INT1E:1; // 5 ADCINT1 Interrupt Enable
- Uint16 INT1CONT:1; // 6 ADCINT1 Continuous Mode Enable
- Uint16 rsvd2:1; // 7 Reserved
- Uint16 INT2SEL:4; // 11:8 ADCINT2 EOC Source Select
- Uint16 rsvd3:1; // 12 Reserved
- Uint16 INT2E:1; // 13 ADCINT2 Interrupt Enable
- Uint16 INT2CONT:1; // 14 ADCINT2 Continuous Mode Enable
- Uint16 rsvd4:1; // 15 Reserved
- };
- union ADCINTSEL1N2_REG {
- Uint16 all;
- struct ADCINTSEL1N2_BITS bit;
- };
- struct ADCINTSEL3N4_BITS { // bits description
- Uint16 INT3SEL:4; // 3:0 ADCINT3 EOC Source Select
- Uint16 rsvd1:1; // 4 Reserved
- Uint16 INT3E:1; // 5 ADCINT3 Interrupt Enable
- Uint16 INT3CONT:1; // 6 ADCINT3 Continuous Mode Enable
- Uint16 rsvd2:1; // 7 Reserved
- Uint16 INT4SEL:4; // 11:8 ADCINT4 EOC Source Select
- Uint16 rsvd3:1; // 12 Reserved
- Uint16 INT4E:1; // 13 ADCINT4 Interrupt Enable
- Uint16 INT4CONT:1; // 14 ADCINT4 Continuous Mode Enable
- Uint16 rsvd4:1; // 15 Reserved
- };
- union ADCINTSEL3N4_REG {
- Uint16 all;
- struct ADCINTSEL3N4_BITS bit;
- };
- struct ADCSOCPRICTL_BITS { // bits description
- Uint16 SOCPRIORITY:5; // 4:0 SOC Priority
- Uint16 RRPOINTER:5; // 9:5 Round Robin Pointer
- Uint16 rsvd1:6; // 15:10 Reserved
- };
- union ADCSOCPRICTL_REG {
- Uint16 all;
- struct ADCSOCPRICTL_BITS bit;
- };
- struct ADCINTSOCSEL1_BITS { // bits description
- Uint16 SOC0:2; // 1:0 SOC0 ADC Interrupt Trigger Select
- Uint16 SOC1:2; // 3:2 SOC1 ADC Interrupt Trigger Select
- Uint16 SOC2:2; // 5:4 SOC2 ADC Interrupt Trigger Select
- Uint16 SOC3:2; // 7:6 SOC3 ADC Interrupt Trigger Select
- Uint16 SOC4:2; // 9:8 SOC4 ADC Interrupt Trigger Select
- Uint16 SOC5:2; // 11:10 SOC5 ADC Interrupt Trigger Select
- Uint16 SOC6:2; // 13:12 SOC6 ADC Interrupt Trigger Select
- Uint16 SOC7:2; // 15:14 SOC7 ADC Interrupt Trigger Select
- };
- union ADCINTSOCSEL1_REG {
- Uint16 all;
- struct ADCINTSOCSEL1_BITS bit;
- };
- struct ADCINTSOCSEL2_BITS { // bits description
- Uint16 SOC8:2; // 1:0 SOC8 ADC Interrupt Trigger Select
- Uint16 SOC9:2; // 3:2 SOC9 ADC Interrupt Trigger Select
- Uint16 SOC10:2; // 5:4 SOC10 ADC Interrupt Trigger Select
- Uint16 SOC11:2; // 7:6 SOC11 ADC Interrupt Trigger Select
- Uint16 SOC12:2; // 9:8 SOC12 ADC Interrupt Trigger Select
- Uint16 SOC13:2; // 11:10 SOC13 ADC Interrupt Trigger Select
- Uint16 SOC14:2; // 13:12 SOC14 ADC Interrupt Trigger Select
- Uint16 SOC15:2; // 15:14 SOC15 ADC Interrupt Trigger Select
- };
- union ADCINTSOCSEL2_REG {
- Uint16 all;
- struct ADCINTSOCSEL2_BITS bit;
- };
- struct ADCSOCFLG1_BITS { // bits description
- Uint16 SOC0:1; // 0 SOC0 Start of Conversion Flag
- Uint16 SOC1:1; // 1 SOC1 Start of Conversion Flag
- Uint16 SOC2:1; // 2 SOC2 Start of Conversion Flag
- Uint16 SOC3:1; // 3 SOC3 Start of Conversion Flag
- Uint16 SOC4:1; // 4 SOC4 Start of Conversion Flag
- Uint16 SOC5:1; // 5 SOC5 Start of Conversion Flag
- Uint16 SOC6:1; // 6 SOC6 Start of Conversion Flag
- Uint16 SOC7:1; // 7 SOC7 Start of Conversion Flag
- Uint16 SOC8:1; // 8 SOC8 Start of Conversion Flag
- Uint16 SOC9:1; // 9 SOC9 Start of Conversion Flag
- Uint16 SOC10:1; // 10 SOC10 Start of Conversion Flag
- Uint16 SOC11:1; // 11 SOC11 Start of Conversion Flag
- Uint16 SOC12:1; // 12 SOC12 Start of Conversion Flag
- Uint16 SOC13:1; // 13 SOC13 Start of Conversion Flag
- Uint16 SOC14:1; // 14 SOC14 Start of Conversion Flag
- Uint16 SOC15:1; // 15 SOC15 Start of Conversion Flag
- };
- union ADCSOCFLG1_REG {
- Uint16 all;
- struct ADCSOCFLG1_BITS bit;
- };
- struct ADCSOCFRC1_BITS { // bits description
- Uint16 SOC0:1; // 0 SOC0 Force Start of Conversion Bit
- Uint16 SOC1:1; // 1 SOC1 Force Start of Conversion Bit
- Uint16 SOC2:1; // 2 SOC2 Force Start of Conversion Bit
- Uint16 SOC3:1; // 3 SOC3 Force Start of Conversion Bit
- Uint16 SOC4:1; // 4 SOC4 Force Start of Conversion Bit
- Uint16 SOC5:1; // 5 SOC5 Force Start of Conversion Bit
- Uint16 SOC6:1; // 6 SOC6 Force Start of Conversion Bit
- Uint16 SOC7:1; // 7 SOC7 Force Start of Conversion Bit
- Uint16 SOC8:1; // 8 SOC8 Force Start of Conversion Bit
- Uint16 SOC9:1; // 9 SOC9 Force Start of Conversion Bit
- Uint16 SOC10:1; // 10 SOC10 Force Start of Conversion Bit
- Uint16 SOC11:1; // 11 SOC11 Force Start of Conversion Bit
- Uint16 SOC12:1; // 12 SOC12 Force Start of Conversion Bit
- Uint16 SOC13:1; // 13 SOC13 Force Start of Conversion Bit
- Uint16 SOC14:1; // 14 SOC14 Force Start of Conversion Bit
- Uint16 SOC15:1; // 15 SOC15 Force Start of Conversion Bit
- };
- union ADCSOCFRC1_REG {
- Uint16 all;
- struct ADCSOCFRC1_BITS bit;
- };
- struct ADCSOCOVF1_BITS { // bits description
- Uint16 SOC0:1; // 0 SOC0 Start of Conversion Overflow Flag
- Uint16 SOC1:1; // 1 SOC1 Start of Conversion Overflow Flag
- Uint16 SOC2:1; // 2 SOC2 Start of Conversion Overflow Flag
- Uint16 SOC3:1; // 3 SOC3 Start of Conversion Overflow Flag
- Uint16 SOC4:1; // 4 SOC4 Start of Conversion Overflow Flag
- Uint16 SOC5:1; // 5 SOC5 Start of Conversion Overflow Flag
- Uint16 SOC6:1; // 6 SOC6 Start of Conversion Overflow Flag
- Uint16 SOC7:1; // 7 SOC7 Start of Conversion Overflow Flag
- Uint16 SOC8:1; // 8 SOC8 Start of Conversion Overflow Flag
- Uint16 SOC9:1; // 9 SOC9 Start of Conversion Overflow Flag
- Uint16 SOC10:1; // 10 SOC10 Start of Conversion Overflow Flag
- Uint16 SOC11:1; // 11 SOC11 Start of Conversion Overflow Flag
- Uint16 SOC12:1; // 12 SOC12 Start of Conversion Overflow Flag
- Uint16 SOC13:1; // 13 SOC13 Start of Conversion Overflow Flag
- Uint16 SOC14:1; // 14 SOC14 Start of Conversion Overflow Flag
- Uint16 SOC15:1; // 15 SOC15 Start of Conversion Overflow Flag
- };
- union ADCSOCOVF1_REG {
- Uint16 all;
- struct ADCSOCOVF1_BITS bit;
- };
- struct ADCSOCOVFCLR1_BITS { // bits description
- Uint16 SOC0:1; // 0 SOC0 Clear Start of Conversion Overflow Bit
- Uint16 SOC1:1; // 1 SOC1 Clear Start of Conversion Overflow Bit
- Uint16 SOC2:1; // 2 SOC2 Clear Start of Conversion Overflow Bit
- Uint16 SOC3:1; // 3 SOC3 Clear Start of Conversion Overflow Bit
- Uint16 SOC4:1; // 4 SOC4 Clear Start of Conversion Overflow Bit
- Uint16 SOC5:1; // 5 SOC5 Clear Start of Conversion Overflow Bit
- Uint16 SOC6:1; // 6 SOC6 Clear Start of Conversion Overflow Bit
- Uint16 SOC7:1; // 7 SOC7 Clear Start of Conversion Overflow Bit
- Uint16 SOC8:1; // 8 SOC8 Clear Start of Conversion Overflow Bit
- Uint16 SOC9:1; // 9 SOC9 Clear Start of Conversion Overflow Bit
- Uint16 SOC10:1; // 10 SOC10 Clear Start of Conversion Overflow Bit
- Uint16 SOC11:1; // 11 SOC11 Clear Start of Conversion Overflow Bit
- Uint16 SOC12:1; // 12 SOC12 Clear Start of Conversion Overflow Bit
- Uint16 SOC13:1; // 13 SOC13 Clear Start of Conversion Overflow Bit
- Uint16 SOC14:1; // 14 SOC14 Clear Start of Conversion Overflow Bit
- Uint16 SOC15:1; // 15 SOC15 Clear Start of Conversion Overflow Bit
- };
- union ADCSOCOVFCLR1_REG {
- Uint16 all;
- struct ADCSOCOVFCLR1_BITS bit;
- };
- struct ADCSOC0CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC0 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC0 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC0 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC0CTL_REG {
- Uint32 all;
- struct ADCSOC0CTL_BITS bit;
- };
- struct ADCSOC1CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC1 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC1 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC1 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC1CTL_REG {
- Uint32 all;
- struct ADCSOC1CTL_BITS bit;
- };
- struct ADCSOC2CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC2 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC2 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC2 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC2CTL_REG {
- Uint32 all;
- struct ADCSOC2CTL_BITS bit;
- };
- struct ADCSOC3CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC3 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC3 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC3 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC3CTL_REG {
- Uint32 all;
- struct ADCSOC3CTL_BITS bit;
- };
- struct ADCSOC4CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC4 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC4 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC4 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC4CTL_REG {
- Uint32 all;
- struct ADCSOC4CTL_BITS bit;
- };
- struct ADCSOC5CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC5 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC5 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC5 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC5CTL_REG {
- Uint32 all;
- struct ADCSOC5CTL_BITS bit;
- };
- struct ADCSOC6CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC6 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC6 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC6 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC6CTL_REG {
- Uint32 all;
- struct ADCSOC6CTL_BITS bit;
- };
- struct ADCSOC7CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC7 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC7 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC7 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC7CTL_REG {
- Uint32 all;
- struct ADCSOC7CTL_BITS bit;
- };
- struct ADCSOC8CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC8 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC8 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC8 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC8CTL_REG {
- Uint32 all;
- struct ADCSOC8CTL_BITS bit;
- };
- struct ADCSOC9CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC9 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC9 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC9 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC9CTL_REG {
- Uint32 all;
- struct ADCSOC9CTL_BITS bit;
- };
- struct ADCSOC10CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC10 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC10 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC10 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC10CTL_REG {
- Uint32 all;
- struct ADCSOC10CTL_BITS bit;
- };
- struct ADCSOC11CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC11 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC11 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC11 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC11CTL_REG {
- Uint32 all;
- struct ADCSOC11CTL_BITS bit;
- };
- struct ADCSOC12CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC12 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC12 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC12 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC12CTL_REG {
- Uint32 all;
- struct ADCSOC12CTL_BITS bit;
- };
- struct ADCSOC13CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC13 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC13 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC13 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC13CTL_REG {
- Uint32 all;
- struct ADCSOC13CTL_BITS bit;
- };
- struct ADCSOC14CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC14 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC14 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC14 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC14CTL_REG {
- Uint32 all;
- struct ADCSOC14CTL_BITS bit;
- };
- struct ADCSOC15CTL_BITS { // bits description
- Uint16 ACQPS:9; // 8:0 SOC15 Acquisition Prescale
- Uint16 rsvd1:6; // 14:9 Reserved
- Uint32 CHSEL:4; // 18:15 SOC15 Channel Select
- Uint16 rsvd2:1; // 19 Reserved
- Uint16 TRIGSEL:5; // 24:20 SOC15 Trigger Source Select
- Uint16 rsvd3:7; // 31:25 Reserved
- };
- union ADCSOC15CTL_REG {
- Uint32 all;
- struct ADCSOC15CTL_BITS bit;
- };
- struct ADCEVTSTAT_BITS { // bits description
- Uint16 PPB1TRIPHI:1; // 0 Post Processing Block 1 Trip High Flag
- Uint16 PPB1TRIPLO:1; // 1 Post Processing Block 1 Trip Low Flag
- Uint16 PPB1ZERO:1; // 2 Post Processing Block 1 Zero Crossing Flag
- Uint16 rsvd1:1; // 3 Reserved
- Uint16 PPB2TRIPHI:1; // 4 Post Processing Block 2 Trip High Flag
- Uint16 PPB2TRIPLO:1; // 5 Post Processing Block 2 Trip Low Flag
- Uint16 PPB2ZERO:1; // 6 Post Processing Block 2 Zero Crossing Flag
- Uint16 rsvd2:1; // 7 Reserved
- Uint16 PPB3TRIPHI:1; // 8 Post Processing Block 3 Trip High Flag
- Uint16 PPB3TRIPLO:1; // 9 Post Processing Block 3 Trip Low Flag
- Uint16 PPB3ZERO:1; // 10 Post Processing Block 3 Zero Crossing Flag
- Uint16 rsvd3:1; // 11 Reserved
- Uint16 PPB4TRIPHI:1; // 12 Post Processing Block 4 Trip High Flag
- Uint16 PPB4TRIPLO:1; // 13 Post Processing Block 4 Trip Low Flag
- Uint16 PPB4ZERO:1; // 14 Post Processing Block 4 Zero Crossing Flag
- Uint16 rsvd4:1; // 15 Reserved
- };
- union ADCEVTSTAT_REG {
- Uint16 all;
- struct ADCEVTSTAT_BITS bit;
- };
- struct ADCEVTCLR_BITS { // bits description
- Uint16 PPB1TRIPHI:1; // 0 Post Processing Block 1 Trip High Clear
- Uint16 PPB1TRIPLO:1; // 1 Post Processing Block 1 Trip Low Clear
- Uint16 PPB1ZERO:1; // 2 Post Processing Block 1 Zero Crossing Clear
- Uint16 rsvd1:1; // 3 Reserved
- Uint16 PPB2TRIPHI:1; // 4 Post Processing Block 2 Trip High Clear
- Uint16 PPB2TRIPLO:1; // 5 Post Processing Block 2 Trip Low Clear
- Uint16 PPB2ZERO:1; // 6 Post Processing Block 2 Zero Crossing Clear
- Uint16 rsvd2:1; // 7 Reserved
- Uint16 PPB3TRIPHI:1; // 8 Post Processing Block 3 Trip High Clear
- Uint16 PPB3TRIPLO:1; // 9 Post Processing Block 3 Trip Low Clear
- Uint16 PPB3ZERO:1; // 10 Post Processing Block 3 Zero Crossing Clear
- Uint16 rsvd3:1; // 11 Reserved
- Uint16 PPB4TRIPHI:1; // 12 Post Processing Block 4 Trip High Clear
- Uint16 PPB4TRIPLO:1; // 13 Post Processing Block 4 Trip Low Clear
- Uint16 PPB4ZERO:1; // 14 Post Processing Block 4 Zero Crossing Clear
- Uint16 rsvd4:1; // 15 Reserved
- };
- union ADCEVTCLR_REG {
- Uint16 all;
- struct ADCEVTCLR_BITS bit;
- };
- struct ADCEVTSEL_BITS { // bits description
- Uint16 PPB1TRIPHI:1; // 0 Post Processing Block 1 Trip High Event Enable
- Uint16 PPB1TRIPLO:1; // 1 Post Processing Block 1 Trip Low Event Enable
- Uint16 PPB1ZERO:1; // 2 Post Processing Block 1 Zero Crossing Event Enable
- Uint16 rsvd1:1; // 3 Reserved
- Uint16 PPB2TRIPHI:1; // 4 Post Processing Block 2 Trip High Event Enable
- Uint16 PPB2TRIPLO:1; // 5 Post Processing Block 2 Trip Low Event Enable
- Uint16 PPB2ZERO:1; // 6 Post Processing Block 2 Zero Crossing Event Enable
- Uint16 rsvd2:1; // 7 Reserved
- Uint16 PPB3TRIPHI:1; // 8 Post Processing Block 3 Trip High Event Enable
- Uint16 PPB3TRIPLO:1; // 9 Post Processing Block 3 Trip Low Event Enable
- Uint16 PPB3ZERO:1; // 10 Post Processing Block 3 Zero Crossing Event Enable
- Uint16 rsvd3:1; // 11 Reserved
- Uint16 PPB4TRIPHI:1; // 12 Post Processing Block 4 Trip High Event Enable
- Uint16 PPB4TRIPLO:1; // 13 Post Processing Block 4 Trip Low Event Enable
- Uint16 PPB4ZERO:1; // 14 Post Processing Block 4 Zero Crossing Event Enable
- Uint16 rsvd4:1; // 15 Reserved
- };
- union ADCEVTSEL_REG {
- Uint16 all;
- struct ADCEVTSEL_BITS bit;
- };
- struct ADCEVTINTSEL_BITS { // bits description
- Uint16 PPB1TRIPHI:1; // 0 Post Processing Block 1 Trip High Interrupt Enable
- Uint16 PPB1TRIPLO:1; // 1 Post Processing Block 1 Trip Low Interrupt Enable
- Uint16 PPB1ZERO:1; // 2 Post Processing Block 1 Zero Crossing Interrupt Enable
- Uint16 rsvd1:1; // 3 Reserved
- Uint16 PPB2TRIPHI:1; // 4 Post Processing Block 2 Trip High Interrupt Enable
- Uint16 PPB2TRIPLO:1; // 5 Post Processing Block 2 Trip Low Interrupt Enable
- Uint16 PPB2ZERO:1; // 6 Post Processing Block 2 Zero Crossing Interrupt Enable
- Uint16 rsvd2:1; // 7 Reserved
- Uint16 PPB3TRIPHI:1; // 8 Post Processing Block 3 Trip High Interrupt Enable
- Uint16 PPB3TRIPLO:1; // 9 Post Processing Block 3 Trip Low Interrupt Enable
- Uint16 PPB3ZERO:1; // 10 Post Processing Block 3 Zero Crossing Interrupt Enable
- Uint16 rsvd3:1; // 11 Reserved
- Uint16 PPB4TRIPHI:1; // 12 Post Processing Block 4 Trip High Interrupt Enable
- Uint16 PPB4TRIPLO:1; // 13 Post Processing Block 4 Trip Low Interrupt Enable
- Uint16 PPB4ZERO:1; // 14 Post Processing Block 4 Zero Crossing Interrupt Enable
- Uint16 rsvd4:1; // 15 Reserved
- };
- union ADCEVTINTSEL_REG {
- Uint16 all;
- struct ADCEVTINTSEL_BITS bit;
- };
- struct ADCCOUNTER_BITS { // bits description
- Uint16 FREECOUNT:12; // 11:0 ADC Free Running Counter Value
- Uint16 rsvd1:4; // 15:12 Reserved
- };
- union ADCCOUNTER_REG {
- Uint16 all;
- struct ADCCOUNTER_BITS bit;
- };
- struct ADCREV_BITS { // bits description
- Uint16 TYPE:8; // 7:0 ADC Type
- Uint16 REV:8; // 15:8 ADC Revision
- };
- union ADCREV_REG {
- Uint16 all;
- struct ADCREV_BITS bit;
- };
- struct ADCOFFTRIM_BITS { // bits description
- Uint16 OFFTRIM:8; // 7:0 ADC Offset Trim
- Uint16 rsvd1:8; // 15:8 Reserved
- };
- union ADCOFFTRIM_REG {
- Uint16 all;
- struct ADCOFFTRIM_BITS bit;
- };
- struct ADCPPB1CONFIG_BITS { // bits description
- Uint16 CONFIG:4; // 3:0 ADC Post Processing Block 1 Configuration
- Uint16 TWOSCOMPEN:1; // 4 ADC Post Processing Block 1 Two's Complement Enable
- Uint16 rsvd1:1; // 5 Reserved
- Uint16 rsvd2:10; // 15:6 Reserved
- };
- union ADCPPB1CONFIG_REG {
- Uint16 all;
- struct ADCPPB1CONFIG_BITS bit;
- };
- struct ADCPPB1STAMP_BITS { // bits description
- Uint16 DLYSTAMP:12; // 11:0 ADC Post Processing Block 1 Delay Time Stamp
- Uint16 rsvd1:4; // 15:12 Reserved
- };
- union ADCPPB1STAMP_REG {
- Uint16 all;
- struct ADCPPB1STAMP_BITS bit;
- };
- struct ADCPPB1OFFCAL_BITS { // bits description
- Uint16 OFFCAL:10; // 9:0 ADC Post Processing Block Offset Correction
- Uint16 rsvd1:6; // 15:10 Reserved
- };
- union ADCPPB1OFFCAL_REG {
- Uint16 all;
- struct ADCPPB1OFFCAL_BITS bit;
- };
- struct ADCPPB1TRIPHI_BITS { // bits description
- Uint16 LIMITHI:16; // 15:0 ADC Post Processing Block 1 Trip High Limit
- Uint16 HSIGN:1; // 16 High Limit Sign Bit
- Uint16 rsvd1:15; // 31:17 Reserved
- };
- union ADCPPB1TRIPHI_REG {
- Uint32 all;
- struct ADCPPB1TRIPHI_BITS bit;
- };
- struct ADCPPB1TRIPLO_BITS { // bits description
- Uint16 LIMITLO:16; // 15:0 ADC Post Processing Block 1 Trip Low Limit
- Uint16 LSIGN:1; // 16 Low Limit Sign Bit
- Uint16 rsvd1:3; // 19:17 Reserved
- Uint16 REQSTAMP:12; // 31:20 ADC Post Processing Block 1 Request Time Stamp
- };
- union ADCPPB1TRIPLO_REG {
- Uint32 all;
- struct ADCPPB1TRIPLO_BITS bit;
- };
- struct ADCPPB2CONFIG_BITS { // bits description
- Uint16 CONFIG:4; // 3:0 ADC Post Processing Block 2 Configuration
- Uint16 TWOSCOMPEN:1; // 4 ADC Post Processing Block 2 Two's Complement Enable
- Uint16 rsvd1:1; // 5 Reserved
- Uint16 rsvd2:10; // 15:6 Reserved
- };
- union ADCPPB2CONFIG_REG {
- Uint16 all;
- struct ADCPPB2CONFIG_BITS bit;
- };
- struct ADCPPB2STAMP_BITS { // bits description
- Uint16 DLYSTAMP:12; // 11:0 ADC Post Processing Block 2 Delay Time Stamp
- Uint16 rsvd1:4; // 15:12 Reserved
- };
- union ADCPPB2STAMP_REG {
- Uint16 all;
- struct ADCPPB2STAMP_BITS bit;
- };
- struct ADCPPB2OFFCAL_BITS { // bits description
- Uint16 OFFCAL:10; // 9:0 ADC Post Processing Block Offset Correction
- Uint16 rsvd1:6; // 15:10 Reserved
- };
- union ADCPPB2OFFCAL_REG {
- Uint16 all;
- struct ADCPPB2OFFCAL_BITS bit;
- };
- struct ADCPPB2TRIPHI_BITS { // bits description
- Uint16 LIMITHI:16; // 15:0 ADC Post Processing Block 2 Trip High Limit
- Uint16 HSIGN:1; // 16 High Limit Sign Bit
- Uint16 rsvd1:15; // 31:17 Reserved
- };
- union ADCPPB2TRIPHI_REG {
- Uint32 all;
- struct ADCPPB2TRIPHI_BITS bit;
- };
- struct ADCPPB2TRIPLO_BITS { // bits description
- Uint16 LIMITLO:16; // 15:0 ADC Post Processing Block 2 Trip Low Limit
- Uint16 LSIGN:1; // 16 Low Limit Sign Bit
- Uint16 rsvd1:3; // 19:17 Reserved
- Uint16 REQSTAMP:12; // 31:20 ADC Post Processing Block 2 Request Time Stamp
- };
- union ADCPPB2TRIPLO_REG {
- Uint32 all;
- struct ADCPPB2TRIPLO_BITS bit;
- };
- struct ADCPPB3CONFIG_BITS { // bits description
- Uint16 CONFIG:4; // 3:0 ADC Post Processing Block 3 Configuration
- Uint16 TWOSCOMPEN:1; // 4 ADC Post Processing Block 3 Two's Complement Enable
- Uint16 rsvd1:1; // 5 Reserved
- Uint16 rsvd2:10; // 15:6 Reserved
- };
- union ADCPPB3CONFIG_REG {
- Uint16 all;
- struct ADCPPB3CONFIG_BITS bit;
- };
- struct ADCPPB3STAMP_BITS { // bits description
- Uint16 DLYSTAMP:12; // 11:0 ADC Post Processing Block 3 Delay Time Stamp
- Uint16 rsvd1:4; // 15:12 Reserved
- };
- union ADCPPB3STAMP_REG {
- Uint16 all;
- struct ADCPPB3STAMP_BITS bit;
- };
- struct ADCPPB3OFFCAL_BITS { // bits description
- Uint16 OFFCAL:10; // 9:0 ADC Post Processing Block Offset Correction
- Uint16 rsvd1:6; // 15:10 Reserved
- };
- union ADCPPB3OFFCAL_REG {
- Uint16 all;
- struct ADCPPB3OFFCAL_BITS bit;
- };
- struct ADCPPB3TRIPHI_BITS { // bits description
- Uint16 LIMITHI:16; // 15:0 ADC Post Processing Block 3 Trip High Limit
- Uint16 HSIGN:1; // 16 High Limit Sign Bit
- Uint16 rsvd1:15; // 31:17 Reserved
- };
- union ADCPPB3TRIPHI_REG {
- Uint32 all;
- struct ADCPPB3TRIPHI_BITS bit;
- };
- struct ADCPPB3TRIPLO_BITS { // bits description
- Uint16 LIMITLO:16; // 15:0 ADC Post Processing Block 3 Trip Low Limit
- Uint16 LSIGN:1; // 16 Low Limit Sign Bit
- Uint16 rsvd1:3; // 19:17 Reserved
- Uint16 REQSTAMP:12; // 31:20 ADC Post Processing Block 3 Request Time Stamp
- };
- union ADCPPB3TRIPLO_REG {
- Uint32 all;
- struct ADCPPB3TRIPLO_BITS bit;
- };
- struct ADCPPB4CONFIG_BITS { // bits description
- Uint16 CONFIG:4; // 3:0 ADC Post Processing Block 4 Configuration
- Uint16 TWOSCOMPEN:1; // 4 ADC Post Processing Block 4 Two's Complement Enable
- Uint16 rsvd1:1; // 5 Reserved
- Uint16 rsvd2:10; // 15:6 Reserved
- };
- union ADCPPB4CONFIG_REG {
- Uint16 all;
- struct ADCPPB4CONFIG_BITS bit;
- };
- struct ADCPPB4STAMP_BITS { // bits description
- Uint16 DLYSTAMP:12; // 11:0 ADC Post Processing Block 4 Delay Time Stamp
- Uint16 rsvd1:4; // 15:12 Reserved
- };
- union ADCPPB4STAMP_REG {
- Uint16 all;
- struct ADCPPB4STAMP_BITS bit;
- };
- struct ADCPPB4OFFCAL_BITS { // bits description
- Uint16 OFFCAL:10; // 9:0 ADC Post Processing Block Offset Correction
- Uint16 rsvd1:6; // 15:10 Reserved
- };
- union ADCPPB4OFFCAL_REG {
- Uint16 all;
- struct ADCPPB4OFFCAL_BITS bit;
- };
- struct ADCPPB4TRIPHI_BITS { // bits description
- Uint16 LIMITHI:16; // 15:0 ADC Post Processing Block 4 Trip High Limit
- Uint16 HSIGN:1; // 16 High Limit Sign Bit
- Uint16 rsvd1:15; // 31:17 Reserved
- };
- union ADCPPB4TRIPHI_REG {
- Uint32 all;
- struct ADCPPB4TRIPHI_BITS bit;
- };
- struct ADCPPB4TRIPLO_BITS { // bits description
- Uint16 LIMITLO:16; // 15:0 ADC Post Processing Block 4 Trip Low Limit
- Uint16 LSIGN:1; // 16 Low Limit Sign Bit
- Uint16 rsvd1:3; // 19:17 Reserved
- Uint16 REQSTAMP:12; // 31:20 ADC Post Processing Block 4 Request Time Stamp
- };
- union ADCPPB4TRIPLO_REG {
- Uint32 all;
- struct ADCPPB4TRIPLO_BITS bit;
- };
- struct ADC_REGS {
- union ADCCTL1_REG ADCCTL1; // ADC Control 1 Register
- union ADCCTL2_REG ADCCTL2; // ADC Control 2 Register
- union ADCBURSTCTL_REG ADCBURSTCTL; // ADC Burst Control Register
- union ADCINTFLG_REG ADCINTFLG; // ADC Interrupt Flag Register
- union ADCINTFLGCLR_REG ADCINTFLGCLR; // ADC Interrupt Flag Clear Register
- union ADCINTOVF_REG ADCINTOVF; // ADC Interrupt Overflow Register
- union ADCINTOVFCLR_REG ADCINTOVFCLR; // ADC Interrupt Overflow Clear Register
- union ADCINTSEL1N2_REG ADCINTSEL1N2; // ADC Interrupt 1 and 2 Selection Register
- union ADCINTSEL3N4_REG ADCINTSEL3N4; // ADC Interrupt 3 and 4 Selection Register
- union ADCSOCPRICTL_REG ADCSOCPRICTL; // ADC SOC Priority Control Register
- union ADCINTSOCSEL1_REG ADCINTSOCSEL1; // ADC Interrupt SOC Selection 1 Register
- union ADCINTSOCSEL2_REG ADCINTSOCSEL2; // ADC Interrupt SOC Selection 2 Register
- union ADCSOCFLG1_REG ADCSOCFLG1; // ADC SOC Flag 1 Register
- union ADCSOCFRC1_REG ADCSOCFRC1; // ADC SOC Force 1 Register
- union ADCSOCOVF1_REG ADCSOCOVF1; // ADC SOC Overflow 1 Register
- union ADCSOCOVFCLR1_REG ADCSOCOVFCLR1; // ADC SOC Overflow Clear 1 Register
- union ADCSOC0CTL_REG ADCSOC0CTL; // ADC SOC0 Control Register
- union ADCSOC1CTL_REG ADCSOC1CTL; // ADC SOC1 Control Register
- union ADCSOC2CTL_REG ADCSOC2CTL; // ADC SOC2 Control Register
- union ADCSOC3CTL_REG ADCSOC3CTL; // ADC SOC3 Control Register
- union ADCSOC4CTL_REG ADCSOC4CTL; // ADC SOC4 Control Register
- union ADCSOC5CTL_REG ADCSOC5CTL; // ADC SOC5 Control Register
- union ADCSOC6CTL_REG ADCSOC6CTL; // ADC SOC6 Control Register
- union ADCSOC7CTL_REG ADCSOC7CTL; // ADC SOC7 Control Register
- union ADCSOC8CTL_REG ADCSOC8CTL; // ADC SOC8 Control Register
- union ADCSOC9CTL_REG ADCSOC9CTL; // ADC SOC9 Control Register
- union ADCSOC10CTL_REG ADCSOC10CTL; // ADC SOC10 Control Register
- union ADCSOC11CTL_REG ADCSOC11CTL; // ADC SOC11 Control Register
- union ADCSOC12CTL_REG ADCSOC12CTL; // ADC SOC12 Control Register
- union ADCSOC13CTL_REG ADCSOC13CTL; // ADC SOC13 Control Register
- union ADCSOC14CTL_REG ADCSOC14CTL; // ADC SOC14 Control Register
- union ADCSOC15CTL_REG ADCSOC15CTL; // ADC SOC15 Control Register
- union ADCEVTSTAT_REG ADCEVTSTAT; // ADC Event Status Register
- Uint16 rsvd1; // Reserved
- union ADCEVTCLR_REG ADCEVTCLR; // ADC Event Clear Register
- Uint16 rsvd2; // Reserved
- union ADCEVTSEL_REG ADCEVTSEL; // ADC Event Selection Register
- Uint16 rsvd3; // Reserved
- union ADCEVTINTSEL_REG ADCEVTINTSEL; // ADC Event Interrupt Selection Register
- Uint16 rsvd4[2]; // Reserved
- union ADCCOUNTER_REG ADCCOUNTER; // ADC Counter Register
- union ADCREV_REG ADCREV; // ADC Revision Register
- union ADCOFFTRIM_REG ADCOFFTRIM; // ADC Offset Trim Register
- Uint16 rsvd5[4]; // Reserved
- union ADCPPB1CONFIG_REG ADCPPB1CONFIG; // ADC PPB1 Config Register
- union ADCPPB1STAMP_REG ADCPPB1STAMP; // ADC PPB1 Sample Delay Time Stamp Register
- union ADCPPB1OFFCAL_REG ADCPPB1OFFCAL; // ADC PPB1 Offset Calibration Register
- Uint16 ADCPPB1OFFREF; // ADC PPB1 Offset Reference Register
- union ADCPPB1TRIPHI_REG ADCPPB1TRIPHI; // ADC PPB1 Trip High Register
- union ADCPPB1TRIPLO_REG ADCPPB1TRIPLO; // ADC PPB1 Trip Low/Trigger Time Stamp Register
- union ADCPPB2CONFIG_REG ADCPPB2CONFIG; // ADC PPB2 Config Register
- union ADCPPB2STAMP_REG ADCPPB2STAMP; // ADC PPB2 Sample Delay Time Stamp Register
- union ADCPPB2OFFCAL_REG ADCPPB2OFFCAL; // ADC PPB2 Offset Calibration Register
- Uint16 ADCPPB2OFFREF; // ADC PPB2 Offset Reference Register
- union ADCPPB2TRIPHI_REG ADCPPB2TRIPHI; // ADC PPB2 Trip High Register
- union ADCPPB2TRIPLO_REG ADCPPB2TRIPLO; // ADC PPB2 Trip Low/Trigger Time Stamp Register
- union ADCPPB3CONFIG_REG ADCPPB3CONFIG; // ADC PPB3 Config Register
- union ADCPPB3STAMP_REG ADCPPB3STAMP; // ADC PPB3 Sample Delay Time Stamp Register
- union ADCPPB3OFFCAL_REG ADCPPB3OFFCAL; // ADC PPB3 Offset Calibration Register
- Uint16 ADCPPB3OFFREF; // ADC PPB3 Offset Reference Register
- union ADCPPB3TRIPHI_REG ADCPPB3TRIPHI; // ADC PPB3 Trip High Register
- union ADCPPB3TRIPLO_REG ADCPPB3TRIPLO; // ADC PPB3 Trip Low/Trigger Time Stamp Register
- union ADCPPB4CONFIG_REG ADCPPB4CONFIG; // ADC PPB4 Config Register
- union ADCPPB4STAMP_REG ADCPPB4STAMP; // ADC PPB4 Sample Delay Time Stamp Register
- union ADCPPB4OFFCAL_REG ADCPPB4OFFCAL; // ADC PPB4 Offset Calibration Register
- Uint16 ADCPPB4OFFREF; // ADC PPB4 Offset Reference Register
- union ADCPPB4TRIPHI_REG ADCPPB4TRIPHI; // ADC PPB4 Trip High Register
- union ADCPPB4TRIPLO_REG ADCPPB4TRIPLO; // ADC PPB4 Trip Low/Trigger Time Stamp Register
- Uint16 rsvd6[16]; // Reserved
- Uint32 ADCINLTRIM1; // ADC Linearity Trim 1 Register
- Uint32 ADCINLTRIM2; // ADC Linearity Trim 2 Register
- Uint32 ADCINLTRIM3; // ADC Linearity Trim 3 Register
- Uint32 ADCINLTRIM4; // ADC Linearity Trim 4 Register
- Uint32 ADCINLTRIM5; // ADC Linearity Trim 5 Register
- Uint32 ADCINLTRIM6; // ADC Linearity Trim 6 Register
- Uint16 rsvd7[4]; // Reserved
- };
- struct ADCPPB1RESULT_BITS { // bits description
- Uint16 PPBRESULT:16; // 15:0 ADC Post Processing Block Result
- Uint16 SIGN:16; // 31:16 Sign Extended Bits
- };
- union ADCPPB1RESULT_REG {
- Uint32 all;
- struct ADCPPB1RESULT_BITS bit;
- };
- struct ADCPPB2RESULT_BITS { // bits description
- Uint16 PPBRESULT:16; // 15:0 ADC Post Processing Block Result
- Uint16 SIGN:16; // 31:16 Sign Extended Bits
- };
- union ADCPPB2RESULT_REG {
- Uint32 all;
- struct ADCPPB2RESULT_BITS bit;
- };
- struct ADCPPB3RESULT_BITS { // bits description
- Uint16 PPBRESULT:16; // 15:0 ADC Post Processing Block Result
- Uint16 SIGN:16; // 31:16 Sign Extended Bits
- };
- union ADCPPB3RESULT_REG {
- Uint32 all;
- struct ADCPPB3RESULT_BITS bit;
- };
- struct ADCPPB4RESULT_BITS { // bits description
- Uint16 PPBRESULT:16; // 15:0 ADC Post Processing Block Result
- Uint16 SIGN:16; // 31:16 Sign Extended Bits
- };
- union ADCPPB4RESULT_REG {
- Uint32 all;
- struct ADCPPB4RESULT_BITS bit;
- };
- struct ADC_RESULT_REGS {
- Uint16 ADCRESULT0; // ADC Result 0 Register
- Uint16 ADCRESULT1; // ADC Result 1 Register
- Uint16 ADCRESULT2; // ADC Result 2 Register
- Uint16 ADCRESULT3; // ADC Result 3 Register
- Uint16 ADCRESULT4; // ADC Result 4 Register
- Uint16 ADCRESULT5; // ADC Result 5 Register
- Uint16 ADCRESULT6; // ADC Result 6 Register
- Uint16 ADCRESULT7; // ADC Result 7 Register
- Uint16 ADCRESULT8; // ADC Result 8 Register
- Uint16 ADCRESULT9; // ADC Result 9 Register
- Uint16 ADCRESULT10; // ADC Result 10 Register
- Uint16 ADCRESULT11; // ADC Result 11 Register
- Uint16 ADCRESULT12; // ADC Result 12 Register
- Uint16 ADCRESULT13; // ADC Result 13 Register
- Uint16 ADCRESULT14; // ADC Result 14 Register
- Uint16 ADCRESULT15; // ADC Result 15 Register
- union ADCPPB1RESULT_REG ADCPPB1RESULT; // ADC Post Processing Block 1 Result Register
- union ADCPPB2RESULT_REG ADCPPB2RESULT; // ADC Post Processing Block 2 Result Register
- union ADCPPB3RESULT_REG ADCPPB3RESULT; // ADC Post Processing Block 3 Result Register
- union ADCPPB4RESULT_REG ADCPPB4RESULT; // ADC Post Processing Block 4 Result Register
- };
- //---------------------------------------------------------------------------
- // ADC External References & Function Declarations:
- //
- #ifdef CPU1
- extern volatile struct ADC_RESULT_REGS AdcaResultRegs;
- extern volatile struct ADC_RESULT_REGS AdcbResultRegs;
- extern volatile struct ADC_RESULT_REGS AdccResultRegs;
- extern volatile struct ADC_RESULT_REGS AdcdResultRegs;
- extern volatile struct ADC_REGS AdcaRegs;
- extern volatile struct ADC_REGS AdcbRegs;
- extern volatile struct ADC_REGS AdccRegs;
- extern volatile struct ADC_REGS AdcdRegs;
- #endif
- #ifdef CPU2
- extern volatile struct ADC_RESULT_REGS AdcaResultRegs;
- extern volatile struct ADC_RESULT_REGS AdcbResultRegs;
- extern volatile struct ADC_RESULT_REGS AdccResultRegs;
- extern volatile struct ADC_RESULT_REGS AdcdResultRegs;
- extern volatile struct ADC_REGS AdcaRegs;
- extern volatile struct ADC_REGS AdcbRegs;
- extern volatile struct ADC_REGS AdccRegs;
- extern volatile struct ADC_REGS AdcdRegs;
- #endif
- #ifdef __cplusplus
- }
- #endif /* extern "C" */
- #endif
- //===========================================================================
- // End of file.
- //===========================================================================
|