Keyword Reference

Top  Previous  Next

1WIRE

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

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

 

 

CAN

CONFIG CANBUSMODE, CONFIG CANMOB, CANBAUD, CANRESET, CANCLEARMOB, CANCLEARALLMOBS, CANSEND, CANRECEIVE , CANID, CANSELPAGE, CANGETINTS

 

 

Conditions and Loops

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 , CONTINUE, REDO

 

 

Configuration

Configuration commands initialize the hardware to the desired state.

CONFIG , CONFIG ACI , CONFIG ADC , CONFIG ADCx , CONFIG BCCARD , CONFIG CLOCK , CONFIG COM1 , CONFIG COM2 , CONFIG DAC , CONFIG DATE , CONFIG DMXSLAVE, CONFIG EEPROM ,CONFIG EXTENDED_PORT , 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 OSC, CONFIG SERIALOUT , CONFIG SERIALIN , CONFIG SPI , CONFIG SPIx, CONFIG SYSCLOCK , CONFIG LCDPIN , CONFIG PRIORITY , CONFIG SDA , CONFIG SCL , CONFIG DEBOUNCE , CONFIG WATCHDOG , CONFIG PORT , COUNTER0 AND COUNTER1 , CONFIG TCPIP , CONFIG TWISLAVE , CONFIG SINGLE , CONFIG X10 , CONFIG XRAM , CONFIG USB , CONFIG DP , CONFIG TCXX , CONFIG VPORT CONFIG ERROR , CONFIG POWER REDUCTION, CONFIG EVENT_SYSTEM , CONFIG DMA , CONFIG DMACHx , CONFIG SUBMODE , CONFIG POWERMODE , CONFIG XPIN , CONFIG FT800 , CONFIG I2CBUS , CONFIG EDMA , CONFIG EDMAx , CONFIG INPUTBIN , CONFIG MODBUS

 

 

Conversion

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

BCD , GRAY2BIN , BIN2GRAY , BIN , MAKEBCD , MAKEDEC , MAKEINT , FORMAT , FUSING , BINVAL , CRC8 , CRC16 , CRC16UNI , CRC32 , HIGH , HIGHW , LOW , AESENCRYPT , AESDECRYPT , FLIP , CRCMB , CRC8UNI

 

 

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 , $BIGSTRINGS , $BGF , $BOOT , $CRYSTAL , $DATA , $DBG , $DEFAULT , $EEPLEAVE , $EEPROM , $EEPROMHEX , $EEPROMSIZE, $EXTERNAL , $HWSTACK , $INC , $INCLUDE , $INITMICRO , $LCD , $LCDRS , $LCDPUTCTRL , $LCDPUTDATA , $LCDVFO , $LIB , $LOADER , $LOADERSIZE , $MAP , $NOCOMPILE , $NOINIT , $NORAMCLEAR , $NORAMPZ , $PROJECTTIME, $PROG , $PROGRAMMER , $REGFILE , $RESOURCE , $ROMSTART $SERIALINPUT, $SERIALINPUT1 , $SERIALINPUT2LCD , $SERIALOUTPUT , $SERIALOUTPUT1 , $SIM , $SWSTACK , $TIMEOUT , $TINY , $WAITSTATE , $XRAMSIZE , $XRAMSTART , $XA , $CRYPT , $NOTRANSFORM , $FILE , $AESKEY , $XTEAKEY , $STACKDUMP , $NOFRAMEPROTECT , $FRAMEPROTECT , $FORCESOFTI2C , $BOOTVECTOR , $REDUCEIVR , $TYPECHECK , $NOTYPECHECK

 

 

File

File commands can be used with AVR-DOS, the Disk Operating System for 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 , CHDIR , MKDIR , RMDIR , NAME , GETATTR , SETATTR , CLEARATTR

 

 

Graphical LCD

Graphical LCD commands extend the normal text LCD commands.

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

 

 

I2C

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

I2CINIT , I2CRECEIVE , I2CSEND , I2CSTART, I2CREPSTART, 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 , POWER mode , POWERDOWN , POWERSAVE , ON INTERRUPT , ENABLE , DISABLE , START , END , VERSION , CLOCKDIVISION , CRYSTAL , STOP

 

 

Memory

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

