Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ getChannelMask
Method
getChannelMask
libraries/TCA9548/TCA9548.cpp:117–125 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
115
116
117
uint8_t TCA9548::getChannelMask()
118
{
119
if (_forced) // read from device.
120
{
121
_wire->requestFrom(_address, 1);
122
_mask = _wire->read();
123
}
124
return _mask;
125
}
126
127
128
void TCA9548::setResetPin(uint8_t resetPin)
Callers
1
unittest
Function · 0.80
Calls
1
read
Method · 0.45
Tested by
1
unittest
Function · 0.64