mbed-os/drivers
Kevin Bracey 0f98338153 Improve efficiency and formatting of ITM output
SerialWireOutput was outputting 1 character per 32-bit write to the
ITM stimulus port. This is inefficient, and causes processing problems
with some viewers due to them receiving 3 NUL bytes between each
desired character.

Rework to allow us to be more efficient, and eliminate those NUL bytes:

* Retain existing mbed_itm_send() and clarify it's a single 32-bit write.
* Add new mbed_itm_send_block() that is appropriate for sending
  character data, and modify SerialWireOutput to use it.
* Move "wait for FIFO ready" check to before the write, rather than
  after.

One minor correction - FIFOREADY is a single bit of the register read.
Don't interpret reserved bits.
2018-07-04 10:16:28 +03:00
..
AnalogIn.cpp
AnalogIn.h drivers: astyle update 2018-06-29 10:36:36 +01:00
AnalogOut.h drivers: astyle update 2018-06-29 10:36:36 +01:00
BusIn.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
BusIn.h drivers: astyle update 2018-06-29 10:36:36 +01:00
BusInOut.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
BusInOut.h drivers: astyle update 2018-06-29 10:36:36 +01:00
BusOut.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
BusOut.h drivers: astyle update 2018-06-29 10:36:36 +01:00
CAN.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
CAN.h drivers: astyle update 2018-06-29 10:36:36 +01:00
DigitalIn.h drivers: astyle update 2018-06-29 10:36:36 +01:00
DigitalInOut.h drivers: astyle update 2018-06-29 10:36:36 +01:00
DigitalOut.h drivers: astyle update 2018-06-29 10:36:36 +01:00
Ethernet.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
Ethernet.h
FlashIAP.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
FlashIAP.h drivers: astyle update 2018-06-29 10:36:36 +01:00
I2C.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
I2C.h drivers: astyle update 2018-06-29 10:36:36 +01:00
I2CSlave.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
I2CSlave.h
InterruptIn.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
InterruptIn.h drivers: astyle update 2018-06-29 10:36:36 +01:00
InterruptManager.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
InterruptManager.h drivers: astyle update 2018-06-29 10:36:36 +01:00
LowPowerTicker.h drivers: astyle update 2018-06-29 10:36:36 +01:00
LowPowerTimeout.h drivers: astyle update 2018-06-29 10:36:36 +01:00
LowPowerTimer.h drivers: astyle update 2018-06-29 10:36:36 +01:00
MbedCRC.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
MbedCRC.h drivers: astyle update 2018-06-29 10:36:36 +01:00
PortIn.h drivers: astyle update 2018-06-29 10:36:36 +01:00
PortInOut.h drivers: astyle update 2018-06-29 10:36:36 +01:00
PortOut.h drivers: astyle update 2018-06-29 10:36:36 +01:00
PwmOut.h drivers: astyle update 2018-06-29 10:36:36 +01:00
RawSerial.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
RawSerial.h
SPI.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
SPI.h drivers: astyle update 2018-06-29 10:36:36 +01:00
SPISlave.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
SPISlave.h
Serial.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
Serial.h drivers: astyle update 2018-06-29 10:36:36 +01:00
SerialBase.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
SerialBase.h drivers: astyle update 2018-06-29 10:36:36 +01:00
SerialWireOutput.h Improve efficiency and formatting of ITM output 2018-07-04 10:16:28 +03:00
TableCRC.cpp
TableCRC.h
Ticker.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
Ticker.h drivers: astyle update 2018-06-29 10:36:36 +01:00
Timeout.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
Timeout.h
Timer.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
Timer.h
TimerEvent.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
TimerEvent.h
UARTSerial.cpp drivers: astyle update 2018-06-29 10:36:36 +01:00
UARTSerial.h drivers: astyle update 2018-06-29 10:36:36 +01:00
mbed_lib.json