You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
831 B
Plaintext
36 lines
831 B
Plaintext
12 years ago
|
#######################################
|
||
|
# Syntax Coloring Map SPI
|
||
|
#######################################
|
||
|
|
||
|
#######################################
|
||
|
# Datatypes (KEYWORD1)
|
||
|
#######################################
|
||
|
|
||
|
SPI KEYWORD1
|
||
|
|
||
|
#######################################
|
||
|
# Methods and Functions (KEYWORD2)
|
||
|
#######################################
|
||
|
begin KEYWORD2
|
||
|
end KEYWORD2
|
||
|
transfer KEYWORD2
|
||
|
setBitOrder KEYWORD2
|
||
|
setDataMode KEYWORD2
|
||
|
setClockDivider KEYWORD2
|
||
|
|
||
|
|
||
|
#######################################
|
||
|
# Constants (LITERAL1)
|
||
|
#######################################
|
||
|
SPI_CLOCK_DIV4 LITERAL1
|
||
|
SPI_CLOCK_DIV16 LITERAL1
|
||
|
SPI_CLOCK_DIV64 LITERAL1
|
||
|
SPI_CLOCK_DIV128 LITERAL1
|
||
|
SPI_CLOCK_DIV2 LITERAL1
|
||
|
SPI_CLOCK_DIV8 LITERAL1
|
||
|
SPI_CLOCK_DIV32 LITERAL1
|
||
|
SPI_CLOCK_DIV64 LITERAL1
|
||
|
SPI_MODE0 LITERAL1
|
||
|
SPI_MODE1 LITERAL1
|
||
|
SPI_MODE2 LITERAL1
|
||
|
SPI_MODE3 LITERAL1
|