EE445M RTOS
Taken at the University of Texas Spring 2015
hw_comp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COMP_O_ACMIS   0x00000000
 
#define COMP_O_ACRIS   0x00000004
 
#define COMP_O_ACINTEN   0x00000008
 
#define COMP_O_ACREFCTL   0x00000010
 
#define COMP_O_ACSTAT0   0x00000020
 
#define COMP_O_ACCTL0   0x00000024
 
#define COMP_O_ACSTAT1   0x00000040
 
#define COMP_O_ACCTL1   0x00000044
 
#define COMP_O_ACSTAT2   0x00000060
 
#define COMP_O_ACCTL2   0x00000064
 
#define COMP_O_PP   0x00000FC0
 
#define COMP_ACMIS_IN2   0x00000004
 
#define COMP_ACMIS_IN1   0x00000002
 
#define COMP_ACMIS_IN0   0x00000001
 
#define COMP_ACRIS_IN2   0x00000004
 
#define COMP_ACRIS_IN1   0x00000002
 
#define COMP_ACRIS_IN0   0x00000001
 
#define COMP_ACINTEN_IN2   0x00000004
 
#define COMP_ACINTEN_IN1   0x00000002
 
#define COMP_ACINTEN_IN0   0x00000001
 
#define COMP_ACREFCTL_EN   0x00000200
 
#define COMP_ACREFCTL_RNG   0x00000100
 
#define COMP_ACREFCTL_VREF_M   0x0000000F
 
#define COMP_ACREFCTL_VREF_S   0
 
#define COMP_ACSTAT0_OVAL   0x00000002
 
#define COMP_ACCTL0_TOEN   0x00000800
 
#define COMP_ACCTL0_ASRCP_M   0x00000600
 
#define COMP_ACCTL0_ASRCP_PIN   0x00000000
 
#define COMP_ACCTL0_ASRCP_PIN0   0x00000200
 
#define COMP_ACCTL0_ASRCP_REF   0x00000400
 
#define COMP_ACCTL0_TSLVAL   0x00000080
 
#define COMP_ACCTL0_TSEN_M   0x00000060
 
#define COMP_ACCTL0_TSEN_LEVEL   0x00000000
 
#define COMP_ACCTL0_TSEN_FALL   0x00000020
 
#define COMP_ACCTL0_TSEN_RISE   0x00000040
 
#define COMP_ACCTL0_TSEN_BOTH   0x00000060
 
#define COMP_ACCTL0_ISLVAL   0x00000010
 
#define COMP_ACCTL0_ISEN_M   0x0000000C
 
#define COMP_ACCTL0_ISEN_LEVEL   0x00000000
 
#define COMP_ACCTL0_ISEN_FALL   0x00000004
 
#define COMP_ACCTL0_ISEN_RISE   0x00000008
 
#define COMP_ACCTL0_ISEN_BOTH   0x0000000C
 
#define COMP_ACCTL0_CINV   0x00000002
 
#define COMP_ACSTAT1_OVAL   0x00000002
 
#define COMP_ACCTL1_TOEN   0x00000800
 
#define COMP_ACCTL1_ASRCP_M   0x00000600
 
#define COMP_ACCTL1_ASRCP_PIN   0x00000000
 
#define COMP_ACCTL1_ASRCP_PIN0   0x00000200
 
#define COMP_ACCTL1_ASRCP_REF   0x00000400
 
#define COMP_ACCTL1_TSLVAL   0x00000080
 
#define COMP_ACCTL1_TSEN_M   0x00000060
 
#define COMP_ACCTL1_TSEN_LEVEL   0x00000000
 
#define COMP_ACCTL1_TSEN_FALL   0x00000020
 
#define COMP_ACCTL1_TSEN_RISE   0x00000040
 
#define COMP_ACCTL1_TSEN_BOTH   0x00000060
 
#define COMP_ACCTL1_ISLVAL   0x00000010
 
#define COMP_ACCTL1_ISEN_M   0x0000000C
 
#define COMP_ACCTL1_ISEN_LEVEL   0x00000000
 
