FreeCalypso > hg > fc-tourmaline
view src/cs/drivers/drv_app/r2d/r2d_onoff.c @ 304:58c7961bd0b0 default tip
TCH tap: extend DL sniffing feature to support CSD modes
Our debug feature for TCH DL sniffing reads the content of the DSP's
a_dd_0 buffer (or a_dd_1 for TCH/H subchannel 1) at appropriate times
and forwards captured bits to the host. This feature was originally
implemented for TCH/FS, TCH/EFS and TCH/HS - now extend it to cover
TCH/F data modes too.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 25 Nov 2024 23:33:27 +0000 |
parents | 75758d7a9be3 |
children |
line wrap: on
line source
/* * This FreeCalypso-added R2D module implements on/off control * for BLRR (backlight required for readability) displays. */ #include "rv/rv_general.h" #include "rvf/rvf_api.h" #include "r2d/r2d_config.h" #include "r2d/r2d_messages.h" #include "r2d/r2d_blrr_api.h" extern int r2d_lcd_hw_suspend, ABB_sleep_allowed; #ifdef CONFIG_TARGET_LUNA #include "r2d/lcds/luna/r2d_onoff_i.c" #elif defined(CONFIG_TARGET_C139) #include "r2d/lcds/c139/r2d_onoff_i.c" #else #error "R2D on/off module selection: unsupported target" #endif void r2d_process_onoff_message(T_R2D_EVT *msg) { r2d_onoff_action(msg->status); }