Data Structures | Enumerations | Variables
ComparatorLPF3LP.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include <ti/drivers/Comparator.h>
#include <ti/drivers/dpl/HwiP.h>
#include <ti/drivers/dpl/SemaphoreP.h>
#include <ti/devices/DeviceFamily.h>
#include <DeviceFamily_constructPath(driverlib/lpcmp.h)>
Include dependency graph for ComparatorLPF3LP.h:

Go to the source code of this file.

Data Structures

struct  ComparatorLPF3LP_HWAttrs
 ComparatorLPF3LP Hardware attributes. More...
 
struct  ComparatorLPF3LP_Object
 ComparatorLPF3LP Object. More...
 

Enumerations

enum  ComparatorLPF3LP_NegativeInputChannel { ComparatorLPF3LP_NEG_INPUT_VDDD = LPCMP_NEG_INPUT_VDDD, ComparatorLPF3LP_NEG_INPUT_VDDA = LPCMP_NEG_INPUT_VDDA, ComparatorLPF3LP_NEG_INPUT_A2 = LPCMP_NEG_INPUT_A2, ComparatorLPF3LP_NEG_INPUT_A3 = LPCMP_NEG_INPUT_A3 }
 ComparatorLPF3LP Negative input channel These fields are intended to serve as the options for the Comparator.h API negative inputs. More...
 
enum  ComparatorLPF3LP_PositiveInputChannel { ComparatorLPF3LP_POS_INPUT_A1 = LPCMP_POS_INPUT_A1, ComparatorLPF3LP_POS_INPUT_A2 = LPCMP_POS_INPUT_A2, ComparatorLPF3LP_POS_INPUT_A3 = LPCMP_POS_INPUT_A3, ComparatorLPF3LP_POS_INPUT_VDDA = LPCMP_POS_INPUT_VDDA }
 ComparatorLPF3LP Positive input channel. More...
 
enum  ComparatorLPF3LP_VoltageDividerPath { ComparatorLPF3LP_V_DIV_PATH_NEG = LPCMP_DIVISION_PATH_N, ComparatorLPF3LP_V_DIV_PATH_POS = LPCMP_DIVISION_PATH_P }
 ComparatorLPF3LP Voltage divider path. More...
 
enum  ComparatorLPF3LP_VoltageDividerFactor {
  ComparatorLPF3LP_V_DIV_FACTOR_1_1 = LPCMP_DIVISION_FACTOR_1_1, ComparatorLPF3LP_V_DIV_FACTOR_3_4 = LPCMP_DIVISION_FACTOR_3_4, ComparatorLPF3LP_V_DIV_FACTOR_1_2 = LPCMP_DIVISION_FACTOR_1_2, ComparatorLPF3LP_V_DIV_FACTOR_1_3 = LPCMP_DIVISION_FACTOR_1_3,
  ComparatorLPF3LP_V_DIV_FACTOR_1_4 = LPCMP_DIVISION_FACTOR_1_4
}
 ComparatorLPF3LP Voltage divider factor. More...
 

Variables

const Comparator_FxnTable ComparatorLPF3LP_fxnTable
 Comparator function table for the ComparatorLPF3LP implementation. More...
 

Enumeration Type Documentation

§ ComparatorLPF3LP_NegativeInputChannel

ComparatorLPF3LP Negative input channel These fields are intended to serve as the options for the Comparator.h API negative inputs.

The Low-Power comparators on the Low Power F3 devices support four negative input sources:

  • internal voltage VDDD
  • internal voltage VDDA
  • External pin PAD_A2
  • External pin PAD_A3
Note
A fixed device-specific mapping exists between PAD_An and DIOn. Such mapping is automatically handled when using SysConfig. In case SysConfig is not used by the application, the mapping needs to be manually verified with the device Technical Reference Manual.
Enumerator
ComparatorLPF3LP_NEG_INPUT_VDDD 
ComparatorLPF3LP_NEG_INPUT_VDDA 
ComparatorLPF3LP_NEG_INPUT_A2 
ComparatorLPF3LP_NEG_INPUT_A3 

§ ComparatorLPF3LP_PositiveInputChannel

ComparatorLPF3LP Positive input channel.

These fields are intended to serve as the options for the Comparator.h API Positive inputs.

The Low-Power comparator on the Low Power F3 devices supports four positive input sources:

  • External pin PAD_A1
  • External pin PAD_A2
  • External pin PAD_A3
  • internal voltage VDDA
Note
A fixed device-specific mapping exists between PAD_An and DIOn. Such mapping is automatically handled when using SysConfig. In case SysConfig is not used by the application, the mapping needs to be manually verified with the device Technical Reference Manual.
Enumerator
ComparatorLPF3LP_POS_INPUT_A1 
ComparatorLPF3LP_POS_INPUT_A2 
ComparatorLPF3LP_POS_INPUT_A3 
ComparatorLPF3LP_POS_INPUT_VDDA 

§ ComparatorLPF3LP_VoltageDividerPath

ComparatorLPF3LP Voltage divider path.

These fields are intended to serve as options for the ComparatorLPF3LP.h API voltage divider path

The Low-Power comparators on the Low Power F3 devices support internal voltage division on either the negative or positive input.

Enumerator
ComparatorLPF3LP_V_DIV_PATH_NEG 
ComparatorLPF3LP_V_DIV_PATH_POS 

§ ComparatorLPF3LP_VoltageDividerFactor

ComparatorLPF3LP Voltage divider factor.

These fields are intended to serve as options for the ComparatorLPF3LP.h API voltage divider factors

The Low-Power comparator on the Low Power F3 devices supports internal voltage division on either the negative or positive input using one of the following factors:

  • 1/1 voltage division factor
  • 3/4 voltage division factor
  • 1/2 voltage division factor
  • 1/3 voltage division factor
  • 1/4 voltage division factor
Enumerator
ComparatorLPF3LP_V_DIV_FACTOR_1_1 
ComparatorLPF3LP_V_DIV_FACTOR_3_4 
ComparatorLPF3LP_V_DIV_FACTOR_1_2 
ComparatorLPF3LP_V_DIV_FACTOR_1_3 
ComparatorLPF3LP_V_DIV_FACTOR_1_4 

Variable Documentation

§ ComparatorLPF3LP_fxnTable

const Comparator_FxnTable ComparatorLPF3LP_fxnTable

Comparator function table for the ComparatorLPF3LP implementation.

© Copyright 1995-2024, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale