MCPcopy Create free account
hub / github.com/kiibohd/controller / printHex_op

Function printHex_op

Bootloader/debug.c:269–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267
268
269void printHex_op( uint32_t in, uint8_t op )
270{
271 // With an op of 1, the max number of characters is 6 + 1 for null
272 // e.g. "0xFFFF\0"
273 // op 2 and 4 require fewer characters (2+1 and 4+1 respectively)
274 char tmpStr[7];
275
276 // Convert number
277 hexToStr_op( in, tmpStr, op );
278
279 // Print number
280 Output_putstr( tmpStr );
281}
282

Callers 13

sector_printFunction · 0.70
Layer_layerStateSetFunction · 0.50
LED_shortOpenDetectFunction · 0.50
Matrix_single_scanFunction · 0.50
Matrix_scanFunction · 0.50
LED_shortOpenDetectFunction · 0.50
testColumnFunction · 0.50
dumpSenseTableFunction · 0.50
USB_SysCtrlDebugFunction · 0.50
USB_ConsCtrlDebugFunction · 0.50
USB_6KRODebugFunction · 0.50
USB_NKRODebugFunction · 0.50

Calls 2

hexToStr_opFunction · 0.70
Output_putstrFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…