EasyManua.ls Logo

Texas Instruments TMS320*2801 Series

Texas Instruments TMS320*2801 Series
94 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
www.ti.com
Bootloader Code Listing (V3.0)
// TI File $Revision: /main/2 $
// Checkin $Date: January 10, 2005 14:39:44 $
//###########################################################################
//
// FILE: SysCtrl_Boot.c
//
// TITLE: F2810/12 Boot Rom System Control Routines
//
// Functions:
//
// void WatchDogDisable(void)
// void WatchDogEnable(void)
//
// Notes:
//
//###########################################################################
// $TI Release:$
// $Release Date:$
//###########################################################################
#include "DSP280x_Device.h"
//---------------------------------------------------------------
// This module disables the watchdog timer.
//---------------------------------------------------------------
void WatchDogDisable()
{
EALLOW;
SysCtrlRegs.WDCR = 0x0068; // Disable watchdog module
EDIS;
}
//---------------------------------------------------------------
// This module enables the watchdog timer.
//---------------------------------------------------------------
void WatchDogEnable()
{
EALLOW;
SysCtrlRegs.WDCR = 0x0028; // Enable watchdog module
SysCtrlRegs.WDKEY = 0x55; // Clear the WD counter
SysCtrlRegs.WDKEY = 0xAA;
EDIS;
}
// EOF --------
64 Bootloader Code Overview SPRU722C November 2004 Revised October 2006
Submit Documentation Feedback

Table of Contents

Related product manuals