// embeddedDeviceCodeExample.c ... int k = ReadADC(); TRICE16_1(Id(12345), "MSG: %d Kelvin\n", k); ...
triceFifo
TRICEmacro
Programflow
ISR
til.json (trice ID list)
The trice ID list is updated in a pre-compile step
byte
MSG: 14 Kelvin
trice tool
printf()
Display
embedded device
PC
trigger
"TRICE16_1" "MSG: %d Kelvin\\n"
UART
TRICE ID: 0x3039 data bytes 0x000e
Programflow
4 byte trice message 0x39 0x30 0x0e 0x00
bareL format example
The trice ID list is used by the PC trice tool during runtime (trice log)
trice update
ID 12345
patches new source code with ID
Build process
ID 0x3039
value 14
bit width & format String