BusVoodoo high impedance (HiZ) default mode (code)
More...
Go to the source code of this file.
|
#define | BUSVOODOO_LV_DEFAULT (0.8*(1+30.0/10.0)) |
| default (when not driven) LV voltage regulator output voltage based on R1 and R2
|
|
#define | BUSVOODOO_LV_TEST 2.5 |
| target LV output voltage to test if we can set control the LV voltage regulator
|
|
#define | BUSVOODOO_HV_DEFAULT (1.25*(1+100.0/10.0)) |
| default (when not driven) HV voltage regulator output voltage based on R1 and R2
|
|
#define | BUSVOODOO_HV_TEST 12.0 |
| target HV output voltage to test if we can set control the HV voltage regulator
|
|
BusVoodoo high impedance (HiZ) default mode (code)
- Author
- King Kévin kingk.nosp@m.evin.nosp@m.@cuvo.nosp@m.odoo.nosp@m..info
- Date
- 2018
Definition in file busvoodoo_hiz.c.
◆ busvoodoo_hiz_bootloader()
static void busvoodoo_hiz_bootloader |
( |
void * |
argument | ) |
|
|
static |
switch to DFU bootloader
- Parameters
-
[in] | argument | no argument required |
- Note
- this handler is in HiZ mode only to save shortcut space and reduce menu size
Definition at line 943 of file busvoodoo_hiz.c.
◆ busvoodoo_hiz_command_test_pins()
static void busvoodoo_hiz_command_test_pins |
( |
void * |
argument | ) |
|
|
static |
command to perform pins test
- Parameters
-
[in] | argument | no argument required |
Definition at line 990 of file busvoodoo_hiz.c.
◆ busvoodoo_hiz_command_test_self()
static void busvoodoo_hiz_command_test_self |
( |
void * |
argument | ) |
|
|
static |
command to perform board self-test
- Parameters
-
[in] | argument | no argument required |
Definition at line 968 of file busvoodoo_hiz.c.
◆ busvoodoo_hiz_setup()
static bool busvoodoo_hiz_setup |
( |
char ** |
prefix, |
|
|
const char * |
line |
|
) |
| |
|
static |
setup HiZ mode
- Parameters
-
[out] | prefix | terminal prompt prefix |
[in] | line | terminal prompt line to configure mode |
- Returns
- if setup is complete
Definition at line 50 of file busvoodoo_hiz.c.
◆ busvoodoo_hiz_test_pins()
static bool busvoodoo_hiz_test_pins |
( |
void |
| ) |
|
|
static |
test if signals are soldered correctly to the connector pins
- Returns
- if pin test passed
Definition at line 534 of file busvoodoo_hiz.c.
◆ busvoodoo_hiz_test_self()
static bool busvoodoo_hiz_test_self |
( |
void |
| ) |
|
|
static |
perform self tests
- Returns
- if self tests passed
Definition at line 81 of file busvoodoo_hiz.c.
◆ busvoodoo_hiz_version()
static void busvoodoo_hiz_version |
( |
void * |
argument | ) |
|
|
static |
show BusVoodoo version
- Parameters
-
[in] | argument | no argument required |
- Note
- this handler is in HiZ mode only to save shortcut space and reduce menu size
Definition at line 955 of file busvoodoo_hiz.c.
◆ busvoodoo_hiz_mode
Initial value:= {
"hiz",
"High Impedance (Z)",
}
static const struct menu_command_t busvoodoo_hiz_commands[]
HiZ menu commands.
static void busvoodoo_hiz_exit(void)
exit HiZ mode
static bool busvoodoo_hiz_setup(char **prefix, const char *line)
setup HiZ mode
#define LENGTH(x)
get the length of an array
HiZ mode interface definition.
Definition at line 1045 of file busvoodoo_hiz.c.