| 378 | } |
| 379 | |
| 380 | int 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 |
nothing calls this directly
no test coverage detected