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

Method getFletcher

libraries/Fletcher/Fletcher16.cpp:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64
65uint16_t Fletcher16::getFletcher()
66{
67 if (_s1 >= FLETCHER_16) _s1 -= FLETCHER_16;
68 if (_s2 >= FLETCHER_16) _s2 -= FLETCHER_16;
69 return (((uint16_t)_s2) << 8) | _s1;
70};
71
72
73uint32_t Fletcher16::count()

Callers 4

unittestFunction · 0.45
fletcher16_nextFunction · 0.45
fletcher32_nextFunction · 0.45
fletcher64_nextFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36