FreeCalypso > hg > fc-tourmaline
view src/gpf/tst/tst_primitives.h @ 287:3dee79757ae4
UI fw: load handheld audio mode on boot
We have now reached the point where use of audio mode config files
should be considered mandatory. In ACI usage we can tell users that
they need to perform an AT@AUL of some appropriate audio mode, but
in UI-enabled fw we really need to have the firmware load audio modes
on its own, so that correct audio config gets established when the
handset or development board runs on its own, without a connected host
computer.
Once have FC Venus with both main and headset audio channels and
headset plug insertion detection, our fw will need to automatically
load the handheld mode or the headset mode depending on the plug
insertion state. For now we load only the handheld mode, which has
been tuned for FC-HDS4 on FC Luna.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 13 Nov 2021 03:20:57 +0000 |
parents | 4e78acac3d88 |
children |
line wrap: on
line source
/* +------------------------------------------------------------------------------ | File: tst_primitives.h +------------------------------------------------------------------------------ | Copyright Texas Instruments 2002 | All rights reserved. | +------------------------------------------------------------------------------ | Purpose: Definitions for the IDLE entity. | $Identity:$ +------------------------------------------------------------------------------ */ #ifndef TST_PRIMITIVES #define TST_PRIMITIVES /*==== INCLUDES ==============================================================*/ /*==== CONSTS ================================================================*/ #define IDLE_REQ 0x00000010 #define IDLE_CNF 0x00010010 #define SYSPRIM_EXT_TICK_MODE_REQ "EXT_TICK_MODE_REQ" #define SYSPRIM_EXT_TICK_MODE_CNF "EXT_TICK_MODE_CNF" #define SYSPRIM_INT_TICK_MODE_REQ "INT_TICK_MODE_REQ" #define SYSPRIM_INT_TICK_MODE_CNF "INT_TICK_MODE_CNF" #define SYSPRIM_TIMER_TICK_REQ "TIMER_TICK_REQ" #define SYSPRIM_TIMER_TICK_CNF "TIMER_TICK_CNF" #define SYSPRIM_IDLE_REQ "IDLE_REQ" #define SYSPRIM_IDLE_CNF "IDLE_CNF" /*==== TYPES =================================================================*/ #ifndef __T_IDLE_CNF__ #define __T_IDLE_CNF__ typedef struct { U8 dummy; /*< 0: 1> */ } T_IDLE_CNF; #endif #ifndef __T_IDLE_REQ__ #define __T_IDLE_REQ__ typedef struct { U8 dummy; /*< 0: 1> */ } T_IDLE_REQ; #endif /*==== EXPORTS ===============================================================*/ #endif /* TST_PRIMITIVES */ /*==== END OF FILE ===========================================================*/