3.22EjemploDRM007 Co..
3.22EjemploDRM007 Co..
3.22EjemploDRM007 Co..
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Source <strong>Co</strong>de<br />
Source <strong>Co</strong>de Files<br />
interrupt void Fault1_ISR (void)<br />
{<br />
extern UBYTE FAULTState;<br />
StopMotor();<br />
FTAC |= FTACK1;<br />
FAULTState = FAULT_OCCURED;<br />
return;<br />
}<br />
interrupt void Error_Trap (void)<br />
{<br />
return;<br />
}<br />
/*****************************************************************************\<br />
* End timer.c *<br />
******************************************************************************/<br />
;<br />
7.3.4 LCD.C<br />
;<br />
/*****************************************************************************\<br />
* <strong>Co</strong>pyright (c) 2002, Motorola Inc.<br />
*<br />
* Motorola <strong>Co</strong>nfidential Proprietary<br />
*<br />
* ----------------------------------------------------------------------------*<br />
* File name : lcd.c *<br />
* Project name: Brushless DC Motor Drive with the MR8 Microcontroller<br />
*<br />
* ----------------------------------------------------------------------------*<br />
* Author : Jorge Zambada *<br />
* Email : Jorge.Zambada@motorola.com *<br />
* Department : Mexico Applications Lab - SPS *<br />
* *<br />
* Description : The LCD interface and delay subroutines are implemented in *<br />
* this file. *<br />
\*****************************************************************************/<br />
#ifndef _LCD_H<br />
#define _LCD_H<br />
#include "main.h"<br />
#include "MR8IO.h"<br />
#include "lcd.h"<br />
#endif<br />
BLDC Motor <strong>Co</strong>ntrol Board for Industrial and Appliance Applications<br />
DRM007<br />
MOTOROLA Source <strong>Co</strong>de 145