![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
Go to the source code of this file.
Functions | |
char | get_char () |
static void | byte_to_hex (byte value) |
byte | read_hex () |
static void | setup () |
static void | loop () |
Macros | |
#define | READ_TIMEOUT 20 |
#define | MISO_TIMEOUT 1000 |
#define | RECORDING_SIZE 50 |
Variables | |
const byte | off = 0 |
const byte | playback = 1 |
const byte | spi_mode = 0 |
const byte | i2c_mode = 1 |
const byte | i2c_auxiliary_mode = 2 |
char | hex_digits [16] |
const char | spi_divider = SPI_CLOCK_DIV32 |
byte | serial_mode = spi_mode |
byte | recording_mode = off |
char | id_string [51] ="USBSPI,PIC,02,01,DC,DC590,----------------------\n\0" |
char | hex_to_byte_buffer [5] |
char | byte_to_hex_buffer [3] |
char | recording_buffer [RECORDING_SIZE] |
byte | recording_index = 0 |
static int | i = 0 |
unsigned char | pseudo_reset = 0 |
|
static |
Definition at line 118 of file DC590B_enhanced.ino.
char get_char | ( | void | ) |
Definition at line 137 of file DC590B_enhanced.ino.
|
static |
Definition at line 203 of file DC590B_enhanced.ino.
byte read_hex | ( | void | ) |
Definition at line 126 of file DC590B_enhanced.ino.
|
static |
Definition at line 173 of file DC590B_enhanced.ino.
#define MISO_TIMEOUT 1000 |
Definition at line 74 of file DC590B_enhanced.ino.
#define READ_TIMEOUT 20 |
Definition at line 73 of file DC590B_enhanced.ino.
#define RECORDING_SIZE 50 |
Definition at line 77 of file DC590B_enhanced.ino.
char byte_to_hex_buffer[3] |
Definition at line 106 of file DC590B_enhanced.ino.
char hex_digits[16] |
Definition at line 87 of file DC590B_enhanced.ino.
char hex_to_byte_buffer[5] |
Definition at line 102 of file DC590B_enhanced.ino.
|
static |
Definition at line 170 of file DC590B_enhanced.ino.
const byte i2c_auxiliary_mode = 2 |
Definition at line 84 of file DC590B_enhanced.ino.
const byte i2c_mode = 1 |
Definition at line 83 of file DC590B_enhanced.ino.
char id_string[51] ="USBSPI,PIC,02,01,DC,DC590,----------------------\n\0" |
Definition at line 101 of file DC590B_enhanced.ino.
const byte off = 0 |
Definition at line 78 of file DC590B_enhanced.ino.
const byte playback = 1 |
Definition at line 79 of file DC590B_enhanced.ino.
unsigned char pseudo_reset = 0 |
Definition at line 171 of file DC590B_enhanced.ino.
char recording_buffer[RECORDING_SIZE] |
Definition at line 110 of file DC590B_enhanced.ino.
byte recording_index = 0 |
Definition at line 114 of file DC590B_enhanced.ino.
byte recording_mode = off |
Definition at line 97 of file DC590B_enhanced.ino.
byte serial_mode = spi_mode |
Definition at line 96 of file DC590B_enhanced.ino.
const char spi_divider = SPI_CLOCK_DIV32 |
Definition at line 93 of file DC590B_enhanced.ino.
const byte spi_mode = 0 |
Definition at line 82 of file DC590B_enhanced.ino.