FreeCalypso > hg > gsm-codec-lib
diff libgsmhr1/dhf_params.c @ 496:af70bf42eb1b
libgsmhr1: implement DHF const array
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 18 Jun 2024 00:15:46 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libgsmhr1/dhf_params.c Tue Jun 18 00:15:46 2024 +0000 @@ -0,0 +1,28 @@ +/* + * This module holds a public const datum: the broken-down parameters + * form of HRv1 decoder homing frame (DHF). + */ + +#include <stdint.h> +#include "tw_gsmhr.h" + +const int16_t gsmhr_dhf_params[GSMHR_NUM_PARAMS] = { + 0x0000, /* R0 */ + 0x0371, /* LPC1 */ + 0x015E, /* LPC2 */ + 0x00c3, /* LPC3 */ + 0x0001, /* INT_LPC */ + 0x0000, /* MODE */ + 0x0047, /* CODE1_1 */ + 0x004a, /* CODE2_1 */ + 0x0000, /* GSP0_1 */ + 0x0009, /* CODE1_2 */ + 0x0026, /* CODE2_2 */ + 0x0007, /* GSP0_2 */ + 0x0000, /* CODE1_3 */ + 0x0000, /* CODE2_3 */ + 0x0000, /* GSP0_3 */ + 0x0000, /* CODE1_4 */ + 0x0000, /* CODE2_4 */ + 0x0000 /* GSP0_4 */ +};