view src/g23m-fad/tcpip/rnet/rnet_cfg.h @ 75:8697f358f505

backlight rework: Condat light driver accepts levels The present change is another intermediate step on the path toward new FreeCalypso backlight handling. At this intermediate step the Condat light driver accepts 0-255 backlight levels driven by MFW, and puts them out on PWL on Luna development boards. At the same time on C139 it is now possible to turn on the display backlight with or without the keypad bl - the lsb of the 0-255 backlight level controls the keypad bl. MFW presently drives only 0 and 255 backlight levels, thus there is no visible behavioral change yet - but the plan for subsequent stages of this backlight rework is to add a dimmed backlight state (no keypad bl on C139) during active calls.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 24 Oct 2020 20:44:04 +0000
parents fa8dc04885d8
children
line wrap: on
line source

/**
 * @file  rnet_cfg.h
 *
 * Riviera NET.
 *
 * Configuration definitions for the RNET instance.
 *
 * @author  Vincent Oberle (v-oberle@ti.com)
 * @version 0.1
 */

/*
 * History:
 *
 *   Date         Author        Modification
 *  --------------------------------------------------
 *  01/29/2002  Vincent Oberle    Create
 *
 * (C) Copyright 2002 by Texas Instruments Incorporated, All Rights Reserved
 */

#ifndef __RNET_CFG_H_
#define __RNET_CFG_H_

#include "rv_defined_swe.h"

/**
 * RNET underlying implementation.
 *
 * In normal usage, this doesn't need to be modified.
 * rv_defined_swe.h takes care to check that only one of the
 * RVM_RNET_xx_SWE is defined.
 */
#ifdef RVM_RNET_WS_SWE
  #define RNET_CFG_WINSOCK
#endif
#ifdef RVM_RNET_BR_SWE
  #define RNET_CFG_BRIDGE
#endif
#ifdef RVM_RNET_RT_SWE
  #ifndef RNET_CFG_REAL_TRANSPORT
    #define RNET_CFG_REAL_TRANSPORT
  #endif  /* RNET_CFG_REAL_TRANSPORT */
#endif

/**
 * Maximum size that a host name can have.
 * Increase this value to be sure not to get a truncated host name
 */
#define RNET_MAX_HOST_NAME_LEN 100 /* should be 255 see RFC... */

/**
 * Use the Loopback interface.
 */
#define RNET_RT_LOOPBACK_SUPPORT

#endif /* __RNET_CFG_H_ */