MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / dds60_open

Function dds60_open

rigs/kit/dds60.c:380–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380int dds60_open(RIG *rig)
381{
382 hamlib_port_t *port = RIGPORT(rig);
383
384 /* lock the parallel port */
385 par_lock(port);
386
387 /* Serial load enable sequence W_CLK */
388 par_write_data(port, 0);
389 ad_delay(1);
390
391 par_write_data(port, CLOCK);
392 ad_delay(1);
393
394 par_write_data(port, 0);
395 ad_delay(1);
396
397 /* Serial load enable sequence FQ_UD */
398 par_write_data(port, LOAD);
399 ad_delay(1);
400 par_write_data(port, 0);
401
402 /* unlock the parallel port */
403 par_unlock(port);
404
405 return RIG_OK;
406}
407

Callers

nothing calls this directly

Calls 4

par_lockFunction · 0.85
par_write_dataFunction · 0.85
par_unlockFunction · 0.85
ad_delayFunction · 0.70

Tested by

no test coverage detected