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

Method setPhase

libraries/AD985X/AD985X.cpp:143–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142
143bool AD9850::setPhase(uint8_t phase)
144{
145 if (phase > 31) return false;
146 _config &= 0x07;
147 _config |= (phase << 3);
148 writeData();
149 return true;
150}
151
152
153uint8_t AD9850::getPhase()

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36