view gsm-fw/nucleus/sd_extr.h @ 853:ae254ffeaec3

AT command interface works! The cause of the breakage was the same Nucleus API issue with NU_Create_Timer() which we encountered at the very beginning of this project with Riviera timers: the code in uartfax.c from TCS211 was passing 0 as the initial dummy value for the timer duration, and our FreeNucleus version doesn't like it. The fix is the same: pass 1 as the initial dummy value instead.
author Space Falcon <falcon@ivan.Harhan.ORG>
date Thu, 30 Apr 2015 01:46:26 +0000
parents afceeeb2cba1
children
line wrap: on
line source

/*************************************************************************
*                                                                       
*               Copyright Mentor Graphics Corporation 2002              
*                         All Rights Reserved.                          
*                                                                       
* THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS  
* THE PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS AND IS   
* SUBJECT TO LICENSE TERMS.                                             
*                                                                       
*************************************************************************/

/*************************************************************************
*                                                                       
* FILE NAME                                VERSION                        
*                                                                       
*      sd_extr.h                 Nucleus PLUS\ARM925\Code Composer 1.14.1 
*                                                                       
* COMPONENT                                                             
*                                                                       
*      SD - Serial Driver                                               
*                                                                       
* DESCRIPTION                                                           
*                                                                       
*      This file contains function prototypes for the Serial Driver     
*  module.                                                              
*                                                                       
* DATA STRUCTURES                                                       
*                                                                       
*      none                                                             
*                                                                       
* DEPENDENCIES                                                          
*                                                                       
*      sd_defs.h   
*
* HISTORY                                                               
*                                                                       
*         NAME            DATE                    REMARKS             
*  
*      B. Ronquillo     08-28-2002           Released version 1.14.1     
*************************************************************************/
#ifndef SD_EXTR
#define SD_EXTR

#include "sd_defs.h"

/* SDC function prototypes */
STATUS  SDC_Init_Port(SD_PORT *);

/* Fixed SPR 249.  Changed the first parameter of SDC_Put_Char from UNSIGNED_CHAR 
   to CHAR to match function */
VOID    SDC_Put_Char(UINT8, SD_PORT *);

VOID    SDC_Put_String(CHAR *, SD_PORT *);
CHAR    SDC_Get_Char(SD_PORT *);
STATUS  SDC_Data_Ready(SD_PORT *);
VOID    SDC_LISR(INT vector);
#endif