Keyword reference

From MCS Wiki AVR
Revision as of 19:19, 31 January 2013 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1WIRE

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

1WRESET , 1WREAD , 1wwrite , 1wsearchfirst , 1wsearchnext ,1wverify , 1wirecount

 

 

CAN

Config canbus, Config canmob, Canbaud, Canreset, Canclearmob, Canclearallmobs, Cansend, Canreceive , Canid, Canselpage, Cangetints

 

 

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 adcx , Config bccard , Config clock , Config com1 , Config com2 , Config dacx , Config date , Config dmxslave, Config eeprom ,Config extended port , Config ps2emu , Config atemu , Config i2cslave , Configinput, 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 portCounter0 and counter1 , Config tcpip , Configtwislave , Configsingle , Config x10 , Configxram , 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

 

 

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

 

 

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 1 , Baud1 , Bigstrings , Bgf , Boot , Crystal 1 , Data 1 , Dbg , Default , Eepleave , Eeprom , Eepromhex , Eepromsize, External , Hwstack , Inc , Include , Initmicro , Lcd 1 , 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

 

 

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

 

 

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 , I2start 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 2 , Stop

 

 

Memory

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

Adr adr2 , Adr adr2 , Writeeeprom , Cpeek , Cpeekh , Peek , Poke , Out , Readeeprom , Data 2 , Inp , Read , Restore , Lookdown , Lookup , Lookupstr , Cpeekh , Load , Loadadr , Loadlabel , Loadwordadr , Memcopy , Getreg , Setreg

 

 

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

 

 

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

 

 

Text LCD

Text LCD routines work with normal text based LCD displays.

Home , Cursor , Upperline , Thirdline , Initlcd , Lowerline , Lcd 2 , Lcdat , Fourthline , Display , Lcdcontrast , Locate , Shiftcursor , Deflcdchar , Shiftlcd , Cls , Lcdautodim , Lcdcmd, Lcddata

 

 

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

 

 

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 , If else endif , If else endif , Readhitag , Sort , Xteadecode , Xteaencode

 

 

XMEGA

Readsig

Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language