F29H85x-SDK  1.03.00.00
 
CMPSS

The CMPSS driver provides API to configure the CMPSS module. Below are the high level features supported by the CMPSS driver.

Features Supported

  • Two analog comparators.
  • Two independently programmable reference 12-bit DACs.
  • The DAC reference voltage can be set to VDDA or VDAC.
  • External connection to CMPSS filters.
  • Two digital filters, max filter clock prescale = 2^24.
  • CMPSS Type-6 supports connection with ePWM Type-5

SysConfig Features

Note
It is strongly recommend to use SysConfig where it is available instead of using direct SW API calls. This will help simplify the SW application and also catch common mistakes early in the development cycle.
  • 12 CMPSS instances.
  • Diode emulation support.
  • Ramp generator prescaler.
  • Option to use hysteresis on the input.
  • Option for negative input of comparator to be driven by an external signal or by the reference DAC.

Features NOT Supported

NA

Important Usage Guidelines

NA

Example Usage

Include the below file to access the APIs #include <cmpss.h>

API

CMPSS