Macros
hw_comp.h File Reference

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

§ COMP_O_ACMIS

#define COMP_O_ACMIS   0x00000000

§ COMP_O_ACRIS

#define COMP_O_ACRIS   0x00000004

Referenced by ComparatorIntStatus().

§ COMP_O_ACINTEN

#define COMP_O_ACINTEN   0x00000008

§ COMP_O_ACREFCTL

#define COMP_O_ACREFCTL   0x00000010

Referenced by ComparatorRefSet().

§ COMP_O_ACSTAT0

#define COMP_O_ACSTAT0   0x00000020

Referenced by ComparatorValueGet().

§ COMP_O_ACCTL0

#define COMP_O_ACCTL0   0x00000024

Referenced by ComparatorConfigure().

§ COMP_O_ACSTAT1

#define COMP_O_ACSTAT1   0x00000040

§ COMP_O_ACCTL1

#define COMP_O_ACCTL1   0x00000044

§ COMP_O_ACSTAT2

#define COMP_O_ACSTAT2   0x00000060

§ COMP_O_ACCTL2

#define COMP_O_ACCTL2   0x00000064

§ COMP_O_PP

#define COMP_O_PP   0x00000FC0

§ COMP_ACMIS_IN2

#define COMP_ACMIS_IN2   0x00000004

§ COMP_ACMIS_IN1

#define COMP_ACMIS_IN1   0x00000002

§ COMP_ACMIS_IN0

#define COMP_ACMIS_IN0   0x00000001

§ COMP_ACRIS_IN2

#define COMP_ACRIS_IN2   0x00000004

§ COMP_ACRIS_IN1

#define COMP_ACRIS_IN1   0x00000002

§ COMP_ACRIS_IN0

#define COMP_ACRIS_IN0   0x00000001

§ COMP_ACINTEN_IN2

#define COMP_ACINTEN_IN2   0x00000004

§ COMP_ACINTEN_IN1

#define COMP_ACINTEN_IN1   0x00000002

§ COMP_ACINTEN_IN0

#define COMP_ACINTEN_IN0   0x00000001

§ COMP_ACREFCTL_EN

#define COMP_ACREFCTL_EN   0x00000200

§ COMP_ACREFCTL_RNG

#define COMP_ACREFCTL_RNG   0x00000100

§ COMP_ACREFCTL_VREF_M

#define COMP_ACREFCTL_VREF_M   0x0000000F

§ COMP_ACREFCTL_VREF_S

#define COMP_ACREFCTL_VREF_S   0

§ COMP_ACSTAT0_OVAL

#define COMP_ACSTAT0_OVAL   0x00000002

Referenced by ComparatorValueGet().

§ COMP_ACCTL0_TOEN

#define COMP_ACCTL0_TOEN   0x00000800

§ COMP_ACCTL0_ASRCP_M

#define COMP_ACCTL0_ASRCP_M   0x00000600

§ COMP_ACCTL0_ASRCP_PIN

#define COMP_ACCTL0_ASRCP_PIN   0x00000000

§ COMP_ACCTL0_ASRCP_PIN0

#define COMP_ACCTL0_ASRCP_PIN0   0x00000200

§ COMP_ACCTL0_ASRCP_REF

#define COMP_ACCTL0_ASRCP_REF   0x00000400

§ COMP_ACCTL0_TSLVAL

#define COMP_ACCTL0_TSLVAL   0x00000080

§ COMP_ACCTL0_TSEN_M

#define COMP_ACCTL0_TSEN_M   0x00000060

§ COMP_ACCTL0_TSEN_LEVEL

#define COMP_ACCTL0_TSEN_LEVEL   0x00000000

§ COMP_ACCTL0_TSEN_FALL

#define COMP_ACCTL0_TSEN_FALL   0x00000020

§ COMP_ACCTL0_TSEN_RISE

#define COMP_ACCTL0_TSEN_RISE   0x00000040

§ COMP_ACCTL0_TSEN_BOTH

#define COMP_ACCTL0_TSEN_BOTH   0x00000060

§ COMP_ACCTL0_ISLVAL

#define COMP_ACCTL0_ISLVAL   0x00000010

§ COMP_ACCTL0_ISEN_M

#define COMP_ACCTL0_ISEN_M   0x0000000C

§ COMP_ACCTL0_ISEN_LEVEL

#define COMP_ACCTL0_ISEN_LEVEL   0x00000000

§ COMP_ACCTL0_ISEN_FALL

#define COMP_ACCTL0_ISEN_FALL   0x00000004

§ COMP_ACCTL0_ISEN_RISE

#define COMP_ACCTL0_ISEN_RISE   0x00000008

§ COMP_ACCTL0_ISEN_BOTH

#define COMP_ACCTL0_ISEN_BOTH   0x0000000C

§ COMP_ACCTL0_CINV

#define COMP_ACCTL0_CINV   0x00000002

§ COMP_ACSTAT1_OVAL

#define COMP_ACSTAT1_OVAL   0x00000002

§ COMP_ACCTL1_TOEN

