view nuc-fw/serial/traceswitch.h @ 137:5fe5559003b7

RV bring-up: RVT "system time" heartbeat messages now get printed every 20 s! The problem was a slight Nucleus API incompatibility between what the RVF code from TCS211 expected and what our FreeNucleus implements: in the TCS211 version of Nucleus it was OK to pass 0 for the initial_time parameter to NU_Create_Timer(), but our version flags such usage as an error. RVF used 0 as the dummy initial_time value when initializing the legacy RV timers with NU_DISABLE_TIMER. Implemented fix: using a dummy value of 1 instead.
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 11 Nov 2013 09:56:23 +0000
parents 22c8199e08af
children
line wrap: on
line source

/*******************************************************************************
 *
 * TRACESWITCH.H
 *
 * This module defines constants used by UART and USART trace drivers.
 *
 * (C) Texas Instruments 1999
 *
 ******************************************************************************/

#ifndef __TRACESWITCH_H__
#define __TRACESWITCH_H__

typedef enum {
    TR_BAUD_406250,
    TR_BAUD_115200,
    TR_BAUD_57600,
    TR_BAUD_38400,
    TR_BAUD_33900,
    TR_BAUD_28800,
    TR_BAUD_19200,
    TR_BAUD_14400,
    TR_BAUD_9600,
    TR_BAUD_4800,
    TR_BAUD_2400,
    TR_BAUD_1200,
    TR_BAUD_600,
    TR_BAUD_300,
    TR_BAUD_150,
    TR_BAUD_75
} T_tr_Baudrate;

#endif /* __TRACESWITCH_H__ */