FreeCalypso > hg > fc-tourmaline
view src/cs/services/etm/etm_trace.h @ 214:adfdbcd360fd
backlight evolution: API between Condat driver and MFW
With this change, the API between the Condat backlight driver
and its user in MFW now carries more abstract backlight state codes
(fully off, fully on, in call, charging boot mode) instead of
0-255 levels. This change is needed in order to more properly support
different hardware targets with different capabilities and approaches
in terms of backlight handling.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 23 Apr 2021 23:52:02 +0000 |
parents | 4e78acac3d88 |
children |
line wrap: on
line source
/******************************************************************************** * Enhanced TestMode (ETM) * @file etm_trace.h * * @author Kim T. Peteren (ktp@ti.com) * @version 0.1 * * * History: * * Date Modification * ------------------------------------ * 16/06/2003 Creation * * (C) Copyright 2003 by Texas Instruments Incorporated, All Rights Reserved *********************************************************************************/ #ifndef _ETM_TRACE_H_ #define _ETM_TRACE_H_ #include "etm/etm.h" void tr_etm(unsigned trmask, char *format, ...); void tr_etm_hexdump(unsigned int mask, const void *p, int size); void hexdump_buf(char *buf, int size); int print_int_as_hex(unsigned int n); #endif // End of ETM_TRACE