hw_io_pin.h 367 B

1234567891011121314
  1. #ifndef __IO_PIN_H__
  2. #define __IO_PIN_H__
  3. #define IO_PIN_INPUT_NUMBER 20
  4. #define IO_PIN_OUTPUT_NUMBER 19
  5. void hw_io_pin_init(void);
  6. void hw_io_pin_output(unsigned short index, int sta);
  7. int hw_io_pin_input(unsigned short index);
  8. void hw_io_output_enable(void);
  9. void hw_io_output_disable(void);
  10. int hw_io_power_is_off(void);
  11. void hw_io_close_all(void);
  12. #endif