_PortStates_struct.h 700 B

123456789101112131415161718
  1. typedef byte Exp_state_T ;
  2. const Exp_state_T Exp_state_OFF = B00000001 ;
  3. const Exp_state_T Exp_state_ON = B00000010 ;
  4. const Exp_state_T Exp_state_ON_LOW = B00000100 ; // = pwm 10
  5. const Exp_state_T Exp_state_ON_MED = B00001000 ; // = pwm * 10
  6. const Exp_state_T Exp_state_ON_HI = B00010000 ; // = pwm * 2
  7. const Exp_state_T Exp_state_BLINK = B00100000 ;
  8. const Exp_state_T Exp_state_SET = B01000000 ; //when was initialized and set output
  9. const Exp_state_T Exp_state_ERROR = B10000000 ;
  10. //const Exp_state_T Exp_state_TOGGLE = B10000000 ;
  11. //const Exp_state_OFF 0x01
  12. //#define Exp_state_ON 0x02