RD32

Top  Previous  Next

Action

This function returns a DWORD from the FT800 processor.

 

 

Syntax

var =  RD32(address)

 

 

Remarks

NONE

 

 

See also

RD8 , RD16 , CMD32, WR32

 

 

Example

Sub Dlswap()
'------------------------------------------------------------------------------------------------------------
  ' API to check the status of previous DLSWAP and perform DLSWAP of new DL
  ' Check for the status of previous DLSWAP and if still not done wait for few ms and check again
 
  Local Swap_done As Byte
 
  ' Perform a new DL swap
  Wr8 Reg_dlswap , Dlswap_frame
 
  ' Wait till the swap is done
  While Swap_done > 0
     Swap_done = Rd8(reg_dlswap)
    If Dlswap_done <> Swap_done Then
        Waitms 10
    End If
  Wend
 
End Sub                                                     ' Dlswap