mbed-os/hal
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
..
TARGET_FLASH_CMSIS_ALGO hal: astyle update 2018-06-29 10:36:36 +01:00
storage_abstraction Removed bad \ref tag, but left in the tag name. Updated old param names in gpio_api.h and added new params in ticker_api.h 2017-06-08 15:52:31 -05:00
analogin_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
analogout_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
buffer.h Add tags to our code 2016-10-04 15:02:44 -05:00
can_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
can_helper.h Fix doxygen warnings in 'drivers' 2017-06-08 15:53:53 -05:00
crc_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
critical_section_api.h Move in_critical_section implementation into the HAL 2018-01-09 10:41:29 +00:00
dma_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
ethernet_api.h typos 2018-02-20 20:11:19 -05:00
flash_api.h flash: add note about program size 2017-09-06 07:54:18 +01:00
gpio_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
gpio_irq_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
i2c_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
itm_api.h Improve efficiency and formatting of ITM output 2018-07-04 10:16:28 +03:00
lp_ticker_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_critical_section_api.c Move in_critical_section implementation into the HAL 2018-01-09 10:41:29 +00:00
mbed_flash_api.c FlashIAP: Add explicit read function to flash_api.h 2017-07-06 18:53:32 +01:00
mbed_gpio.c hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_itm_api.c Improve efficiency and formatting of ITM output 2018-07-04 10:16:28 +03:00
mbed_lp_ticker_api.c hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_lp_ticker_wrapper.cpp hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_pinmap_common.c hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_sleep_manager.c hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_ticker_api.c hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_us_ticker_api.c hal: astyle update 2018-06-29 10:36:36 +01:00
pinmap.h hal: astyle update 2018-06-29 10:36:36 +01:00
port_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
pwmout_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
rtc_api.h Add clarification to rtc_free doxygen 2018-05-25 12:49:11 -05:00
serial_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
sleep_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
spi_api.h typos 2018-02-20 20:11:19 -05:00
ticker_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
trng_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
us_ticker_api.h hal: astyle update 2018-06-29 10:36:36 +01:00