Several-button Reset

Several-button Reset

定时Functions Application

Pressing and holding several buttons to initiate a hard reset is a common interface in many devices. Implementing this application in a separate IC ensures the reset will be acknowledged and acted upon, even if the rest of the system is experiencing one or more software, firmware, or hardware issues.

Ingredients

  • 任何GreenPak.
  • 不需要其他组件

GreenPak图

Design Steps

  1. Configure an I/O as an input for each button.
  2. 添加LUT逻辑以在两个按钮处于活动状态时创建HI信号。逻辑取决于每个信号是有效的还是高电平的。
  3. 配置CNT / DLY块Delay模式,有Edge selectconfigured toRising. Set the计数数据to create the desired length of button hold time. For an active-low pulse change theOutput polaritytoNon-inverted (OUT).
  4. Configure a second CNT/DLY block to一枪模式,有Edge selectconfigured toRising. Set the计数数据创建所需的脉冲长度。对于有效的低脉冲改变Output polarityto倒(Nout).
  5. Connect the CNT/DLY block’s output to an output pin.

资源

GreenPak设计师文件