WR16

From MCS Wiki AVR
Revision as of 23:21, 12 December 2014 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Action

This statement will write an address and a word parameter to the FT800.

 

 

Syntax

WR16 address , prm

 

 

Remarks

The address need to be an address in the FT800 address range. See FT800 manual for more info.

The parameter (prm) is a word numeric value. It depends on the address which parameter value you may send.

 

When you want to write to the FIFO buffer you can best use CMD16.

 

 

See also

CMD8 , CMD16CMD32 , WR8WR32

 

 

Example

Wr8 Reg_GPIO_Dir , &H83
Wr8 Reg_GPIO , &H83
 
Wr16 Reg_Touch_rzThresh , 1200
 
Wr32 Ram_DL + 0, &H02FFFFFF

Languages   English  
Personal tools
Namespaces
Variants
Actions
Navigation
Language