Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
pigpio._callback Class Reference

List of all members.

Public Member Functions

def __init__
def cancel
def reset_tally
def tally

Public Attributes

 callb
 count

Private Member Functions

def _tally

Private Attributes

 _notify
 _reset

Detailed Description

A class to provide GPIO level change callbacks.

Definition at line 1193 of file pigpio.py.


Constructor & Destructor Documentation

def pigpio._callback.__init__ (   self,
  notify,
  user_gpio,
  edge = RISING_EDGE,
  func = None 
)
Initialise a callback and adds it to the notification thread.

Definition at line 1196 of file pigpio.py.


Member Function Documentation

def pigpio._callback._tally (   self,
  user_gpio,
  level,
  tick 
) [private]
Increment the callback called count.

Definition at line 1212 of file pigpio.py.

def pigpio._callback.cancel (   self)
Cancels a callback by removing it from the notification thread.

Definition at line 1208 of file pigpio.py.

Resets the tally count to zero.

Definition at line 1229 of file pigpio.py.

def pigpio._callback.tally (   self)
Provides a count of how many times the default tally
callback has triggered.

The count will be zero if the user has supplied their own
callback function.

Definition at line 1219 of file pigpio.py.


Member Data Documentation

Definition at line 1198 of file pigpio.py.

Definition at line 1198 of file pigpio.py.

Definition at line 1198 of file pigpio.py.

Definition at line 1198 of file pigpio.py.


The documentation for this class was generated from the following file:


cob_hand_bridge
Author(s): Mathias L├╝dtke
autogenerated on Thu Jun 6 2019 20:43:57