37int cm108_dcd_get(hamlib_port_t *p, dcd_t *dcdx);
39extern HAMLIB_EXPORT(
int) cm108_write_data(hamlib_port_t *p,
42extern HAMLIB_EXPORT(
int) cm108_write_control(hamlib_port_t *p,
43 unsigned char control);
45extern HAMLIB_EXPORT(
int) cm108_read_data(hamlib_port_t *p,
48extern HAMLIB_EXPORT(
int) cm108_read_control(hamlib_port_t *p,
49 unsigned char *control);
51extern HAMLIB_EXPORT(
int) cm108_read_status(hamlib_port_t *p,
52 unsigned char *status);
54extern HAMLIB_EXPORT(
int) cm108_lock(hamlib_port_t *p);
56extern HAMLIB_EXPORT(
int) cm108_unlock(hamlib_port_t *p);
int cm108_ptt_get(hamlib_port_t *p, ptt_t *pttx)
Get the state of Push To Talk from a CM108 GPIO.
Definition cm108.c:353
int cm108_ptt_set(hamlib_port_t *p, ptt_t pttx)
Set or unset the Push To Talk bit on a CM108 GPIO.
Definition cm108.c:270
__BEGIN_DECLS int cm108_open(hamlib_port_t *p)
Open CM108 HID port (/dev/hidrawX).
Definition cm108.c:171
int cm108_close(hamlib_port_t *p)
Close a CM108 HID port.
Definition cm108.c:248
ptt_t
PTT status.
Definition rig.h:679
Hamlib rig data structures.