EasyManuals Logo

Texas Instruments TMS320*2801 Series User Manual

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
Page #64 background imageLoading...
Page #64 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320*2801 Series and is the answer not in the manual?

Texas Instruments TMS320*2801 Series Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320*2801 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals