Pulse Generator

get_pg_external_base(dev_id), gpgeb()
set_pg_external_base(dev_id), spgeb()
start_pg(dev_id), spg()
stop_pg(dev_id), stppg()

Start/stop a pulse generator, get/set the external base rate.

get_pg_divider(dev_id), gppd()
set_pg_divider(dev_id), spgd()

DGG2 feature: gets/sets the clock output divider. Calls to start_timer() reset the rate to 1 MHz.

e.g.:
spgd(t5) = 9
Sets the output rate to 100 kHz.
spgd(t5) = 0
Sets the output rate to 1 MHz.