Subversion Repositories pentevo

Rev

Rev 219 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed | ?url?

  1. #ifndef __ATX_H__
  2. #define __ATX_H__
  3.  
  4. /**
  5.  * @file
  6.  * @brief ATX power support.
  7.  * @author http://www.nedopc.com
  8.  *
  9.  * ATX power switching:
  10.  * - switch on ATX power on start by press "soft reset" button;
  11.  * - switch off ATX power by press "soft reset" button on 5 seconds.
  12.  */
  13.  
  14. /** Counter for atx power off delay. */
  15. extern volatile UWORD atx_counter;
  16.  
  17. /** Wait for press "soft reset" to ATX power on. */
  18. void wait_for_atx_power(void);
  19.  
  20. /**
  21.  * Check for atx power off switch.
  22.  */
  23. void atx_power_task(void);
  24.  
  25. #endif //__ATX_H__
  26.