FreescaleBEMF
 
Component FreescaleBEMF
Back ElectroMagnetic Force
Component Level: Low
Methods:
(Methods are user-callable functions/subroutines intended for the component functions control. Please see the Embedded Components page for more information.)
  • Active - This method determines, if the BEMF counter is active (increments its value). Activity depends on BEMF input pin.

      ANSIC prototype: bool Active(void)
    • Return value:bool - BEMF activity.

  • GetValue - This method returns BEMF counter value. A read access to the BEMF counter resets its value to zero.

      ANSIC prototype: byte GetValue(void)
    • Return value:byte - BEMF counter value.

  • Reset - This method explicitly resets the BEMF counter to zero.

      ANSIC prototype: void Reset(void)


Note: Some methods can be implemented as macros.