hw_pin.h 187 B

123456789101112
  1. #ifndef __HW_PIN_H__
  2. #define __HW_PIN_H__
  3. #include "st_sys.h"
  4. typedef struct
  5. {
  6. uint16_t * idr;
  7. uint16_t * odr;
  8. uint16_t pin;
  9. uint16_t level;
  10. } hw_pin_readwrite_t;
  11. #endif