mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
# Syntax Colouring Map For MCP23S17
|
|
|
|
# Data types (KEYWORD1)
|
|
MCP23S17 KEYWORD1
|
|
|
|
|
|
# Methods and Functions (KEYWORD2)
|
|
begin KEYWORD2
|
|
isConnected KEYWORD2
|
|
getAddress KEYWORD2
|
|
|
|
pinMode KEYWORD2
|
|
digitalWrite KEYWORD2
|
|
digitalRead KEYWORD2
|
|
|
|
setPolarity KEYWORD2
|
|
getPolarity KEYWORD2
|
|
setPullup KEYWORD2
|
|
getPullup KEYWORD2
|
|
|
|
pinMode8 KEYWORD2
|
|
write8 KEYWORD2
|
|
read8 KEYWORD2
|
|
|
|
setPolarity8 KEYWORD2
|
|
getPolarity8 KEYWORD2
|
|
setPullup8 KEYWORD2
|
|
getPullup8 KEYWORD2
|
|
|
|
pinMode16 KEYWORD2
|
|
write16 KEYWORD2
|
|
read16 KEYWORD2
|
|
|
|
setPolarity16 KEYWORD2
|
|
getPolarity16 KEYWORD2
|
|
setPullup16 KEYWORD2
|
|
getPullup16 KEYWORD2
|
|
|
|
setSPIspeed KEYWORD2
|
|
getSPIspeed KEYWORD2
|
|
usesHWSPI KEYWORD2
|
|
lastError KEYWORD2
|
|
|
|
enableControlRegister KEYWORD2
|
|
disableControlRegister KEYWORD2
|
|
enableHardwareAddress KEYWORD2
|
|
disableHardwareAddress KEYWORD2
|
|
|
|
|
|
# Instances (KEYWORD2)
|
|
|
|
|
|
# Constants (LITERAL1)
|
|
MCP23S17_LIB_VERSION LITERAL1
|
|
|
|
MCP23S17_OK LITERAL1
|
|
MCP23S17_PIN_ERROR LITERAL1
|
|
MCP23S17_SPI_ERROR LITERAL1
|
|
MCP23S17_VALUE_ERROR LITERAL1
|
|
MCP23S17_PORT_ERROR LITERAL1
|
|
MCP23S17_REGISTER_ERROR LITERAL1
|
|
MCP23S17_INVALID_READ LITERAL1
|
|
|