Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
pigpio._callback Class Reference

Public Member Functions

def __init__ (self, notify, user_gpio, edge=RISING_EDGE, func=None)
 
def cancel (self)
 
def reset_tally (self)
 
def tally (self)
 

Public Attributes

 callb
 
 count
 

Private Member Functions

def _tally (self, user_gpio, level, tick)
 

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.

def pigpio._callback.reset_tally (   self)
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

pigpio._callback._notify
private

Definition at line 1200 of file pigpio.py.

pigpio._callback._reset
private

Definition at line 1202 of file pigpio.py.

pigpio._callback.callb

Definition at line 1205 of file pigpio.py.

pigpio._callback.count

Definition at line 1201 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 Tue Oct 20 2020 03:35:58