mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
89 lines
1.4 KiB
Plaintext
89 lines
1.4 KiB
Plaintext
# Syntax Colouring Map for FRAM
|
|
|
|
# Data types (KEYWORD1)
|
|
FRAM KEYWORD1
|
|
FRAM32 KEYWORD1
|
|
FRAM_RINGBUFFER KEYWORD1
|
|
|
|
|
|
# Methods and Functions (KEYWORD2)
|
|
begin KEYWORD2
|
|
isConnected KEYWORD2
|
|
|
|
write8 KEYWORD2
|
|
write16 KEYWORD2
|
|
write32 KEYWORD2
|
|
writeFloat KEYWORD2
|
|
writeDouble KEYWORD2
|
|
write KEYWORD2
|
|
|
|
read8 KEYWORD2
|
|
read16 KEYWORD2
|
|
read32 KEYWORD2
|
|
readFloat KEYWORD2
|
|
readDouble KEYWORD2
|
|
read KEYWORD2
|
|
|
|
writeObject KEYWORD2
|
|
readObject KEYWORD2
|
|
|
|
setWriteProtect KEYWORD2
|
|
getWriteProtect KEYWORD2
|
|
|
|
getManufacturerID KEYWORD2
|
|
getProductID KEYWORD2
|
|
getSize KEYWORD2
|
|
getSizeBytes KEYWORD2
|
|
setSizeBytes KEYWORD2
|
|
|
|
clear KEYWORD2
|
|
sleep KEYWORD2
|
|
wakeup KEYWORD2
|
|
|
|
|
|
# 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
|
|
|
|
|
|
# Constants (LITERAL1)
|
|
FRAM_LIB_VERSION LITERAL1
|
|
FRAM_OK LITERAL1
|
|
FRAM_ERROR_ADDR LITERAL1
|
|
FRAM_ERROR_I2C LITERAL1
|
|
FRAM_ERROR_CONNECT LITERAL1
|
|
|
|
FRAM_MB85RC04 LITERAL1
|
|
FRAM_MB85RC16 LITERAL1
|
|
FRAM_MB85RC64T LITERAL1
|
|
FRAM_MB85RC128A LITERAL1
|
|
FRAM_MB85RC256V LITERAL1
|
|
FRAM_MB85RC512T LITERAL1
|
|
FRAM_MB85RC1MT LITERAL1
|
|
|
|
|
|
# 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
|
|
|
|
|