|
|
Go to the documentation of this file. 46 #define COMP_O_ACMIS 0x00000000 // Analog Comparator Masked 48 #define COMP_O_ACRIS 0x00000004 // Analog Comparator Raw Interrupt 50 #define COMP_O_ACINTEN 0x00000008 // Analog Comparator Interrupt 52 #define COMP_O_ACREFCTL 0x00000010 // Analog Comparator Reference 54 #define COMP_O_ACSTAT0 0x00000020 // Analog Comparator Status 0 55 #define COMP_O_ACCTL0 0x00000024 // Analog Comparator Control 0 56 #define COMP_O_ACSTAT1 0x00000040 // Analog Comparator Status 1 57 #define COMP_O_ACCTL1 0x00000044 // Analog Comparator Control 1 58 #define COMP_O_ACSTAT2 0x00000060 // Analog Comparator Status 2 59 #define COMP_O_ACCTL2 0x00000064 // Analog Comparator Control 2 60 #define COMP_O_PP 0x00000FC0 // Analog Comparator Peripheral 68 #define COMP_ACMIS_IN2 0x00000004 // Comparator 2 Masked Interrupt 70 #define COMP_ACMIS_IN1 0x00000002 // Comparator 1 Masked Interrupt 72 #define COMP_ACMIS_IN0 0x00000001 // Comparator 0 Masked Interrupt 80 #define COMP_ACRIS_IN2 0x00000004 // Comparator 2 Interrupt Status 81 #define COMP_ACRIS_IN1 0x00000002 // Comparator 1 Interrupt Status 82 #define COMP_ACRIS_IN0 0x00000001 // Comparator 0 Interrupt Status 89 #define COMP_ACINTEN_IN2 0x00000004 // Comparator 2 Interrupt Enable 90 #define COMP_ACINTEN_IN1 0x00000002 // Comparator 1 Interrupt Enable 91 #define COMP_ACINTEN_IN0 0x00000001 // Comparator 0 Interrupt Enable 99 #define COMP_ACREFCTL_EN 0x00000200 // Resistor Ladder Enable 100 #define COMP_ACREFCTL_RNG 0x00000100 // Resistor Ladder Range 101 #define COMP_ACREFCTL_VREF_M 0x0000000F // Resistor Ladder Voltage Ref 102 #define COMP_ACREFCTL_VREF_S 0 109 #define COMP_ACSTAT0_OVAL 0x00000002 // Comparator Output Value 116 #define COMP_ACCTL0_TOEN 0x00000800 // Trigger Output Enable 117 #define COMP_ACCTL0_ASRCP_M 0x00000600 // Analog Source Positive 118 #define COMP_ACCTL0_ASRCP_PIN 0x00000000 // Pin value of Cn+ 119 #define COMP_ACCTL0_ASRCP_PIN0 0x00000200 // Pin value of C0+ 120 #define COMP_ACCTL0_ASRCP_REF 0x00000400 // Internal voltage reference 121 #define COMP_ACCTL0_TSLVAL 0x00000080 // Trigger Sense Level Value 122 #define COMP_ACCTL0_TSEN_M 0x00000060 // Trigger Sense 123 #define COMP_ACCTL0_TSEN_LEVEL 0x00000000 // Level sense, see TSLVAL 124 #define COMP_ACCTL0_TSEN_FALL 0x00000020 // Falling edge 125 #define COMP_ACCTL0_TSEN_RISE 0x00000040 // Rising edge 126 #define COMP_ACCTL0_TSEN_BOTH 0x00000060 // Either edge 127 #define COMP_ACCTL0_ISLVAL 0x00000010 // Interrupt Sense Level Value 128 #define COMP_ACCTL0_ISEN_M 0x0000000C // Interrupt Sense 129 #define COMP_ACCTL0_ISEN_LEVEL 0x00000000 // Level sense, see ISLVAL 130 #define COMP_ACCTL0_ISEN_FALL 0x00000004 // Falling edge 131 #define COMP_ACCTL0_ISEN_RISE 0x00000008 // Rising edge 132 #define COMP_ACCTL0_ISEN_BOTH 0x0000000C // Either edge 133 #define COMP_ACCTL0_CINV 0x00000002 // Comparator Output Invert 140 #define COMP_ACSTAT1_OVAL 0x00000002 // Comparator Output Value 147 #define COMP_ACCTL1_TOEN 0x00000800 // Trigger Output Enable 148 #define COMP_ACCTL1_ASRCP_M 0x00000600 // Analog Source Positive 149 #define COMP_ACCTL1_ASRCP_PIN 0x00000000 // Pin value of Cn+ 150 #define COMP_ACCTL1_ASRCP_PIN0 0x00000200 // Pin value of C0+ 151 #define COMP_ACCTL1_ASRCP_REF 0x00000400 // Internal voltage reference 152 #define COMP_ACCTL1_TSLVAL 0x00000080 // Trigger Sense Level Value 153 #define COMP_ACCTL1_TSEN_M 0x00000060 // Trigger Sense 154 #define COMP_ACCTL1_TSEN_LEVEL 0x00000000 // Level sense, see TSLVAL 155 #define COMP_ACCTL1_TSEN_FALL 0x00000020 // Falling edge 156 #define COMP_ACCTL1_TSEN_RISE 0x00000040 // Rising edge 157 #define COMP_ACCTL1_TSEN_BOTH 0x00000060 // Either edge 158 #define COMP_ACCTL1_ISLVAL 0x00000010 // Interrupt Sense Level Value 159 #define COMP_ACCTL1_ISEN_M 0x0000000C // Interrupt Sense 160 #define COMP_ACCTL1_ISEN_LEVEL 0x00000000 // Level sense, see ISLVAL 161 #define COMP_ACCTL1_ISEN_FALL 0x00000004 // Falling edge 162 #define COMP_ACCTL1_ISEN_RISE 0x00000008 // Rising edge 163 #define COMP_ACCTL1_ISEN_BOTH 0x0000000C // Either edge 164 #define COMP_ACCTL1_CINV 0x00000002 // Comparator Output Invert 171 #define COMP_ACSTAT2_OVAL 0x00000002 // Comparator Output Value 178 #define COMP_ACCTL2_TOEN 0x00000800 // Trigger Output Enable 179 #define COMP_ACCTL2_ASRCP_M 0x00000600 // Analog Source Positive 180 #define COMP_ACCTL2_ASRCP_PIN 0x00000000 // Pin value of Cn+ 181 #define COMP_ACCTL2_ASRCP_PIN0 0x00000200 // Pin value of C0+ 182 #define COMP_ACCTL2_ASRCP_REF 0x00000400 // Internal voltage reference 183 #define COMP_ACCTL2_TSLVAL 0x00000080 // Trigger Sense Level Value 184 #define COMP_ACCTL2_TSEN_M 0x00000060 // Trigger Sense 185 #define COMP_ACCTL2_TSEN_LEVEL 0x00000000 // Level sense, see TSLVAL 186 #define COMP_ACCTL2_TSEN_FALL 0x00000020 // Falling edge 187 #define COMP_ACCTL2_TSEN_RISE 0x00000040 // Rising edge 188 #define COMP_ACCTL2_TSEN_BOTH 0x00000060 // Either edge 189 #define COMP_ACCTL2_ISLVAL 0x00000010 // Interrupt Sense Level Value 190 #define COMP_ACCTL2_ISEN_M 0x0000000C // Interrupt Sense 191 #define COMP_ACCTL2_ISEN_LEVEL 0x00000000 // Level sense, see ISLVAL 192 #define COMP_ACCTL2_ISEN_FALL 0x00000004 // Falling edge 193 #define COMP_ACCTL2_ISEN_RISE 0x00000008 // Rising edge 194 #define COMP_ACCTL2_ISEN_BOTH 0x0000000C // Either edge 195 #define COMP_ACCTL2_CINV 0x00000002 // Comparator Output Invert 202 #define COMP_PP_C2O 0x00040000 // Comparator Output 2 Present 203 #define COMP_PP_C1O 0x00020000 // Comparator Output 1 Present 204 #define COMP_PP_C0O 0x00010000 // Comparator Output 0 Present 205 #define COMP_PP_CMP2 0x00000004 // Comparator 2 Present 206 #define COMP_PP_CMP1 0x00000002 // Comparator 1 Present 207 #define COMP_PP_CMP0 0x00000001 // Comparator 0 Present 209 #endif // __HW_COMP_H__
Copyright 2017, Texas Instruments Incorporated