|
def | _tally (self, user_gpio, level, tick) |
|
A class to provide GPIO level change callbacks.
Definition at line 1193 of file pigpio.py.
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.
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.
The documentation for this class was generated from the following file: