Chirp SonicLib  4.5.2
icu.h
Go to the documentation of this file.
1 
13 /*
14  Copyright 2016-2023, InvenSense, Inc. All rights reserved.
15 
16  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19  DISCLAIMED.
20 
21  */
22 
23 #ifndef ICU_H_
24 #define ICU_H_
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
31 
32 #define ICU_DATA_MEM_SIZE SHASTA_DATA_MEM_SIZE
33 #define ICU_DATA_MEM_ADDR SHASTA_DATA_MEM_ADDR
34 #define ICU_PROG_MEM_SIZE SHASTA_PROG_MEM_SIZE
35 #define ICU_PROG_MEM_ADDR SHASTA_PROG_MEM_ADDR
36 #define ICU_FW_SIZE ICU_PROG_MEM_SIZE
37 
38 #define ICU_CPU_ID SHASTA_CPU_ID_HI_VALUE
40 #define ICU_BANDWIDTH_INDEX_1 10
41 #define ICU_BANDWIDTH_INDEX_2 11
42 #define ICU_SCALEFACTOR_INDEX 6
43 #define ICU_FREQ_TRIM_LOW (0)
44 #define ICU_FREQ_SEARCH_LOW (-2)
45 #define ICU_FREQ_SEARCH_HIGH (3)
46 #define ICU_MAX_TICK_INTERVAL 256
47 
48 #define ICU_COMMON_READY_FREQ_LOCKED (0) // TODO not needed - should be removed
49 #define ICU_COMMON_FREQCOUNTERCYCLES (128) // TODO not needed - should be removed
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif // ICU_H_
Definitions for Chirp Shasta sensor ASIC.