firmware: octsimtest: Make slot mux configurable via USB

Change-Id: I4cdb250d2e1dbc5b8b0169f8b7c21e288b492e1d
This commit is contained in:
Harald Welte
2021-06-03 11:15:21 +02:00
parent 3561fc4c8b
commit d46f6bae2c
5 changed files with 36 additions and 2 deletions

View File

@@ -109,6 +109,8 @@
#define VCC_UV_THRESH_1V8 (1500000*47)/(47+30)
#define VCC_UV_THRESH_3V (2500000*47)/(47+30)
#define HAVE_SLOT_MUX
/** Supported modes */
/* SIMtrace board supports sniffer mode */
//#define HAVE_SNIFFER

View File

@@ -1,7 +1,8 @@
#pragma once
void mux_init(void);
void mux_set_slot(uint8_t s);
int mux_set_slot(uint8_t s);
int mux_get_slot(void);
void mux_set_freq(uint8_t s);
/* this reflects the wiring between U5 and U4 */