CT1820's Non-volatile FRAM
Data that needs to be retained between power cycles can be stored in the CT1820's non-volatile FRAM.
FramWrite
FramWrite address, data
address
: Address to write the data to
d
ata
: Store 1 byte of data (variables or constants)
Stores one byte of data,
data
, to the FRAM at address,
address.
Data can be stored from addresses 0~&H7FFF, a total of 32KB. The data will be retained between power
cycles and no delay is required after a write.
FramWrite 14, &HFF
' Writes &HFF to address 14
FramRead( )
variable = FramRead (address)
v
ariable
: Variable to which the results will be stored
address
: Address to read the data from
Reads one byte of data from the FRAM at address
address
, and stores the result in
variable
.
A = FramRead(14)
' Reads one byte of data from address 14
Comfile Technology, Inc
CT1820 User's Manual
34 Of 93
Summary of Contents for CUTOUCH CT1820
Page 4: ...Chapter 1 Overview Comfile Technology Inc CT1820 User s Manual 4 Of 93 ...
Page 7: ...The CT1820 s Appearance Comfile Technology Inc CT1820 User s Manual 7 Of 93 ...
Page 8: ...Comfile Technology Inc CT1820 User s Manual 8 Of 93 ...
Page 9: ...Comfile Technology Inc CT1820 User s Manual 9 Of 93 ...
Page 12: ...Comfile Technology Inc CT1820 User s Manual 12 Of 93 ...
Page 17: ...Comfile Technology Inc CT1820 User s Manual 17 Of 93 ...
Page 19: ...Chapter 2 I O Comfile Technology Inc CT1820 User s Manual 19 Of 93 ...
Page 29: ...Comfile Technology Inc CT1820 User s Manual 29 Of 93 ...
Page 32: ...Chapter 3 Command Reference Comfile Technology Inc CT1820 User s Manual 32 Of 93 ...
Page 41: ...Chapter 4 Touch Input Comfile Technology Inc CT1820 User s Manual 41 Of 93 ...
Page 52: ...Chapter 5 ModPort I O Expansion Comfile Technology Inc CT1820 User s Manual 52 Of 93 ...
Page 61: ...Chapter 6 Sample Programs Comfile Technology Inc CT1820 User s Manual 61 Of 93 ...
Page 87: ...Chapter 7 Panel Mounting Comfile Technology Inc CT1820 User s Manual 87 Of 93 ...
Page 88: ...Dimensions Comfile Technology Inc CT1820 User s Manual 88 Of 93 ...
Page 89: ...Comfile Technology Inc CT1820 User s Manual 89 Of 93 ...
Page 90: ...Panel Cutout Comfile Technology Inc CT1820 User s Manual 90 Of 93 ...