MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / isEnabled

Method isEnabled

libraries/TCA9548/TCA9548.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92
93bool TCA9548::isEnabled(uint8_t channel)
94{
95 if (channel > 7) return false;
96 return (_mask & (0x01 << channel));
97}
98
99
100bool TCA9548::disableAllChannels()

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36