2011-06-21 00:03:22 +02:00
|
|
|
#######################################
|
|
|
|
# Syntax Coloring Map SPI
|
|
|
|
#######################################
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
# Datatypes (KEYWORD1)
|
|
|
|
#######################################
|
|
|
|
|
2012-04-24 09:31:50 +02:00
|
|
|
SPI_0 KEYWORD1
|
2011-06-21 00:03:22 +02:00
|
|
|
|
|
|
|
#######################################
|
|
|
|
# Methods and Functions (KEYWORD2)
|
|
|
|
#######################################
|
2012-04-24 09:31:50 +02:00
|
|
|
begin KEYWORD2
|
|
|
|
addSlave KEYWORD2
|
|
|
|
end KEYWORD2
|
|
|
|
transfer KEYWORD2
|
|
|
|
setBitOrder KEYWORD2
|
|
|
|
setDataMode KEYWORD2
|
2011-06-21 00:03:22 +02:00
|
|
|
setClockDivider KEYWORD2
|
|
|
|
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
# Constants (LITERAL1)
|
|
|
|
#######################################
|
|
|
|
SPI_MODE0 LITERAL1
|
|
|
|
SPI_MODE1 LITERAL1
|
|
|
|
SPI_MODE2 LITERAL1
|
|
|
|
SPI_MODE3 LITERAL1
|