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

Function ars_clear_ctrl_pin

rotators/ars/ars.c:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87/* ************************************************************************* */
88
89static int ars_clear_ctrl_pin(ROT *rot, unsigned char pin)
90{
91 hamlib_port_t *pport = ROTPORT(rot);
92 struct ars_priv_data *priv = (struct ars_priv_data *)ROTSTATE(rot)->priv;
93
94 priv->pp_control &= ~pin;
95
96 return par_write_control(pport, priv->pp_control);
97}
98
99static int ars_set_ctrl_pin(ROT *rot, unsigned char pin)
100{

Callers 3

ars_stopFunction · 0.85
ars_moveFunction · 0.85
ars_get_positionFunction · 0.85

Calls 1

par_write_controlFunction · 0.85

Tested by

no test coverage detected