view cdg211/cdginc/p_8010_153_cause_include.h @ 629:3231dd9b38c1

armio.c: make GPIOs 8 & 13 outputs driving 1 on all "classic" targets Calypso GPIOs 8 & 13 are pinmuxed with MCUEN1 & MCUEN2, respectively, and on powerup these pins are MCUEN, i.e., outputs driving 1. TI's code for C-Sample and earlier turns them into GPIOs configured as outputs also driving 1 - so far, so good - but TI's code for BOARD 41 (which covers D-Sample, Leonardo and all real world Calypso devices derived from the latter) switches them from MCUEN to GPIOs, but then leaves them as inputs. Given that the hardware powerup state of these two pins is outputs driving 1, every Calypso board design MUST be compatible with such driving; typically these GPIO signals will be either unused and unconnected or connected as outputs driving some peripheral. Turning these pins into GPIO inputs will result in floating inputs on every reasonably-wired board, thus I am convinced that this configuration is nothing but a bug on the part of whoever wrote this code at TI. This floating input bug had already been fixed earlier for GTA modem and FCDEV3B targets; the present change makes the fix unconditional for all "classic" targets. The newly affected targets are D-Sample, Leonardo, Tango and GTM900.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 02 Jan 2020 05:38:26 +0000
parents 56abf6cf8a0b
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : p_8010_153_cause_include.h                                     |
| SOURCE  : "__out__\g23m_dfile\prim\8010_153_Cause_Include.pdf"           |
| LastModified : "2003-11-21"                                              |
| IdAndVersion : "8010.153.02.029"                                         |
| SrcFileTime  : "Tue May 18 17:03:06 2004"                                |
| Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:15 2007                    |
|           !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!!                |
+--------------------------------------------------------------------------+
*/

/* PRAGMAS
 * PREFIX                 : CAUSE
 * COMPATIBILITY_DEFINES  : NO
 * ALWAYS_ENUM_IN_VAL_FILE: YES
 * ENABLE_GROUP: NO
 * CAPITALIZE_TYPENAME: NO
 */


#ifndef P_8010_153_CAUSE_INCLUDE_H
#define P_8010_153_CAUSE_INCLUDE_H


#define CDG_ENTER__P_8010_153_CAUSE_INCLUDE_H

#define CDG_ENTER__FILENAME _P_8010_153_CAUSE_INCLUDE_H
#define CDG_ENTER__P_8010_153_CAUSE_INCLUDE_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_8010_153_CAUSE_INCLUDE_H__LAST_MODIFIED _2003_11_21
#define CDG_ENTER__P_8010_153_CAUSE_INCLUDE_H__ID_AND_VERSION _8010_153_02_029

#define CDG_ENTER__P_8010_153_CAUSE_INCLUDE_H__SRC_FILE_TIME _Tue_May_18_17_03_06_2004

#include "CDG_ENTER.h"

#undef CDG_ENTER__P_8010_153_CAUSE_INCLUDE_H

#undef CDG_ENTER__FILENAME


#include "p_8010_153_cause_include.val"


/*
 * typedef between var and valtab enums
 */
#ifndef __T_CAUSE_cc_cause__
#define __T_CAUSE_cc_cause__
typedef T_CAUSE_VAL_cc_cause T_CAUSE_cc_cause;
#endif

#ifndef __T_CAUSE_nwcc_cause__
#define __T_CAUSE_nwcc_cause__
typedef T_CAUSE_VAL_nwcc_cause T_CAUSE_nwcc_cause;
#endif

#ifndef __T_CAUSE_nwss_cause__
#define __T_CAUSE_nwss_cause__
typedef T_CAUSE_VAL_nwcc_cause T_CAUSE_nwss_cause;
#endif

#ifndef __T_CAUSE_dl_cause__
#define __T_CAUSE_dl_cause__
typedef T_CAUSE_VAL_dl_cause T_CAUSE_dl_cause;
#endif

#ifndef __T_CAUSE_l2r_cause__
#define __T_CAUSE_l2r_cause__
typedef T_CAUSE_VAL_l2r_cause T_CAUSE_l2r_cause;
#endif

#ifndef __T_CAUSE_llc_cause__
#define __T_CAUSE_llc_cause__
typedef T_CAUSE_VAL_llc_cause T_CAUSE_llc_cause;
#endif

#ifndef __T_CAUSE_mm_cause__
#define __T_CAUSE_mm_cause__
typedef T_CAUSE_VAL_mm_cause T_CAUSE_mm_cause;
#endif

