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

Method setBitOrder

libraries/FastShiftIn/FastShiftIn.cpp:131–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130
131bool FastShiftIn::setBitOrder(const uint8_t bitOrder)
132{
133 if ((bitOrder == LSBFIRST) || (bitOrder == MSBFIRST))
134 {
135 _bitOrder = bitOrder;
136 return true;
137 };
138 return false;
139}
140
141
142uint8_t FastShiftIn::getBitOrder(void)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36