Version 0.2
This commit is contained in:
parent
490da9d724
commit
5671bd9a78
6 changed files with 513 additions and 538 deletions
|
@ -3,12 +3,14 @@
|
|||
|
||||
#include <avr/wdt.h>
|
||||
#include "global_vars.h"
|
||||
#include "selftest.h"
|
||||
#include "boardinfo.h"
|
||||
|
||||
constexpr static uint8_t RQ_DISC = 0;
|
||||
constexpr static uint8_t RQ_TEST = 1;
|
||||
constexpr static uint8_t RQ_INFO = 2;
|
||||
constexpr static uint8_t RQ_INT = 3;
|
||||
constexpr static uint8_t RQ_ST = 4;
|
||||
constexpr static uint8_t RQ_BA0 = 5;
|
||||
constexpr static uint8_t RQ_BA1 = 6;
|
||||
constexpr static uint8_t RQ_BE0 = 7;
|
||||
|
@ -23,16 +25,16 @@ uint8_t const rq_len[] = {
|
|||
/* RQ_DISC */ 1,
|
||||
/* RQ_TEST */ 2,
|
||||
/* RQ_INFO */ 1,
|
||||
/* RQ_INT */ 3,
|
||||
/* [ reserved ] */ 0,
|
||||
/* RQ_BA0 */ 2,
|
||||
/* RQ_BA1 */ 2,
|
||||
/* RQ_BE0 */ 1,
|
||||
/* RQ_BE1 */ 1,
|
||||
/* RQ_DSW */ 1,
|
||||
/* RQ_AA0 */ 3,
|
||||
/* RQ_AA1 */ 3,
|
||||
/* RQ_ADC */ 2,
|
||||
/* RQ_INT */ 3,
|
||||
/* RQ_ST */ 1,
|
||||
/* RQ_BA0 */ 2,
|
||||
/* RQ_BA1 */ 2,
|
||||
/* RQ_BE0 */ 1,
|
||||
/* RQ_BE1 */ 1,
|
||||
/* RQ_DSW */ 1,
|
||||
/* RQ_AA0 */ 3,
|
||||
/* RQ_AA1 */ 3,
|
||||
/* RQ_ADC */ 2,
|
||||
/* RQ_ADC_DAC_STROKE */ 9
|
||||
};
|
||||
|
||||
|
@ -40,6 +42,7 @@ void rqTestConnection(void);
|
|||
void rqBoardInfo(void);
|
||||
void rqTestIntConv(void);
|
||||
void rqTestLongConv(void);
|
||||
void rqSelfTest(void);
|
||||
void rqDigitalWrite0(void);
|
||||
void rqDigitalWrite1(void);
|
||||
void rqDigitalRead0(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue