2021-12-18 09:02:32 -05:00
|
|
|
# Syntax Colouring Map for FRAM
|
2021-01-29 06:31:58 -05:00
|
|
|
|
2021-12-18 09:02:32 -05:00
|
|
|
# Data types (KEYWORD1)
|
2021-01-29 06:31:58 -05:00
|
|
|
FRAM KEYWORD1
|
2022-05-10 04:10:44 -04:00
|
|
|
FRAM32 KEYWORD1
|
2022-10-16 13:09:32 -04:00
|
|
|
FRAM_RINGBUFFER KEYWORD1
|
2021-01-29 06:31:58 -05:00
|
|
|
|
2022-02-08 10:47:34 -05:00
|
|
|
|
2021-01-29 06:31:58 -05:00
|
|
|
# Methods and Functions (KEYWORD2)
|
|
|
|
begin KEYWORD2
|
|
|
|
isConnected KEYWORD2
|
|
|
|
|
|
|
|
write8 KEYWORD2
|
|
|
|
write16 KEYWORD2
|
|
|
|
write32 KEYWORD2
|
|
|
|
write KEYWORD2
|
|
|
|
|
|
|
|
read8 KEYWORD2
|
|
|
|
read16 KEYWORD2
|
|
|
|
read32 KEYWORD2
|
|
|
|
read KEYWORD2
|
|
|
|
|
2022-03-18 08:37:57 -04:00
|
|
|
writeObject KEYWORD2
|
|
|
|
readObject KEYWORD2
|
|
|
|
|
2021-12-18 09:02:32 -05:00
|
|
|
setWriteProtect KEYWORD2
|
|
|
|
getWriteProtect KEYWORD2
|
|
|
|
|
2021-01-29 06:31:58 -05:00
|
|
|
getManufacturerID KEYWORD2
|
|
|
|
getProductID KEYWORD2
|
|
|
|
getSize KEYWORD2
|
2022-02-08 10:47:34 -05:00
|
|
|
getSizeBytes KEYWORD2
|
2022-03-25 05:04:48 -04:00
|
|
|
setSizeBytes KEYWORD2
|
|
|
|
|
|
|
|
clear KEYWORD2
|
2022-05-02 10:06:10 -04:00
|
|
|
sleep KEYWORD2
|
|
|
|
wakeup KEYWORD2
|
2021-01-29 06:31:58 -05:00
|
|
|
|
2021-12-18 09:02:32 -05:00
|
|
|
|
2022-10-16 13:09:32 -04:00
|
|
|
# Methods and Functions FRAM_RINGBUFFER
|
|
|
|
begin KEYWORD2
|
|
|
|
flush KEYWORD2
|
|
|
|
size KEYWORD2
|
|
|
|
|
|
|
|
count KEYWORD2
|
|
|
|
free KEYWORD2
|
|
|
|
freePercent KEYWORD2
|
|
|
|
full KEYWORD2
|
|
|
|
empty KEYWORD2
|
|
|
|
|
|
|
|
write KEYWORD2
|
|
|
|
read KEYWORD2
|
|
|
|
peek KEYWORD2
|
|
|
|
|
|
|
|
isSaved KEYWORD2
|
|
|
|
save KEYWORD2
|
|
|
|
load KEYWORD2
|
|
|
|
wipe KEYWORD2
|
|
|
|
|
|
|
|
|
2021-01-29 06:31:58 -05:00
|
|
|
# Constants (LITERAL1)
|
|
|
|
FRAM_LIB_VERSION LITERAL1
|
|
|
|
FRAM_OK LITERAL1
|
|
|
|
FRAM_ERROR_ADDR LITERAL1
|
|
|
|
FRAM_ERROR_I2C LITERAL1
|
2021-12-18 09:02:32 -05:00
|
|
|
FRAM_ERROR_CONNECT LITERAL1
|
|
|
|
|
2022-03-25 05:04:48 -04:00
|
|
|
FRAM_MB85RC04 LITERAL1
|
|
|
|
FRAM_MB85RC16 LITERAL1
|
|
|
|
FRAM_MB85RC64T LITERAL1
|
|
|
|
FRAM_MB85RC128A LITERAL1
|
|
|
|
FRAM_MB85RC256V LITERAL1
|
|
|
|
FRAM_MB85RC512T LITERAL1
|
|
|
|
FRAM_MB85RC1MT LITERAL1
|
|
|
|
|
2022-10-16 13:09:32 -04:00
|
|
|
|
|
|
|
# constants FRAM_RINGBUFFER
|
|
|
|
FRAM_RB_OK LITERAL1
|
|
|
|
FRAM_RB_ERR_BUF_FULL LITERAL1
|
|
|
|
FRAM_RB_ERR_BUF_EMPTY LITERAL1
|
|
|
|
FRAM_RB_ERR_BUF_NO_ROOM LITERAL1
|
|
|
|
FRAM_RB_ERR_BUF_NO_DATA LITERAL1
|
|
|
|
|
|
|
|
|