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

Function ars_set_ctrl_pin

rotators/ars/ars.c:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99static int ars_set_ctrl_pin(ROT *rot, unsigned char pin)
100{
101 hamlib_port_t *pport = ROTPORT(rot);
102 struct ars_priv_data *priv = (struct ars_priv_data *)ROTSTATE(rot)->priv;
103
104 priv->pp_control |= pin;
105
106 return par_write_control(pport, priv->pp_control);
107}
108
109static int ars_clear_data_pin(ROT *rot, unsigned char pin)
110{

Callers 2

ars_moveFunction · 0.85
ars_get_positionFunction · 0.85

Calls 1

par_write_controlFunction · 0.85

Tested by

no test coverage detected