ВУЗ: Не указан

Категория: Не указан

Дисциплина: Не указана

Добавлен: 12.06.2025

Просмотров: 8221

Скачиваний: 1

ВНИМАНИЕ! Если данный файл нарушает Ваши авторские права, то обязательно сообщите нам.

© MCS Electronics, 1995-2007

SYSSECELAPSED

683

SYSDAY

684

SWAP

685

TAN

686

TCPCHECKSUM

687

TCPREAD

690

TCPWRITE

691

TCPWRITESTR

691

TANH

695

THIRDLINE

696

TIME$

696

TIME

697

TOGGLE

699

TRIM

700

UCASE

700

UDPREAD

701

UDPWRITE

704

UDPWRITESTR

706

UPPERLINE

709

VAL

709

VARPTR

710

VER

711

VERSION

712

WAIT

712

WAITKEY

713

WAITMS

714

WAITUS

715

WHILE-WEND

716

WRITE

717

WRITEEEPROM

718

X10DETECT

720

X10SEND

722

#IF ELSE ENDIF

723

International Resellers

726

International Resellers

726

ASM Libraries

727

I2C_TWI

727

EXTENDED I2C

727

MCSBYTE

729

MCSBYTEINT

729

TCPIP

730

LCD

731

LCD4BUSY

731

LCD4.LIB

732

LCD4E2

732

GLCD

733

GLCDSED

733

PCF8533

734

LCD-EPSON

736

AVR-DOS

737

page -14-


© MCS Electronics, 1995-2007

AVR-DOS File System

737

CF Card

742

Compact FlashCard Driver

742

Elektor CF-Interface

743

XRAM CF-Interface for simulation

744

New CF-Card Drivers

745

Floating Point

746

FP_TRIG

746

DOUBLE

748

I2C SLAVE

750

I2CSLAVE

750

I2C TWI Slave

752

SPI

754

SPISLAVE

754

DATE TIME

757

EUROTIMEDATE

757

DATETIME

757

PS2-AT Mouse and Keyboard Emulation

758

AT_EMULATOR

758

PS2MOUSE_EMULATOR

758

BCCARD

759

BCCARD

759

BCDEF

760

BCCALL

761

BCRESET

767

Tools

769

LCD RGB-8 Converter

769

Index

page -15-

© MCS Electronics, 1995-2007

Version 1.11.8.6 document build 12

MCS Electronics may update this documentation without notice. Products specification and usage may change accordingly.

MCS Electronics will not be liable for any miss-information or errors found in this document.

All software provided with this product package is provided 'AS IS' without any warranty expressed or implied.

MCS Electronics will not be liable for any damages, costs or loss of profits arising from the usage of this product package.

No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, for any purpose, without written permission of MCS Electronics.

Copyright MCS Electronics. All rights reserved.

Keyword Reference

1WIRE

1Wire routines allow you to communicate with Dallas 1wire chips.

1WRESET , 1WREAD , 1WWRITE , 1WSEARCHFIRST , 1WSEARCHNEXT ,1WVERIFY , 1WIRECOUNT

page -16-


© MCS Electronics, 1995-2007

Conditions

Conditions execute a part of the program depending on a condition being True or False IF-THEN-ELSE-END IF , WHILE-WEND , ELSE , DO-LOOP , SELECT CASE - END SELECT , FOR-NEXT

Configuration

Configuration commands initialize the hardware to the desired state.

CONFIG , CONFIG ACI , CONFIG ADC , CONFIG BCCARD , CONFIG CLOCK , CONFIG COM1 , CONFIG COM2 , CONFIG DATE , CONFIG PS2EMU , CONFIG ATEMU , CONFIG I2CSLAVE , CONFIG INPUT, CONFIG GRAPHLCD , CONFIG KEYBOARD , CONFIG TIMER0 , CONFIG TIMER1 , CONFIG LCDBUS , CONFIG LCDMODE , CONFIG 1WIRE , CONFIG LCD , CONFIG SERIALOUT , CONFIG SERIALOUT1 , CONFIG SERIALIN , CONFIG SERIALIN1 , CONFIG SPI , CONFIG LCDPIN , CONFIG SDA , CONFIG SCL , CONFIG DEBOUNCE , CONFIG WATCHDOG , CONFIG PORT , COUNTER0 AND COUNTER1 , CONFIG TCPIP , CONFIG TWISLAVE , CONFIG SINGLE , CONFIG X10 , CONFIG XRAM ,

Conversion

A conversion routine is a function that converts a number or string fromone form to another.

