21.01.2014 Views

3.22EjemploDRM007 Co..

3.22EjemploDRM007 Co..

3.22EjemploDRM007 Co..

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Software Design <strong>Co</strong>nsiderations<br />

5.9.19 DataLCD(Byte data)<br />

ASCII symbol to be displayed on the LCD, at the current cursor position.<br />

Parameters:<br />

data — 8-bit value representing the ASCII code of the symbol to<br />

be displayed in the LCD at current position.<br />

5.9.20 StringLCD(Byte *msgLCD)<br />

This function displays a string in the LCD at current cursor position. If a<br />

'&' character is present in the string, a new line feed is commanded to<br />

the LCD. The function sends all the bytes in the string until a presence<br />

of an End Of String, EOS or 0x00 byte.<br />

Parameters:<br />

*msgLCD — Pointer to the string to be displayed on the LCD.<br />

5.9.21 WaitMs(Byte milis)<br />

Delay routine that waits for a number of milliseconds to send in the<br />

parameter milis. The delay is calculated for an 8 MHz f BUS operation.<br />

Parameters:<br />

milis — An 8-bit value representing the number of milliseconds the<br />

delay will take.<br />

5.9.22 Wait40µs(void)<br />

Fixed delay of 40 microseconds.<br />

DRM007<br />

BLDC Motor <strong>Co</strong>ntrol Board for Industrial and Appliance Applications<br />

94 Software Design <strong>Co</strong>nsiderations MOTOROLA

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!