#define COMP_ACCTL1_ISEN_FALL   0x00000004
 
#define COMP_ACCTL1_ISEN_RISE   0x00000008
 
#define COMP_ACCTL1_ISEN_BOTH   0x0000000C
 
#define COMP_ACCTL1_CINV   0x00000002
 
#define COMP_ACSTAT2_OVAL   0x00000002
 
#define COMP_ACCTL2_TOEN   0x00000800
 
#define COMP_ACCTL2_ASRCP_M   0x00000600
 
#define COMP_ACCTL2_ASRCP_PIN   0x00000000
 
#define COMP_ACCTL2_ASRCP_PIN0   0x00000200
 
#define COMP_ACCTL2_ASRCP_REF   0x00000400
 
#define COMP_ACCTL2_TSLVAL   0x00000080
 
#define COMP_ACCTL2_TSEN_M   0x00000060
 
#define COMP_ACCTL2_TSEN_LEVEL   0x00000000
 
#define COMP_ACCTL2_TSEN_FALL   0x00000020
 
#define COMP_ACCTL2_TSEN_RISE   0x00000040
 
#define COMP_ACCTL2_TSEN_BOTH   0x00000060
 
#define COMP_ACCTL2_ISLVAL   0x00000010
 
#define COMP_ACCTL2_ISEN_M   0x0000000C
 
#define COMP_ACCTL2_ISEN_LEVEL   0x00000000
 
#define COMP_ACCTL2_ISEN_FALL   0x00000004
 
#define COMP_ACCTL2_ISEN_RISE   0x00000008
 
#define COMP_ACCTL2_ISEN_BOTH   0x0000000C
 
#define COMP_ACCTL2_CINV   0x00000002
 
#define COMP_PP_C2O   0x00040000
 
#define COMP_PP_C1O   0x00020000
 
#define COMP_PP_C0O   0x00010000
 
#define COMP_PP_CMP2   0x00000004
 
#define COMP_PP_CMP1   0x00000002
 
#define COMP_PP_CMP0   0x00000001
 

Macro Definition Documentation

#define COMP_ACCTL0_ASRCP_M   0x00000600

Definition at line 119 of file hw_comp.h.

#define COMP_ACCTL0_ASRCP_PIN   0x00000000

Definition at line 120 of file hw_comp.h.

#define COMP_ACCTL0_ASRCP_PIN0   0x00000200

Definition at line 121 of file hw_comp.h.

#define COMP_ACCTL0_ASRCP_REF   0x00000400

Definition at line 122 of file hw_comp.h.

#define COMP_ACCTL0_CINV   0x00000002

Definition at line 135 of file hw_comp.h.

#define COMP_ACCTL0_ISEN_BOTH   0x0000000C

Definition at line 134 of file hw_comp.h.

#define COMP_ACCTL0_ISEN_FALL   0x00000004

Definition at line 132 of file hw_comp.h.

#define COMP_ACCTL0_ISEN_LEVEL   0x00000000

Definition at line 131 of file hw_comp.h.

#define COMP_ACCTL0_ISEN_M   0x0000000C

Definition at line 130 of file hw_comp.h.

#define COMP_ACCTL0_ISEN_RISE   0x00000008

Definition at line 133 of file hw_comp.h.

#define COMP_ACCTL0_ISLVAL   0x00000010

Definition at line 129 of file hw_comp.h.

#define COMP_ACCTL0_TOEN   0x00000800

Definition at line 118 of file hw_comp.h.

#define COMP_ACCTL0_TSEN_BOTH   0x00000060

Definition at line 128 of file hw_comp.h.

#define COMP_ACCTL0_TSEN_FALL   0x00000020

Definition at line 126 of file hw_comp.h.

#define COMP_ACCTL0_TSEN_LEVEL   0x00000000

Definition at line 125 of file hw_comp.h.

#define COMP_ACCTL0_TSEN_M   0x00000060

Definition at line 124 of file hw_comp.h.

#define COMP_ACCTL0_TSEN_RISE   0x00000040

