TwoKeys
 
 
 Bean TwoKeys
 
Bean generated by Bean Creator

Methods are user callable functions/subroutines that are means of controlling the bean functions.

Methods:

  • Enable - This method enables the bean

      ANSIC prototype: void Enable(void)

  • Disable - This method disables the bean

      ANSIC prototype: void Disable(void)

  • GetVal - Get the state of the buttons

      ANSIC prototype: void GetVal(bool *But1,bool *But2)
    • But1: Pointer to bool - State of the Button 1 - TRUE = pressed
    • But2: Pointer to bool - State of the button 2 - TRUE = pressed


Note: Some methods can be implemented as macros.



Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.