You are here

User Module Datasheet: 16-Bit Counter Datasheet Counter16 V 2.5 (CY8C29/27/24/22/21xxx, CY8C23x33, CYWUSB6953, CY7C64215, CY8CLED02/04/08/16, CY8CLED0xD, CY8CLED0xG, CY8CTST110, CY8CTMG110, CY8CTST120, CY8CTMG120, CY8CTMA120, CY8C21x45, CY8C22x45, CY... | Cypress Semiconductor

User Module Datasheet: 16-Bit Counter Datasheet Counter16 V 2.5 (CY8C29/27/24/22/21xxx, CY8C23x33, CYWUSB6953, CY7C64215, CY8CLED02/04/08/16, CY8CLED0xD, CY8CLED0xG, CY8CTST110, CY8CTMG110, CY8CTST120, CY8CTMG120, CY8CTMA120, CY8C21x45, CY8C22x45, CY...

Last Updated: 
Oct 22, 2012
Version: 
2.5

Features and Overview

  • The 16-bit general purpose counter uses two PSoC blocks
  • Source clock rates up to 48 MHz
  • Automatic reload of period on terminal count
  • Programmable pulse width
  • Input enables/disables continuous counter operation
  • Interrupt option on compare output or terminal count
     

The 16-bit Counter User Modules provide a down counter with a programmable period and pulse width. The clock and enable signals can be selected from any system time base or external source. Once started, the counter operates continuously and reloads its internal value from the period register upon reaching terminal count. During each clock cycle, the counter compares the current count to the value stored in the compare register. Each clock cycle, the Counter tests the count against the value of the compare register for either a “less than” or “less than or equal to” condition. The comparator output provides a logic level that may be routed to pins and to other user modules. Most PSoC device families also permit the terminal count output to be routed in the same manner. If your device has this ability, it is shown in the device editor. An interrupt can be programmed to trigger when the counter reaches the terminal count or when the comparator (primary) output is asserted.

Translated documents are for reference only. We recommend that you refer to the English-language version of a document if you are engaged in development of a design.