• Serial Interrupts / printf
    Greetings, I am wanting an interrupt to occur when I receive data. In my code - When I receive data, I set a variable and clear RI. Then in the main part of my code I have some printf() statements...
  • Serial Interrupts / printf
    Greetings, I am wanting an interrupt to occur when I receive data. In my code - When I receive data, I set a variable and clear RI. Then in the main part of my code I have some printf() statements...
  • Printf in Serial Viewer
    I'm trying to print the printf statements in the ITM viewer(Serial Viewer). I have the following code in the fputc function. Basically I followed all the instructions in the "Using the ITM Viewer". ...
  • printf serial port 8051
    Hi. Why does TI need to be set before printf is called. TI = 1; printf("Hello world\n"); Whereas in assembly TI should be cleared before a char is put in SBUF, so it can be tested to see if...
  • printf serial port 8051
    Hi. Why does TI need to be set before printf is called. TI = 1; printf("Hello world\n"); Whereas in assembly TI should be cleared before a char is put in SBUF, so it can be tested to see if...