Skip to content

Commit 56e7514

Browse files
committed
Modiffied _ns_mack member's comment in Bus classes (BusIn, BusOUt, BusInOut)
1 parent 8690af3 commit 56e7514

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

libraries/mbed/api/BusIn.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ class BusIn {
8383
protected:
8484
DigitalIn* _pin[16];
8585

86-
/** Mask of NC pins, if bit [n] bit is set to 1, [n] pin in bus is in NC state
86+
/** Mask of bus's NC pins
87+
* If bit[n] is set to 1 - pin is connected
88+
* if bit[n] is cleared - pin is not connected (NC)
8789
*/
8890
int _nc_mask;
8991

libraries/mbed/api/BusInOut.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ class BusInOut {
9898
protected:
9999
DigitalInOut* _pin[16];
100100

101-
/** Mask of NC pins, if bit [n] bit is set to 1, [n] pin in bus is in NC state
101+
/** Mask of bus's NC pins
102+
* If bit[n] is set to 1 - pin is connected
103+
* if bit[n] is cleared - pin is not connected (NC)
102104
*/
103105
int _nc_mask;
104106

libraries/mbed/api/BusOut.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ class BusOut {
8686
protected:
8787
DigitalOut* _pin[16];
8888

89-
/** Mask of NC pins, if bit [n] bit is set to 1, [n] pin in bus is in NC state
89+
/** Mask of bus's NC pins
90+
* If bit[n] is set to 1 - pin is connected
91+
* if bit[n] is cleared - pin is not connected (NC)
9092
*/
9193
int _nc_mask;
9294

0 commit comments

Comments
 (0)