X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fpin_test.c;h=8640a60df6c69999cbc49ea9c4ecf09649568872;hb=27ff700c938e48bd88ca63575d65575150d9e842;hp=77c0ef9a32064428e047e9368635581c2ffe6547;hpb=c8f70bb5f4a576f1fd072ae16df7527a4e1800e8;p=matches%2FMCTX3420.git diff --git a/server/pin_test.c b/server/pin_test.c index 77c0ef9..8640a60 100644 --- a/server/pin_test.c +++ b/server/pin_test.c @@ -30,6 +30,12 @@ void Pin_Close() PWM_Unexport(i); } +/** + * Configures a pin (Export/Unexport business) + * @param type The pin type (GPIO/PWM/ADC) + * @param pin_export Whether to export/unexport/leave-as-is the pin + * @param num The pin number + */ bool Pin_Configure(const char *type, int pin_export, int num) { bool ret = true;