Definition at line 127 of file hw_comp.h.

#define COMP_ACCTL0_TSLVAL   0x00000080

Definition at line 123 of file hw_comp.h.

#define COMP_ACCTL1_ASRCP_M   0x00000600

Definition at line 150 of file hw_comp.h.

#define COMP_ACCTL1_ASRCP_PIN   0x00000000

Definition at line 151 of file hw_comp.h.

#define COMP_ACCTL1_ASRCP_PIN0   0x00000200

Definition at line 152 of file hw_comp.h.

#define COMP_ACCTL1_ASRCP_REF   0x00000400

Definition at line 153 of file hw_comp.h.

#define COMP_ACCTL1_CINV   0x00000002

Definition at line 166 of file hw_comp.h.

#define COMP_ACCTL1_ISEN_BOTH   0x0000000C

Definition at line 165 of file hw_comp.h.

#define COMP_ACCTL1_ISEN_FALL   0x00000004

Definition at line 163 of file hw_comp.h.

#define COMP_ACCTL1_ISEN_LEVEL   0x00000000

Definition at line 162 of file hw_comp.h.

#define COMP_ACCTL1_ISEN_M   0x0000000C

Definition at line 161 of file hw_comp.h.

#define COMP_ACCTL1_ISEN_RISE   0x00000008

Definition at line 164 of file hw_comp.h.

#define COMP_ACCTL1_ISLVAL   0x00000010

Definition at line 160 of file hw_comp.h.

#define COMP_ACCTL1_TOEN   0x00000800

Definition at line 149 of file hw_comp.h.

#define COMP_ACCTL1_TSEN_BOTH   0x00000060

Definition at line 159 of file hw_comp.h.

#define COMP_ACCTL1_TSEN_FALL   0x00000020

Definition at line 157 of file hw_comp.h.

#define COMP_ACCTL1_TSEN_LEVEL   0x00000000

Definition at line 156 of file hw_comp.h.

#define COMP_ACCTL1_TSEN_M   0x00000060

Definition at line 155 of file hw_comp.h.

#define COMP_ACCTL1_TSEN_RISE   0x00000040

Definition at line 158 of file hw_comp.h.

#define COMP_ACCTL1_TSLVAL   0x00000080

Definition at line 154 of file hw_comp.h.

#define COMP_ACCTL2_ASRCP_M   0x00000600

Definition at line 181 of file hw_comp.h.

#define COMP_ACCTL2_ASRCP_PIN   0x00000000

Definition at line 182 of file hw_comp.h.

#define COMP_ACCTL2_ASRCP_PIN0   0x00000200

Definition at line 183 of file hw_comp.h.

#define COMP_ACCTL2_ASRCP_REF   0x00000400

Definition at line 184 of file hw_comp.h.

#define COMP_ACCTL2_CINV   0x00000002

Definition at line 197 of file hw_comp.h.

#define COMP_ACCTL2_ISEN_BOTH   0x0000000C

Definition at line 196 of file hw_comp.h.

#define COMP_ACCTL2_ISEN_FALL   0x00000004

Definition at line 194 of file hw_comp.h.

#define COMP_ACCTL2_ISEN_LEVEL   0x00000000

Definition at line 193 of file hw_comp.h.

#define COMP_ACCTL2_ISEN_M   0x0000000C

Definition at line 192 of file hw_comp.h.

#define COMP_ACCTL2_ISEN_RISE   0x00000008

Definition at line 195 of file hw_comp.h.

#define COMP_ACCTL2_ISLVAL   0x00000010

Definition at line 191 of file hw_comp.h.

#define COMP_ACCTL2_TOEN   0x00000800

Definition at line 180 of file hw_comp.h.

#define COMP_ACCTL2_TSEN_BOTH   0x00000060

Definition at line 190 of file hw_comp.h.

#define COMP_ACCTL2_TSEN_FALL   0x00000020

Definition at line 188 of file hw_comp.h.

#define COMP_ACCTL2_TSEN_LEVEL   0x00000000

