Skip to content

Commit 4451f27

Browse files
author
neil.hamilton
committed
Add ps6000aSetExternalClock function to ps6000a.py
1 parent 75353e6 commit 4451f27

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

picosdk/ps6000a.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,4 +814,12 @@ def __init__(self):
814814
int16_t handle,
815815
PicoTemperatureSensorInteractions callback
816816
); """
817-
ps6000a.make_symbol("_SetTemperatureSensroInteractionCallback", "ps6000aSetTemperatureSensorInteractionCallback", c_uint32, [c_int16, c_void_p], doc)
817+
ps6000a.make_symbol("_SetTemperatureSensroInteractionCallback", "ps6000aSetTemperatureSensorInteractionCallback", c_uint32, [c_int16, c_void_p], doc)
818+
819+
doc = """ PICO_STATUS ps6000aSetExternalClock
820+
(
821+
int16_t handle,
822+
PICO_EXTERNAL_FREQUENCY frequency,
823+
int16_t threshold
824+
); """
825+
ps6000a.make_symbol("_SetExternalClock", "ps6000aSetExternalClock", c_uint32, [c_int16, c_uint32, c_int16], doc)

0 commit comments

Comments
 (0)