RD8
Aus MCS Wiki AVR
Inhaltsverzeichnis |
Action
This function returns a BYTE from the FT800 processor.
Syntax
var = RD8(address)
Remarks
NONE
See also
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
Languages | English |
---|