view src/gpf/inc/tdc.h @ 198:bb5aba57ecfb

Condat backlight driver: actually allow switching levels We earlier made a change to this driver allowing different backlight levels to be set. However, the old backlight idle logic prevented switching from one backlight level to another without going through a fully-off state. Now that we have the beginnings of new backlight timer logic in BMI+MFW, the old idle logic in the Condat driver layer can be axed, and we fix that driver layer to allow free switching between different backlight levels.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 29 Mar 2021 01:52:48 +0000
parents 4e78acac3d88
children
line wrap: on
line source

/* 
+----------------------------------------------------------------------------- 
|  Project :  
|  Modul   : TDC
+----------------------------------------------------------------------------- 
|  Copyright 2002 Texas Instruments Berlin, AG 
|                 All rights reserved. 
| 
|                 This file is confidential and a trade secret of Texas 
|                 Instruments Berlin, AG 
|                 The receipt of or possession of this file does not convey 
|                 any rights to reproduce or disclose its contents or to 
|                 manufacture, use, or sell anything it may describe, in 
|                 whole, or in part, without the specific written consent of 
|                 Texas Instruments Berlin, AG. 
+----------------------------------------------------------------------------- 
|  Purpose :  
+----------------------------------------------------------------------------- 
*/ 
#ifdef TDC_H
#error "TDC.H already included, TDC.H must come after all primitives and messages"
#endif

#include <setjmp.h>

//namespace tdc {
#include "tdc_prim.h"

#ifndef TDC_H
#define TDC_H

#ifndef TDC_DESCRIPTOR
static int tdc_initialized_primitive = T_PRIMITIVE_UNION::call_tdc_initialize_primitive();
static int tdc_initialized_message = T_MESSAGE_UNION::call_tdc_initialize_message();
#endif //TDC_DESCRIPTOR

#endif //TDC_H
//}//namespace tdc
//using namespace tdc;