![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
Go to the source code of this file.
Functions | |
static void | print_title () |
Prints the title block when program first starts. More... | |
static void | print_prompt () |
Prints main menu. More... | |
static void | print_user_command (uint8_t menu) |
Display selected differential channels. More... | |
static uint8_t | menu_1_read_single_ended () |
read from ADC single-ended More... | |
static uint8_t | menu_2_read_differential () |
Read channels in differential mode. More... | |
static void | setup () |
Initialize Linduino. More... | |
static void | loop () |
Repeats Linduino loop. More... | |
Macros | |
#define | delay_EOC 150 |
Variables | |
static uint8_t | demo_board_connected |
Set to 1 if the board is connected. More... | |
static float | reference_voltage = 5.0 |
The reference voltage range, set to 5v through JP2 and JP3 by default. More... | |
const uint16_t | MISO_TIMEOUT = 1000 |
The MISO timeout (ms) More... | |
const uint8_t | BUILD_COMMAND_SINGLE_ENDED [16] |
Builds the command for single-ended mode. More... | |
const uint8_t | BUILD_COMMAND_DIFF [16] |
|
static |
Repeats Linduino loop.
Definition at line 135 of file _24xx_iso_spi_delay.ino.
|
static |
read from ADC single-ended
Definition at line 199 of file _24xx_iso_spi_delay.ino.
|
static |
Read channels in differential mode.
Definition at line 272 of file _24xx_iso_spi_delay.ino.
|
static |
Prints main menu.
Definition at line 187 of file _24xx_iso_spi_delay.ino.
|
static |
Prints the title block when program first starts.
Definition at line 171 of file _24xx_iso_spi_delay.ino.
|
static |
Display selected differential channels.
Displaying Single-Ended channels is straightforward; not so with differential because the inputs can take either polarity.
menu | the selected channels |
Definition at line 358 of file _24xx_iso_spi_delay.ino.
|
static |
Initialize Linduino.
Definition at line 118 of file _24xx_iso_spi_delay.ino.
#define delay_EOC 150 |
Definition at line 115 of file _24xx_iso_spi_delay.ino.
const uint8_t BUILD_COMMAND_DIFF[16] |
Definition at line 96 of file _24xx_iso_spi_delay.ino.
const uint8_t BUILD_COMMAND_SINGLE_ENDED[16] |
Builds the command for single-ended mode.
Definition at line 77 of file _24xx_iso_spi_delay.ino.
|
static |
Set to 1 if the board is connected.
Definition at line 71 of file _24xx_iso_spi_delay.ino.
const uint16_t MISO_TIMEOUT = 1000 |
The MISO timeout (ms)
Definition at line 75 of file _24xx_iso_spi_delay.ino.
|
static |
The reference voltage range, set to 5v through JP2 and JP3 by default.
Definition at line 72 of file _24xx_iso_spi_delay.ino.