Definition at line 187 of file hw_comp.h.

#define COMP_ACCTL2_TSEN_M   0x00000060

Definition at line 186 of file hw_comp.h.

#define COMP_ACCTL2_TSEN_RISE   0x00000040

Definition at line 189 of file hw_comp.h.

#define COMP_ACCTL2_TSLVAL   0x00000080

Definition at line 185 of file hw_comp.h.

#define COMP_ACINTEN_IN0   0x00000001

Definition at line 93 of file hw_comp.h.

#define COMP_ACINTEN_IN1   0x00000002

Definition at line 92 of file hw_comp.h.

#define COMP_ACINTEN_IN2   0x00000004

Definition at line 91 of file hw_comp.h.

#define COMP_ACMIS_IN0   0x00000001

Definition at line 74 of file hw_comp.h.

#define COMP_ACMIS_IN1   0x00000002

Definition at line 72 of file hw_comp.h.

#define COMP_ACMIS_IN2   0x00000004

Definition at line 70 of file hw_comp.h.

#define COMP_ACREFCTL_EN   0x00000200

Definition at line 101 of file hw_comp.h.

#define COMP_ACREFCTL_RNG   0x00000100

Definition at line 102 of file hw_comp.h.

#define COMP_ACREFCTL_VREF_M   0x0000000F

Definition at line 103 of file hw_comp.h.

#define COMP_ACREFCTL_VREF_S   0

Definition at line 104 of file hw_comp.h.

#define COMP_ACRIS_IN0   0x00000001

Definition at line 84 of file hw_comp.h.

#define COMP_ACRIS_IN1   0x00000002

Definition at line 83 of file hw_comp.h.

#define COMP_ACRIS_IN2   0x00000004

Definition at line 82 of file hw_comp.h.

#define COMP_ACSTAT0_OVAL   0x00000002

Definition at line 111 of file hw_comp.h.

Referenced by ComparatorValueGet().

#define COMP_ACSTAT1_OVAL   0x00000002

Definition at line 142 of file hw_comp.h.

#define COMP_ACSTAT2_OVAL   0x00000002

Definition at line 173 of file hw_comp.h.

#define COMP_O_ACCTL0   0x00000024

Definition at line 57 of file hw_comp.h.

Referenced by ComparatorConfigure().

#define COMP_O_ACCTL1   0x00000044

Definition at line 59 of file hw_comp.h.

#define COMP_O_ACCTL2   0x00000064

Definition at line 61 of file hw_comp.h.

#define COMP_O_ACINTEN   0x00000008
#define COMP_O_ACMIS   0x00000000

Definition at line 48 of file hw_comp.h.

Referenced by ComparatorIntClear(), and ComparatorIntStatus().

#define COMP_O_ACREFCTL   0x00000010

Definition at line 54 of file hw_comp.h.

Referenced by ComparatorRefSet().

#define COMP_O_ACRIS   0x00000004

Definition at line 50 of file hw_comp.h.

Referenced by ComparatorIntStatus().

#define COMP_O_ACSTAT0   0x00000020

Definition at line 56 of file hw_comp.h.

Referenced by ComparatorValueGet().

#define COMP_O_ACSTAT1   0x00000040

Definition at line 58 of file hw_comp.h.

#define COMP_O_ACSTAT2   0x00000060

Definition at line 60 of file hw_comp.h.

#define COMP_O_PP   0x00000FC0

Definition at line 62 of file hw_comp.h.

#define COMP_PP_C0O   0x00010000

Definition at line 206 of file hw_comp.h.

#define COMP_PP_C1O   0x00020000

Definition at line 205 of file hw_comp.h.

#define COMP_PP_C2O   0x00040000

Definition at line 204 of file hw_comp.h.

#define COMP_PP_CMP0   0x00000001

Definition at line 209 of file hw_comp.h.

#define COMP_PP_CMP1   0x00000002

Definition at line 208 of file hw_comp.h.

#define COMP_PP_CMP2   0x00000004

Definition at line 207 of file hw_comp.h.