pytgl: Add callback struct generator to callbacks.py
pytgl: Add timer callbacks and generator