BCD , GRAY2BIN , BIN2GRAY , BIN , MAKEBCD , MAKEDEC , MAKEINT , FORMAT , FUSING , BINVAL , CRC8 , CRC16 , CRC32 , HIGH , HIGHW , LOW

DateTime

Date Time routines can be used to calculate with date and/or times.

DATE , TIME , DATE$ , TIME$ , DAYOFWEEK , DAYOFYEAR , SECOFDAY , SECELAPSED , SYSDAY , SYSSEC , SYSSECELAPSED

Delay

Delay routines delay the program for the specified time.

WAIT , WAITMS , WAITUS , DELAY

Directives

Directives are special instructions for the compiler. They can override a setting from the IDE.

$ASM , $BAUD , $BAUD1 , $BGF , $BOOT , $CRYSTAL , $DATA , $DBG , $DEFAULT , $EEPLEAVE , $EEPROM , $EEPROMHEX , $EXTERNAL , $HWSTACK , $INC , $INCLUDE , $INITMICRO , $LCD , $LCDRS , $LCDPUTCTRL , $LCDPUTDATA , $LCDVFO , $LIB , $LOADER

,$LOADERSIZE , $MAP , $NOCOMP , $NOINIT , $NORAMCLEAR , $PROG , $PROGRAMMER , $REGFILE , $ROMSTART $SERIALINPUT, $SERIALINPUT1 , $SERIALINPUT2LCD , $SERIALOUTPUT , $SERIALOUTPUT1 , $SIM , $SWSTACK , $TIMEOUT , $TINY , $WAITSTATE

,$XRAMSIZE , $XRAMSTART , $XA

File

File commands can be used with AVR-DOS, the Disk Operating Systemfor AVR. BSAVE , BLOAD , GET , VER , DISKFREE , DIR , DriveReset , DriveInit , LINE INPUT ,

INITFILESYSTEM , EOF , WRITE , FLUSH , FREEFILE , FILEATTR , FILEDATE , FILETIME , FILEDATETIME , FILELEN , SEEK , KILL , DriveGetIdentity , DriveWriteSector , DriveReadSector , LOC , LOF , PUT , OPEN , CLOSE

page -17-


© MCS Electronics, 1995-2007

Graphical LCD

Graphical LCD commands extend the normal text LCD commands.

GLCDCMD , GLCDDATA , SETFONT , LINE , PSET , SHOWPIC , SHOWPICE , CIRCLE , BOX

I2C

I2C commands allow you to communicate with I2C chips with the TWI hardware or with emulated I2C hardware.

I2CINIT , I2CRECEIVE , I2CSEND , I2CSTART,I2CSTOP,I2CRBYTE,I2CWBYTE

IO

I/O commands are related to the I/O pins and ports of the processor chip.

ALIAS , BITWAIT , TOGGLE , RESET , SET , SHIFTIN , SHIFTOUT , DEBOUNCE , PULSEIN , PULSEOUT

Micro

Micro statements are specific to the micro processor chip.

IDLE , POWERDOWN , POWERSAVE , ON INTERRUPT , ENABLE , DISABLE , START , END , VERSION , CLOCKDIVISION , CRYSTAL , STOP

Memory

Memory functions set or read RAM , EEPROM or flash memory.

WRITEEEPROM , CPEEK , CPEEKH , PEEK , POKE , OUT , READEEPROM , DATA , INP , READ , RESTORE , LOOKDOWN , LOOKUP , LOOKUPSTR , CPEEKH , LOAD , LOADADR , LOADLABEL , LOADWORDADR , MEMCOPY

Remote Control

Remote control statements send or receive IR commands for remote control. RC5SEND , RC6SEND , GETRC5 , SONYSEND

RS-232

RS-232 are serial routines that use the UART or emulate a UART.

BAUD , BAUD1, BUFSPACE , CLEAR, ECHO , WAITKEY , ISCHARWAITING , INKEY , INPUTBIN , INPUTHEX , INPUT , PRINT , PRINTBIN , SERIN , SEROUT , SPC

SPI

SPI routines communicate according to the SPI protocol with either hardware SPI or software emulated SPI.

SPIIN , SPIINIT , SPIMOVE , SPIOUT

String

String routines are used to manipulate strings.

ASC , UCASE , LCASE , TRIM , SPLIT , LTRIM , INSTR , SPACE , STRING , RTRIM , LEFT , LEN , MID , RIGHT , VAL , STR , CHR , CHECKSUM , HEX , HEXVAL

TCP/IP

TCP/IP routines can be used with the W3100/IIM7000/IIM7010 modules.

page -18-