view src/cs/layer1/gtt_include/l1gtt_signa.h @ 632:d968a3216ba0

new tangomdm build target TCS211/Magnetite built for target leonardo runs just fine on the Tango-based Caramel board, but a more proper tangomdm build target is preferable in order to better market these Tango modems to prospective commercial customers. The only differences are in GPIO and MCSI config: * MCSI is enabled in the tangomdm build config. * GPIO 1 is loudspeaker amplifier control on Leonardo, but on Tango platforms it can be used for anything. On Caramel boards this GPIO should be configured as an output driving high. * GPIO 2 needs to be configured as Calypso input on Leonardo, but on Tango platforms it can be used for anything. On Caramel boards this GPIO should be configured as an output, either high or low is OK.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 04 Jan 2020 19:27:41 +0000
parents 945cf7f506b2
children
line wrap: on
line source

/************* Revision Controle System Header *************
 *                  GSM Layer 1 software 
 * L1GTT_SIGNA.H
 *
 *        Filename l1gtt_signa.h
 *  Copyright 2003 (C) Texas Instruments  
 *
 ************* Revision Controle System Header *************/
 
#if (L1_GTT == 1)

  #define P_GTT ( 0x19 )
  
  // Messages Upper layer <-> L1A
  #define MMI_GTT_START_REQ             ( ( P_GTT << 8 ) |   1 )
  #define MMI_GTT_START_CON             ( ( P_GTT << 8 ) |   2 )
  #define MMI_GTT_STOP_REQ              ( ( P_GTT << 8 ) |   3 )
  #define MMI_GTT_STOP_CON              ( ( P_GTT << 8 ) |   4 )

  // Messages L1S <-> L1A
  #define L1_GTT_START_CON              ( ( P_GTT << 8 ) |   5 )
  #define L1_GTT_STOP_CON               ( ( P_GTT << 8 ) |   6 )

  // Test messages
  #define TST_CLOSE_GTT_LOOP_REQ        ( ( P_GTT << 8 ) |   7 )
  #define TST_CLOSE_GTT_LOOP_CON        ( ( P_GTT << 8 ) |   8 )
  #define TST_OPEN_GTT_LOOP_REQ         ( ( P_GTT << 8 ) |   9 )
  #define TST_OPEN_GTT_LOOP_CON         ( ( P_GTT << 8 ) |  10 )
  #define TST_START_GTT_TEST_REQ        ( ( P_GTT << 8 ) |  11 )
  #define TST_START_GTT_TEST_CON        ( ( P_GTT << 8 ) |  12 )
  #define TST_STOP_GTT_TEST_REQ         ( ( P_GTT << 8 ) |  13 )
  #define TST_STOP_GTT_TEST_CON         ( ( P_GTT << 8 ) |  14 )

#endif // L1_GTT == 1