® PSoC Creator™ Component Datasheet PSoC 4 Low Power Comparator (LPComp) 2.0 Features Low input offset User controlled offset calibration Multiple speed modes Low-power mode Wake from low power modes Multiple interrupt and output modes General Description The Low Power Comparator (LPComp) component provides access to the low power comparators implemented using the fixed function LP comparator block that is present in PSoC 4. When to Use a LPComp The main purpose of these comparators is to offer fast detection of a voltage change in normal operating modes and ultra-low power operation in hibernate mode. The two connection options are described as follows: Compare two voltages on external pins. Compare a voltage from an external pin against an internally generated signal. The comparator output value can be inspected by the CPU. The comparator interrupt output signal is ORed together with interrupt output signal from the other low power comparator on the device as combined interrupt source. Interrupt is not cleared automatically. It is user responsibility to do that. This combined signal is available as the output of the global signal reference component and can be used as an interrupt/wakeup source from deep-sleep or hibernate. Refer to the Operation in Low Power Mode section for more details. For PSoC 4100 BLE, PSoC 4200 BLE, PSoC 4100M, and PSoC 4200M devices, the comparator output is available directly, or after synchronous edge detection as level or pulse. It can be used to trigger an interrupt, routed to digital logic or sent to a pin. Refer to the Functional Description section for details. Cypress Semiconductor Corporation • 198 Champion Court • San Jose, CA 95134-1709 • 408-943-2600 Document Number: 001-92647 Rev. *B Revised May 8, 2015 PSoC 4 Low Power Comparator (LPComp) ® PSoC Creator™ Component Datasheet Input/Output Connections This section describes the various input and output connections for the LPComp. The symbol for this component is annotated to denote the selection of hysteresis. Positive Input – Analog Input This input is usually connected to the voltage that is being compared. This input can be routed from a GPIO or from an internal source. When connected to an internal source the GPIO that is dedicated to this input will be consumed and not available for other uses. Negative Input – Analog Input This input is usually connected to the reference voltage. This input can be routed from a GPIO or from an internal source. When connected to an internal source the GPIO that is dedicated to this input will be consumed and not available for other uses. Comparator Out – Output For PSoC 4100/4200 devices it is the edge detected comparison output. For these devices the direct result of the comparator is not available as a hardware signal. This output is normally connected to an interrupt. For PSoC 4100 BLE, PSoC 4200 BLE, PSoC 4100M, and PSoC 4200M devices, it is the direct result of the comparator. This output goes high when the positive input voltage is greater than the negative input voltage. The output can be routed to other component digital inputs such as interrupts, timers, etc. Note This output cannot be used to awake a part from the Low Power Modes. Global Signal Reference interrupt signal must be used instead. Page 2 of 21 Document Number: 001-92647 Rev. *B ® PSoC Creator™ Component Datasheet PSoC 4 Low Power Comparator (LPComp) Component Parameters Drag a LPComp onto your design and double click it to open the Configure dialog. This dialog has the following tabs with different parameters. General Tab The LPComp provides the following parameters. Document Number: 001-92647 Rev. *B Page 3 of 21 PSoC 4 Low Power Comparator (LPComp) ® PSoC Creator™ Component Datasheet Output Configuration This parameter defines mode of the LPComp output: Direct, Synchronized, or Pulse. For PSoC 4100/4200 devices pulse is generated when the selected edge occurs on the internal comparison signal. Refer to the Functional Description section for details. Hysteresis This parameter allows you to add approximately 10 mV of hysteresis to the LPComp. This helps to ensure that slowly moving voltages or slightly noisy voltages will not cause the output of the LPComp to oscillate when the two input voltages are nearly equal. Pulse/Interrupt Configuration This parameter defines the event that will cause a pulse to be generated on the interrupt terminal or direct comparator output. The parameter allows you to select interrupt/output mode: Disabled, Rising edge, Falling edge, or Both edges. Speed/Power This parameter provides a way to optimize speed verses power consumption. The Speed/Power parameter allows you to select the speed/power level: Slow/Ultra low, Medium/Low, Fast/Normal. Interrupt Enabled This parameter allows you to configure the Interrupt Mask for PSoC 4100 BLE, PSoC 4200 BLE, PSoC 4100M, and PSoC 4200M devices. Note The pulse on the comparator interrupt output will be generated only if the Interrupt output enable is enabled. Also the LPComp_SetInterruptMask() API can be used for this purpose. Page 4 of 21 Document Number: 001-92647 Rev. *B ® PSoC Creator™ Component Datasheet PSoC 4 Low Power Comparator (LPComp) Advanced Tab Legacy output position This parameter allows you to configure the comparator output position for legacy support. By default, the Legacy output position option is selected when a design is being migrated from an existing design for PSoC 4100/PSoC 4200 devices. If the LPComp component is placed in a design for the first time, the Legacy output position option will not be selected by default. The symbol view will change for this option as follows: Document Number: 001-92647 Rev. *B Page 5 of 21 PSoC 4 Low Power Comparator (LPComp) ® PSoC Creator™ Component Datasheet Application Programming Interface Application Programming Interface (API) routines allow you to configure the component using software. The following table lists and describes the interface to each function. The subsequent sections cover each function in more detail. By default, PSoC Creator assigns the instance name "LPComp_1" to the first instance of a component in a given design. You can rename it to any unique value that follows the syntactic rules for identifiers. The instance name becomes the prefix of every global function name, variable, and constant symbol. For readability, the instance name used in the following table is "LPComp" Functions Function Description LPComp_Start() Performs all of the required initialization for the component and enables power to the block. LPComp_Stop() Turns off the LP Comparator block. LPComp_Init() Initializes or restores the component according to the customizer settings. LPComp_Enable() Activates the hardware and begins component operation. LPComp_GetCompare() This function returns a nonzero value when the voltage connected to the positive input is greater than the negative input voltage. LPComp_SetSpeed() Sets the power and speed to one of three settings. LPComp_SetHysteresis() Enables or disables the hysteresis setting. LPComp_ZeroCal() Performs custom calibration of the input offset to minimize error for a specific set of conditions. LPComp_LoadTrim() Writes a value into the comparator offset trim register. LPComp_SetOutputMode() Set comparator output mode (Direct, Synchronized or Pulse) LPComp_SetInterruptMode() Sets the interrupt edge detect mode. LPComp_GetInterruptSource() Gets the interrupt requests. LPComp_ClearInterrupt() Clears the interrupt request. LPComp_SetInterrupt() Sets a software interrupt request. LPComp_SetInterruptMask() Set interrupt mask. (Not applicable for PSoC 4100 / PSoC 4200.) LPComp_GetInterruptMask() Returns interrupt mask. (Not applicable for PSoC 4100 / PSoC 4200.) LPComp_GetInterruptSourceMasked() Returns interrupt request register masked by interrupt mask. (Not applicable for PSoC 4100 / PSoC 4200.) Page 6 of 21 Document Number: 001-92647 Rev. *B ® PSoC Creator™ Component Datasheet PSoC 4 Low Power Comparator (LPComp) void LPComp_Start(void) Description: Performs all of the required initialization for the component and enables power to the block. The first time the routine is executed, the component is initialized to the configuration from the customizer. When called to restart the comparator following a LPComp_Stop() call, the current component parameter settings are retained. Parameters: None Return Value: None Side Effects: None void LPComp_Stop(void) Description: Turns off the LP Comparator. Parameters: None Return Value: None Side Effects: The function doesn’t change component power settings. void LPComp_Init(void) Description: Initializes or restores the component according to the customizer settings. It is not necessary to call LPComp_Init() because the LPComp_Start() API calls this function and is the preferred method to begin component operation. Parameters: None Return Value: None Side Effects: None void LPComp_Enable(void) Description: Activates the hardware and begins component operation. It is not necessary to call LPComp_Enable() because the LPComp_Start() API calls this function, which is the preferred method to begin component operation. Parameters: None Return Value: None Side Effects: None Document Number: 001-92647 Rev. *B Page 7 of 21 ® PSoC 4 Low Power Comparator (LPComp) PSoC Creator™ Component Datasheet uint32 LPComp_GetCompare(void) Description: This function returns a nonzero value when the voltage connected to the positive input is greater than the negative input voltage. This function reads the direct (unflopped) comparator output, which can also be metastable (since it may result in incorrect data). Parameters: None Return Value: Comparator output state. This value is not impacted by the interrupt edge detect setting. Side Effects: None void LPComp_SetSpeed(uint32 speed) Description: Sets the power and speed to one of three settings. Parameters: speed: Enumerated speed mode value Name Description LPComp_LOW_SPEED Slow speed / Ultra low power LPComp_MED_SPEED Medium speed / Low power LPComp_HIGH_SPEED High speed / Normal power Return Value: None Side Effects: None void LPComp_SetHysteresis(uint32 hysteresis) Description: Enables or disables the hysteresis setting. Parameters: hysteresis: Hysteresis enable. See table below. Name LPComp_HYST_ENABLE Enable hysteresis LPComp_HYST_DISABLE Disable hysteresis Return Value: None Side Effects: None Page 8 of 21 Description Document Number: 001-92647 Rev. *B ® PSoC Creator™ Component Datasheet PSoC 4 Low Power Comparator (LPComp) uint32 LPComp_ZeroCal(void) Description: Performs custom calibration of the input offset to minimize error for a specific set of conditions: comparator reference voltage, supply voltage, and operating temperature. A reference voltage in the range at which the comparator will be used must be applied to the negative input. The positive input will be disconnected from the external source and shorted internally to the negative input to perform the offset calibration. Parameters: None Return Value: The value from the comparator trim register after the offset calibration is complete. This value has the same format as the input parameter for the LPComp_LoadTrim() API routine. Side Effects: During this function the positive input terminal is disconnected. This may impact other components that are also using this signal. void LPComp_LoadTrim(uint32 trimVal) Description: This function writes a value into the comparator offset trim register. Parameters: trimVal: Value to be stored in the comparator offset trim register. This value has the same format as the parameter returned by the LPComp_ZeroCal() API routine. Return Value: None Side Effects: None void LPComp_SetOutputMode (uint32 mode) Description: Set comparator output mode. Parameters: mode: Comparator output mode value. See table below. Name Description LPComp_OUT_DIRECT Direct output LPComp_OUT_SYNC Synchronized output LPComp_OUT_PULSE Pulse output Return Value: None Side Effects: None Document Number: 001-92647 Rev. *B Page 9 of 21 ® PSoC 4 Low Power Comparator (LPComp) PSoC Creator™ Component Datasheet void LPComp_SetInterruptMode(uint32 mode) Description: Sets the interrupt edge detect mode. This also controls the value provided on the output. Parameters: mode: Enumerated edge detect mode value. See table below. Name Description LPComp_INTR_DISABLE Disable LPComp_INTR_RISING Rising edge detect LPComp_INTR_FALLING Falling edge detect LPComp_INTR_BOTH Detect both edges Return Value: None Side Effects: None uint32 LPComp_GetInterruptSource(void) Description: Gets the interrupt requests. This function is used with the combined interrupt signal from the global signal reference. This function from either component instance can be used to determine the interrupt source for both the interrupts combined. Parameters: None Return Value: Interrupt source. Each component instance has a mask value: LPComp_INTR. Side Effects: None void LPComp_ClearInterrupt(uint32 interruptMask) Description: Clears the interrupt request. This function is used with the combined interrupt signal from the global signal reference. This function from either component instance can be used to clear either or both interrupts. Parameters: interruptMask: Mask of interrupts to clear. Each component instance has a mask value: LPComp_INTR. Return Value: None Side Effects: None Page 10 of 21 Document Number: 001-92647 Rev. *B ® PSoC Creator™ Component Datasheet PSoC 4 Low Power Comparator (LPComp) void LPComp_SetInterrupt(uint32 interruptMask) Description: Sets a software interrupt request. This function is used with the combined interrupt signal from the global signal reference. This function from either component instance can be used to trigger either or both software interrupts. Parameters: interruptMask: Mask of interrupts to set. Each component instance has a mask value: LPComp_INTR. Return Value: None Side Effects: None void LPComp_SetInterruptMask (uint32 interruptMask) Description: Configures which bits of interrupt request register will trigger an interrupt event. This API is not applicable for PSoC 4100 / PSoC 4200 devices. Parameters: interruptMask: bit-mask of interrupt sources to be enabled. Each component instance has a mask value: LPComp_INTR_MASK. Return Value: None Side Effects: None uint32 LPComp_GetInterruptMask (void) Description: Returns interrupt mask. This API is not applicable for PSoC 4100 / PSoC 4200 devices. Parameters: None Return Value: Mask of enabled interrupt source. Each component instance has a mask value: LPComp_INTR_MASK. Side Effects: None uint32 LPComp_GetInterruptSourceMasked (void) Description: Returns interrupt request register masked by interrupt mask. Returns the result of bitwise AND operation between corresponding interrupt request and mask bits. This API is not applicable for PSoC 4100 / PSoC 4200 devices. Parameters: None Return Value: Mask of enabled interrupt source. Each component instance has a mask value: LPComp_INTR_MASKED. Side Effects: None Document Number: 001-92647 Rev. *B Page 11 of 21 ® PSoC 4 Low Power Comparator (LPComp) PSoC Creator™ Component Datasheet Global Variables Function Description LPComp_initVar Indicates whether the Low Power Comparator has been initialized. The variable is initialized to 0 and set to 1 the first time LPComp_Start() is called. This allows the component to restart without reinitialization after the first call to the LPComp_Start() routine. If reinitialization of the component is required, call LPComp_Init() before calling LPComp_Start(). Alternatively, the Comparator can be reinitialized by calling the LPComp_Init() and LPComp_Enable() functions Sample Firmware Source Code PSoC Creator provides numerous example projects that include schematics and example code in the Find Example Project dialog. For component-specific examples, open the dialog from the Component Catalog or an instance of the component in a schematic. For general examples, open the dialog from the Start Page or File menu. As needed, use the Filter Options in the dialog to narrow the list of projects available to select. Refer to the "Find Example Project" topic in the PSoC Creator Help for more information. MISRA Compliance This section describes the MISRA-C:2004 compliance and deviations for the component. There are two types of deviations defined: project deviations – deviations that are applicable for all PSoC Creator components specific deviations – deviations that are applicable only for this component This section provides information on component-specific deviations. Project deviations are described in the MISRA Compliance section of the System Reference Guide along with information on the MISRA compliance verification environment. The LPComp component has the following specific deviations: MISRA-C: 2004 Rule 19.7 Page 12 of 21 Rule Class (Required/Advisory) A Rule Description Description of Deviation(s) A function is used in preference to a function-like macro. Deviated since function-like macros are used to allow more efficient code. Document Number: 001-92647 Rev. *B ® PSoC Creator™ Component Datasheet PSoC 4 Low Power Comparator (LPComp) API Memory Usage The component memory usage varies significantly depending on the compiler, device, number of APIs used and component configuration. The following table provides the memory usage for all APIs available in the given component configuration. The measurements have been done with an associated compiler configured in Release mode with optimization set for Size. For a specific design, the map file generated by the compiler can be analyzed to determine the memory usage. PSoC 4 (GCC) Configuration Default PSoC 4100/PSoC 4200 PSoC 4100 BLE/PSoC 4200 BLE, PSoC 4100M/PSoC 4200M Flash Bytes SRAM Bytes Flash Bytes SRAM Bytes 552 8 700 8 Document Number: 001-92647 Rev. *B Page 13 of 21 PSoC 4 Low Power Comparator (LPComp) ® PSoC Creator™ Component Datasheet Functional Description The Low Power Comparator is intended to be operational in all power modes, including Hibernate/Deep Sleep. The main purpose of this component is to offer fast detection capability in normal operating modes and ultra-low power operation in hibernate mode. LPComp can be offset calibrated. However, even without trim, the offset is around 10 mV, and thus it is not recommended to trim it. Block Diagram and Configuration A high-level block diagram is shown below. In PSoC 4100 BLE, PSoC 4200 BLE, PSoC 4100M, and PSoC 4200M devices, each comparator has one HW output. It comes from three sources: Direct comparator output Synchronized to SYSCLK using two flip-flops Edge detected pulse which have period 2*SYSCLK. Individual comparator interrupt outputs are ORed together as single asynchronous interrupt source before sent out and used to wakeup system in low power mode. For PSoC 4100 BLE, Page 14 of 21 Document Number: 001-92647 Rev. *B ® PSoC Creator™ Component Datasheet PSoC 4 Low Power Comparator (LPComp) PSoC 4200 BLE, PSoC 4100M, and PSoC 4200M devices, the individual comparator interrupt is masked by INTR_MASK. The masked result is captured in INTR_MASKED register. Writing 1 to INTR register bit will clear the interrupt. Refer to the appropriate device Technical Reference Manual (TRM) for a detailed description of the registers. Interrupt Service Routine The LPComp supports interrupts on the various events, depends on Pulse/Interrupt configuration settings: Rising edge, Falling edge or Both edges. Interrupt signal goes high when any of the enabled interrupt configurations are true. Note Interrupt is not cleared automatically. It is user responsibility to do that. Interrupt is cleared by writing a ‘1’ in corresponding interrupt register bit position. The preferred way to clear interrupt sources is usage LPComp_ClearInterrupt(LPComp_INTR) API. There are two ways for access to the LPComp interrupt depending on the Legacy output position option. Legacy output position option is set. Legacy output position option is NOT set. The following code is suggested: CY_ISR(LPComp_Interrupt) { /* Interrupt does not clear automatically. * It is user responsibility to do that. */ LPComp_ClearInterrupt(LPComp_INTR); } /* * Add user interrupt code to manage interrupt. */ void main() { LPComp_Start(); isr_StartEx(LPComp_Interrupt); Document Number: 001-92647 Rev. *B Page 15 of 21 PSoC 4 Low Power Comparator (LPComp) ® PSoC Creator™ Component Datasheet CyGlobalIntEnable; /* Enable global interrupts. */ } for(;;) { /* Place your application code here. */ } Operation in Low Power Mode Low Power Comparator operates in Deep Sleep/Hibernate Mode only if Speed/Power option is set to Slow/Ultra low. This component can be used along with the Global Signal component as a wakeup source from Deep Sleep/Hibernate mode as described below. Create schematic next schematic. The option “Combined low power comparator interrupt (LPCompInt)” should be selected as a source for an interrupt in the Global Signal Reference component. This component triggers the output each time any of the enabled low power comparators generates an interrupt. The LPComp component input pins must be assigned to dedicated inputs only (P0[0], P0[1] for LPCOMP0, and P0[2], P0[3] for LPCOMP1 in case of the PSoC 4100/PSoC 4200). Refer to the device datasheet for the part being used for the specific physical pin connections. Page 16 of 21 Document Number: 001-92647 Rev. *B ® PSoC Creator™ Component Datasheet PSoC 4 Low Power Comparator (LPComp) The wakeup event is when the voltage connected to the positive input (Pin_1) is greater than the negative input voltage (Pin_2). The following code is suggested: CY_ISR(LPComp_Interrupt) { /* Interrupt does not clear automatically. * It is user responsibility to do that. */ LPComp_ClearInterrupt(LPComp_INTR); } /* * Add user interrupt code to manage interrupt. */ void main() { LPComp_Start(); isr_StartEx(LPComp_Interrupt); CyGlobalIntEnable; /* Enable global interrupts. */ LPComp_SetInterruptMode(LPComp_INTR_RISING); LPComp_SetInterruptMask(LPComp_INTR_MASK); for(;;) { /* Place your application code here. */ CySysPmDeepSleep(); /* Enter Deep Sleep mode*/ } } /* Place your application code here. */ Placement Each comparator is directly connected to specific GPIOs for its inputs. The output connection is routed to the digital fabric. Refer to the device datasheet for the part being used for the specific physical pin connections. Registers See the chip Technical Reference Manual (TRM) for more information about registers. Document Number: 001-92647 Rev. *B Page 17 of 21 ® PSoC 4 Low Power Comparator (LPComp) PSoC Creator™ Component Datasheet Component Debug Window PSoC Creator allows you to view debug information about components in your design. Each component window lists the memory and registers for the instance. For detailed hardware registers descriptions, refer to the appropriate device technical reference manual. For detailed UDB registers descriptions used in the component, refer to the Registers section of this datasheet. To open the Component Debug window: 1. Make sure the debugger is running or in break mode. 2. Choose Windows > Components… from the Debug menu. 3. In the Component Window Selector dialog, select the component instances to view and click OK. The selected Component Debug window(s) will open within the debugger framework. Refer to the "Component Debug Window" topic in the PSoC Creator Help for more information. Resources This component uses one of the LP Comparators from the pair of comparators in the LP Comparator hardware block. DC and AC Electrical Characteristics Specifications are valid for –40 °C ≤ TA ≤ 85 °C and TJ ≤ 100 °C, except where noted. Specifications are valid for 1.71 V to 5.5 V, except where noted. DC Specifications Parameter Description Conditions Min Typ Max Units – – ±4 mV VOFFSET2 Input offset voltage, custom trim VOFFSET2 Input offset voltage, custom trim For PSoC 4 BLE family – – ±6 mV VOFFSET2 Input offset voltage. Common Mode Voltage Range from 0 to VDD-1 For PSoC 4100M/ PSoC 4200M – – ±4 mV VHYST Hysteresis when enabled – 10 35 mV VHYST Hysteresis when enabled. Common Mode Voltage Range from 0 to VDD -1. For PSoC 4100M/ PSoC 4200M – 10 35 mV VICM1 Input common mode voltage in normal mode Modes 1 and 2 0 – VDDD – 0.1 V VICM2 Input common mode voltage in low power mode 0 – VDDD V Page 18 of 21 Document Number: 001-92647 Rev. *B ® PSoC Creator™ Component Datasheet Parameter Description PSoC 4 Low Power Comparator (LPComp) Conditions Min Typ Max Units 0 – VDDD – 1.15 V VICM2 Input common mode voltage in ultra low power mode CMRR Common mode rejection ratio VDDD ≥ 2.7V 50 – – dB CMRR Common mode rejection ratio VDDD < 2.7V 42 – – dB ICMP1 Block current, normal mode – – 280 µA ICMP1 Block current, normal mode – – 400 µA ICMP2 Block current, low power mode – – 50 µA ICMP2 Block current, low power mode – – 100 µA ICMP3 Block current, ultra low power mode – – 6 µA ICMP3 Block current, ultra low power mode – 6 28 µA ZCMP DC input impedance of comparator 35 – – MΩ Min Typ Max Units For PSoC 4 BLE family, PSoC 4100M/ PSoC 4200M For PSoC 4 BLE family, PSoC 4100M/ PSoC 4200M PSoC 4100M/ PSoC 4200M AC Specifications Parameter Description Conditions TRESP1 Response time, normal mode 50 mV overdrive – – 38 ns TRESP1 Response time, normal mode 50 mV overdrive, PSoC 4100M/ PSoC 4200M – – 110 ns TRESP2 Response time, low power mode 50 mV overdrive – – 70 ns TRESP2 Response time, low power mode 50 mV overdrive, PSoC 4100M/ PSoC 4200M – – 200 ns TRESP3 Response time, ultra low power mode 200 mV overdrive – – 2.3 µs TRESP3 Response time, ultra low power mode 200 mV overdrive, PSoC 4100M/ PSoC 4200M – – 15 µs Document Number: 001-92647 Rev. *B Page 19 of 21 PSoC 4 Low Power Comparator (LPComp) ® PSoC Creator™ Component Datasheet Component Changes This section lists the major changes in the component from the previous version. Version 2.0.b Description of Changes Datasheet edits. Reason for Changes / Impact Updated information to include PSoC 4100M and PSoC 4200M devices. Updated block diagram in the Functional Description section. Updated description of the Output Configuration. Updated DC and AC Electrical Characteristics section with PSoC 4100M/ PSoC 4200M data. 2.0.a Datasheet edits. Updated characterization data for BLE devices. Clarified that the new APIs are not applicable to PSoC 4100 / PSoC 4200 devices: LPComp_SetInterruptMask(), LPComp_GetInterruptMask(), LPComp_GetInterruptSourceMasked() 2.0 Added new APIs: Updates to support PSoC 4200 BLE devices. LPComp_SetInterruptMask(), LPComp_GetInterruptMask(), LPComp_GetInterruptSourceMasked() Added Output Configuration settings on General Tab. For manual output control the LPComp_SetOutputMode() API was added. Updated Functional Description section. Added Advanced Tab with Legacy output position settings. This provides backwards compatibility with PSoC 4100 / PSoC 4200 designs. Added note on customizer that in Hibernate mode when Speed/Power selection is set to “Slow/Ultra low” the "Rising edge" and "Falling edge" selections are not available. In Hibernate mode the comparator output will actually get an interrupt for both edges even rising or falling edge options are set. The issue only applies to PSoC 4100 / PSoC 4200 devices. There is no problem if the comparator is not used in Hibernate mode or if the Pulse/Interrupt configuration is already set Both edges. Speed/Power settings on the customizer and description of the defines for SetSpeed() API were renamed to “Slow/Ultra low”, “Medium/Low” and “Fast/Normal” to match device datasheet. Filter option was removed from the component General Tab. SetFilter() API preserved for backward compatibility, but is not recommended for use. 1.0.b Updated description of the Interrupt output Page 20 of 21 Document Number: 001-92647 Rev. *B ® PSoC Creator™ Component Datasheet Version Description of Changes 1.0.a Updated datasheet. 1.0 New Component PSoC 4 Low Power Comparator (LPComp) Reason for Changes / Impact Removed the VOFFSET1 spec. © Cypress Semiconductor Corporation, 2014-2015. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control, or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. PSoC® is a registered trademark, and PSoC Creator™ and Programmable System-on-Chip™ are trademarks of Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced herein are property of the respective corporations. Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress. Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in lifesupport systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Use may be limited by and subject to the applicable Cypress software license agreement. Document Number: 001-92647 Rev. *B Page 21 of 21