ADR , ADR2 , WRITEEEPROM , CPEEK , CPEEKH , PEEK , POKE , OUT , READEEPROM , DATA , INP , READ , RESTORE , LOOKDOWN , LOOKUP , LOOKUPSTR , LOADADR , LOADLABEL , LOADWORDADR , MEMCOPY , GETREG , SETREG , VARPTR

 

 

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 , MAKEMODBUS

 

 

SPI

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

SPIIN , SPIINIT , SPIMOVE , SPIOUT , SPI1IN , SPI1INIT , SPI1MOVE , SPI1OUT

 

 

String

String routines are used to manipulate strings.

ASC , CHARPOS, UCASE , LCASE , TRIM , SPLIT , LTRIM , INSTR , SPACE , STRING , RTRIM , LEFT , LEN , MID , RIGHT , VAL , STR , CHR , CHECKSUM , CHECKSUMXOR, HEX , HEXVAL , QUOTE , REPLACECHARS , STR2DIGITS , DELCHAR, DELCHARS , INSERTCHAR

 

 

TCP/IP

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

BASE64DEC , BASE64ENC , IP2STR , UDPREAD , UDPWRITE , UDPWRITESTR , TCPWRITE , TCPWRITESTR , TCPREAD , GETDSTIP , GETDSTPORT , SOCKETSTAT , SOCKETCONNECT , SOCKETLISTEN , GETSOCKET , SOCKETCLOSE , SETTCP , GETTCPREGS , SETTCPREGS , SETIPPROTOCOL , TCPCHECKSUM , SOCKETDISCONNECT , SNTP , TCPREADHEADER , UDPREADHEADER, URL2IP

 

 

Text LCD

Text LCD routines work with normal text based LCD displays.

HOME , CURSOR , UPPERLINE , THIRDLINE , INITLCD , LOWERLINE , LCD , LCDAT , FOURTHLINE , DISPLAY , LCDCONTRAST , LOCATE , SHIFTCURSOR , DEFLCDCHAR , SHIFTLCD , CLS , LCDAUTODIM , LCDCMD, LCDDATA , LCDFONT

 

 

Trig & Math

Trig and Math routines work with numeric variables.

ACOS , ASIN , ATN , ATN2 , EXP , RAD2DEG , FRAC , TAN , TANH , COS , COSH , LOG , LOG10 , ROUND , ABS , INT , MAX , MIN , SQR , SGN , POWER , SIN , SINH , FIX , INCR , DECR , DEG2RAD , CHECKFLOAT , MOD , QSIN , QCOS , AND, OR , XOR , NOT

 

 

Various

This section contains all statements that were hard to put into another group

CONST , DBG , DECLARE FUNCTION , DEBUG, DECLARE SUB , DEFXXX , DIM , DTMFOUT , EXIT , ENCODER , GETADC , GETKBD , GETATKBD , GETRC , GOSUB , GOTO , LOCAL ,ON VALUE , POPALL , PS2MOUSEXY , PUSHALL , RETURN , RND , ROTATE , SENDSCAN , SENDSCANKBD , SHIFT , SOUND , STCHECK , SUB , SWAP , VARPTR , X10DETECT , X10SEND , READMAGCARD , REM , BITS , BYVAL , CALL , #IF , #ELSE , #ENDIF , READHITAG , SORT , XTEADECODE , XTEAENCODE , BREAK , COMPARE , NOP

 

 

RAINBOW WS2812

Rainbow or WS2812 LED statements and functions.

CONFIG RAINBOW , RB_ADDCOLOR, RB_ANDCOLOR, RB_ORCOLOR, RB_SUBCOLOR, RB_CLEARSTRIPE , RB_CLEARCOLORS , RB_FILL , RB_FILLCOLORS , RB_FILLSTRIPE , RB_SELECTCHANNEL, RB_SEND, RB_SETCOLOR , RB_SWAPCOLOR , RB_ROTATELEFT, RB_ROTATERIGHT, RB_SHIFTLEFT, RB_SHIFTRIGHT , RB_CHANGEPIN , RB_SETTABLECOLOR , RB_GETCOLOR , RB_LOOKUPCOLOR , RB_COLOR , RB_COPY

 

 

FT800-FT801-FT810

CMD8 , CMD16 , CMD32 , RD8 , RD16 , RD32 , WR8 , WR16 , WR32

 

 

XMEGA

READSIG , ATXMEGA