added some doc comments

This commit is contained in:
2018-01-07 11:22:31 +01:00
parent 766cfdba06
commit ad39fc280f
5 changed files with 109 additions and 14 deletions
+1
View File
@@ -173,6 +173,7 @@ static void DI_deInit(Unit *unit)
// ------------------------------------------------------------------------
/** Read request */
error_t UU_DI_Read(Unit *unit, uint16_t *packed)
{
CHECK_TYPE(unit, &UNIT_DIN);
+9
View File
@@ -9,4 +9,13 @@
extern const UnitDriver UNIT_DIN;
/**
* Read pins
*
* @param unit
* @param packed - output; the packed (right aligned) bits representing the pins, highest to lowest, are written here.
* @return success
*/
error_t UU_DI_Read(Unit *unit, uint16_t *packed);
#endif //U_DIN_H