#define COMP_ACCTL1_TOEN   0x00000800

§ COMP_ACCTL1_ASRCP_M

#define COMP_ACCTL1_ASRCP_M   0x00000600

§ COMP_ACCTL1_ASRCP_PIN

#define COMP_ACCTL1_ASRCP_PIN   0x00000000

§ COMP_ACCTL1_ASRCP_PIN0

#define COMP_ACCTL1_ASRCP_PIN0   0x00000200

§ COMP_ACCTL1_ASRCP_REF

#define COMP_ACCTL1_ASRCP_REF   0x00000400

§ COMP_ACCTL1_TSLVAL

#define COMP_ACCTL1_TSLVAL   0x00000080

§ COMP_ACCTL1_TSEN_M

#define COMP_ACCTL1_TSEN_M   0x00000060

§ COMP_ACCTL1_TSEN_LEVEL

#define COMP_ACCTL1_TSEN_LEVEL   0x00000000

§ COMP_ACCTL1_TSEN_FALL

#define COMP_ACCTL1_TSEN_FALL   0x00000020

§ COMP_ACCTL1_TSEN_RISE

#define COMP_ACCTL1_TSEN_RISE   0x00000040

§ COMP_ACCTL1_TSEN_BOTH

#define COMP_ACCTL1_TSEN_BOTH   0x00000060

§ COMP_ACCTL1_ISLVAL

#define COMP_ACCTL1_ISLVAL   0x00000010

§ COMP_ACCTL1_ISEN_M

#define COMP_ACCTL1_ISEN_M   0x0000000C

§ COMP_ACCTL1_ISEN_LEVEL

#define COMP_ACCTL1_ISEN_LEVEL   0x00000000

§ COMP_ACCTL1_ISEN_FALL

#define COMP_ACCTL1_ISEN_FALL   0x00000004

§ COMP_ACCTL1_ISEN_RISE

#define COMP_ACCTL1_ISEN_RISE   0x00000008

§ COMP_ACCTL1_ISEN_BOTH

#define COMP_ACCTL1_ISEN_BOTH   0x0000000C

§ COMP_ACCTL1_CINV

#define COMP_ACCTL1_CINV   0x00000002

§ COMP_ACSTAT2_OVAL

#define COMP_ACSTAT2_OVAL   0x00000002

§ COMP_ACCTL2_TOEN

#define COMP_ACCTL2_TOEN   0x00000800

§ COMP_ACCTL2_ASRCP_M

#define COMP_ACCTL2_ASRCP_M   0x00000600

§ COMP_ACCTL2_ASRCP_PIN

#define COMP_ACCTL2_ASRCP_PIN   0x00000000

§ COMP_ACCTL2_ASRCP_PIN0

#define COMP_ACCTL2_ASRCP_PIN0   0x00000200

§ COMP_ACCTL2_ASRCP_REF

#define COMP_ACCTL2_ASRCP_REF   0x00000400

§ COMP_ACCTL2_TSLVAL

#define COMP_ACCTL2_TSLVAL   0x00000080

§ COMP_ACCTL2_TSEN_M

#define COMP_ACCTL2_TSEN_M   0x00000060

§ COMP_ACCTL2_TSEN_LEVEL

#define COMP_ACCTL2_TSEN_LEVEL   0x00000000

§ COMP_ACCTL2_TSEN_FALL

#define COMP_ACCTL2_TSEN_FALL   0x00000020

§ COMP_ACCTL2_TSEN_RISE

#define COMP_ACCTL2_TSEN_RISE   0x00000040

§ COMP_ACCTL2_TSEN_BOTH

#define COMP_ACCTL2_TSEN_BOTH   0x00000060

§ COMP_ACCTL2_ISLVAL

#define COMP_ACCTL2_ISLVAL   0x00000010

§ COMP_ACCTL2_ISEN_M

#define COMP_ACCTL2_ISEN_M   0x0000000C

§ COMP_ACCTL2_ISEN_LEVEL

#define COMP_ACCTL2_ISEN_LEVEL   0x00000000

§ COMP_ACCTL2_ISEN_FALL

#define COMP_ACCTL2_ISEN_FALL   0x00000004

§ COMP_ACCTL2_ISEN_RISE

#define COMP_ACCTL2_ISEN_RISE   0x00000008

§ COMP_ACCTL2_ISEN_BOTH

#define COMP_ACCTL2_ISEN_BOTH   0x0000000C

§ COMP_ACCTL2_CINV

#define COMP_ACCTL2_CINV   0x00000002

§ COMP_PP_C2O

#define COMP_PP_C2O   0x00040000

§ COMP_PP_C1O

#define COMP_PP_C1O   0x00020000

§ COMP_PP_C0O

#define COMP_PP_C0O   0x00010000

§ COMP_PP_CMP2

#define COMP_PP_CMP2   0x00000004

§ COMP_PP_CMP1

#define COMP_PP_CMP1   0x00000002

§ COMP_PP_CMP0

#define COMP_PP_CMP0   0x00000001
Copyright 2017, Texas Instruments Incorporated