2021-08-29 14:58:12 -04:00
|
|
|
# Syntax Colouring Map For DAC8551
|
2021-01-29 06:31:58 -05:00
|
|
|
|
2021-08-29 14:58:12 -04:00
|
|
|
# Data types (KEYWORD1)
|
2021-02-06 09:52:51 -05:00
|
|
|
DAC8501 KEYWORD1
|
|
|
|
DAC8531 KEYWORD1
|
|
|
|
DAC8550 KEYWORD1
|
2021-01-29 06:31:58 -05:00
|
|
|
DAC8551 KEYWORD1
|
|
|
|
|
|
|
|
|
|
|
|
# Methods and Functions (KEYWORD2)
|
|
|
|
begin KEYWORD2
|
|
|
|
setValue KEYWORD2
|
|
|
|
getValue KEYWORD2
|
|
|
|
setPowerDown KEYWORD2
|
|
|
|
getPowerDownMode KEYWORD2
|
|
|
|
|
2021-08-29 14:58:12 -04:00
|
|
|
setSPIspeed KEYWORD2
|
|
|
|
getSPIspeed KEYWORD2
|
|
|
|
|
|
|
|
usesHWSPI KEYWORD2
|
|
|
|
|
|
|
|
selectHSPI KEYWORD2
|
|
|
|
selectVSPI KEYWORD2
|
|
|
|
usesHSPI KEYWORD2
|
|
|
|
usesVSPI KEYWORD2
|
|
|
|
|
|
|
|
setGPIOpins KEYWORD2
|
2021-01-29 06:31:58 -05:00
|
|
|
|
|
|
|
# Constants (LITERAL1)
|
|
|
|
DAC8551_LIB_VERSION LITERAL1
|
2021-02-06 09:52:51 -05:00
|
|
|
|
|
|
|
DAC8501_POWERDOWN_NORMAL LITERAL1
|
|
|
|
DAC8501_POWERDOWN_1K LITERAL1
|
|
|
|
DAC8501_POWERDOWN_100K LITERAL1
|
|
|
|
DAC8501_POWERDOWN_HIGH_IMP LITERAL1
|
|
|
|
|
|
|
|
DAC8531_POWERDOWN_NORMAL LITERAL1
|
|
|
|
DAC8531_POWERDOWN_1K LITERAL1
|
|
|
|
DAC8531_POWERDOWN_100K LITERAL1
|
|
|
|
DAC8531_POWERDOWN_HIGH_IMP LITERAL1
|
|
|
|
|
|
|
|
DAC8550_POWERDOWN_NORMAL LITERAL1
|
|
|
|
DAC8550_POWERDOWN_1K LITERAL1
|
|
|
|
DAC8550_POWERDOWN_100K LITERAL1
|
|
|
|
DAC8550_POWERDOWN_HIGH_IMP LITERAL1
|
|
|
|
|
2021-01-29 06:31:58 -05:00
|
|
|
DAC8551_POWERDOWN_NORMAL LITERAL1
|
|
|
|
DAC8551_POWERDOWN_1K LITERAL1
|
|
|
|
DAC8551_POWERDOWN_100K LITERAL1
|
|
|
|
DAC8551_POWERDOWN_HIGH_IMP LITERAL1
|
|
|
|
|