#ifndef __T_CAUSE_nwmm_cause__
#define __T_CAUSE_nwmm_cause__
typedef T_CAUSE_VAL_nwmm_cause T_CAUSE_nwmm_cause;
#endif

#ifndef __T_CAUSE_ppp_cause__
#define __T_CAUSE_ppp_cause__
typedef T_CAUSE_VAL_ppp_cause T_CAUSE_ppp_cause;
#endif

#ifndef __T_CAUSE_rcm_cause__
#define __T_CAUSE_rcm_cause__
typedef T_CAUSE_VAL_rcm_cause T_CAUSE_rcm_cause;
#endif

#ifndef __T_CAUSE_rr_cause__
#define __T_CAUSE_rr_cause__
typedef T_CAUSE_VAL_rr_cause T_CAUSE_rr_cause;
#endif

#ifndef __T_CAUSE_nwrr_cause__
#define __T_CAUSE_nwrr_cause__
typedef T_CAUSE_VAL_nwrr_cause T_CAUSE_nwrr_cause;
#endif

#ifndef __T_CAUSE_rlp_cause__
#define __T_CAUSE_rlp_cause__
typedef T_CAUSE_VAL_rlp_cause T_CAUSE_rlp_cause;
#endif

#ifndef __T_CAUSE_rrc_cause__
#define __T_CAUSE_rrc_cause__
typedef T_CAUSE_VAL_rrc_cause T_CAUSE_rrc_cause;
#endif

#ifndef __T_CAUSE_nwrrc_cause__
#define __T_CAUSE_nwrrc_cause__
typedef T_CAUSE_VAL_nwrrc_cause T_CAUSE_nwrrc_cause;
#endif

#ifndef __T_CAUSE_sim_cause__
#define __T_CAUSE_sim_cause__
typedef T_CAUSE_VAL_sim_cause T_CAUSE_sim_cause;
#endif

#ifndef __T_CAUSE_sm_cause__
#define __T_CAUSE_sm_cause__
typedef T_CAUSE_VAL_sm_cause T_CAUSE_sm_cause;
#endif

#ifndef __T_CAUSE_nwsm_cause__
#define __T_CAUSE_nwsm_cause__
typedef T_CAUSE_VAL_nwsm_cause T_CAUSE_nwsm_cause;
#endif

#ifndef __T_CAUSE_sms_cause__
#define __T_CAUSE_sms_cause__
typedef T_CAUSE_VAL_sms_cause T_CAUSE_sms_cause;
#endif

#ifndef __T_CAUSE_nwsms_cp_cause__
#define __T_CAUSE_nwsms_cp_cause__
typedef T_CAUSE_VAL_nwsms_cp_cause T_CAUSE_nwsms_cp_cause;
#endif

#ifndef __T_CAUSE_nwsms_rp_cause__
#define __T_CAUSE_nwsms_rp_cause__
typedef T_CAUSE_VAL_nwsms_rp_cause T_CAUSE_nwsms_rp_cause;
#endif

#ifndef __T_CAUSE_nwsms_tp_cause__
#define __T_CAUSE_nwsms_tp_cause__
typedef T_CAUSE_VAL_nwsms_tp_cause T_CAUSE_nwsms_tp_cause;
#endif

#ifndef __T_CAUSE_sn_cause__
#define __T_CAUSE_sn_cause__
typedef T_CAUSE_VAL_sn_cause T_CAUSE_sn_cause;
#endif

#ifndef __T_CAUSE_upm_cause__
#define __T_CAUSE_upm_cause__
typedef T_CAUSE_VAL_upm_cause T_CAUSE_upm_cause;
#endif

#ifndef __T_CAUSE_value__
#define __T_CAUSE_value__
/*
 * Cause element containing result of operation
 * CCDGEN:WriteStruct_Count==959
 */
/* typedef void T_CAUSE_value;*/
#endif
#ifndef __T_CAUSE_ps_cause__
#define __T_CAUSE_ps_cause__
/*
 * Cause element containing result of operation
 * CCDGEN:WriteStruct_Count==960
 */
typedef struct
{
} T_CAUSE_ps_cause;
#endif


/*
 * End of substructure section, begin of primitive definition section
 */

#ifndef __T_CAUSE_EXPORT__
#define __T_CAUSE_EXPORT__
/*
 * 
 * CCDGEN:WriteStruct_Count==961
 */
typedef struct
{
} T_CAUSE_EXPORT;
#endif


#include "CDG_LEAVE.h"


#endif