CmdRegRead

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

Contents

Action

Read a register value.

 

 

Syntax

CmdRegRead ptr, result

 

 

Remarks

ptr

Address of register to read

result

The register value to be read at ptr address

 

 

 

Example

' Pseudocode
' To capture the exact time when a command completes:
x = Rd16(REG_CMD_WRITE
CmdRegread REG_CLOCK, 0
...
Languages   English  
Personal tools
Namespaces
Variants
Actions
Navigation
Language