\doxysection{ICM20948\+\_\+regs.\+h}
\hypertarget{ICM20948__regs_8h_source}{}\label{ICM20948__regs_8h_source}\index{src/ICM20948\_regs.h@{src/ICM20948\_regs.h}}
\mbox{\hyperlink{ICM20948__regs_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00001}00001\ \textcolor{preprocessor}{\#ifndef\ ICM20948\_REGS\_H}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00002}00002\ \textcolor{preprocessor}{\#define\ ICM20948\_REGS\_H}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00003}00003\ \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00004}00004\ \textcolor{comment}{/**}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00005}00005\ \textcolor{comment}{\ *\ 7Semi\ comment\ style}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00006}00006\ \textcolor{comment}{\ *\ -\/\ Full\ ICM-\/20948\ register\ map\ (Banks\ 0–3)\ +\ key\ bit\ fields}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00007}00007\ \textcolor{comment}{\ *\ -\/\ Simple,\ portable\ \#defines\ for\ firmware\ use}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00008}00008\ \textcolor{comment}{\ *\ -\/\ Datasheet\ naming\ kept\ where\ practical;\ fields\ grouped\ by\ bank}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00009}00009\ \textcolor{comment}{\ *}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00010}00010\ \textcolor{comment}{\ *\ Notes}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00011}00011\ \textcolor{comment}{\ *\ -\/\ WHO\_AM\_I\ expected\ value:\ 0xEA}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00012}00012\ \textcolor{comment}{\ *\ -\/\ Select\ register\ bank\ via\ REG\_BANK\_SEL\ in\ any\ bank}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00013}00013\ \textcolor{comment}{\ *\ -\/\ Use\ BANK(n)\ helper\ or\ write\ raw\ values\ 0x00/0x10/0x20/0x30}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00014}00014\ \textcolor{comment}{\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00015}00015\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00016}00016\ \textcolor{comment}{/*\ -\/-\/-\/-\/-\/-\/-\/-\/\ Common\ helpers\ -\/-\/-\/-\/-\/-\/-\/-\/\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00017}00017\ \textcolor{preprocessor}{\#ifndef\ BIT}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00018}00018\ \textcolor{preprocessor}{\#define\ BIT(n)\ (1u\ <<\ (n))}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00019}00019\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00020}00020\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00021}00021\ \textcolor{comment}{//\ \#define\ BANK(n)\ ((uint8\_t)((n)\ <<\ 4))}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00022}00022\ \textcolor{comment}{//\ \#define\ BANK0\ BANK(0)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00023}00023\ \textcolor{comment}{//\ \#define\ BANK1\ BANK(1)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00024}00024\ \textcolor{comment}{//\ \#define\ BANK2\ BANK(2)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00025}00025\ \textcolor{comment}{//\ \#define\ BANK3\ BANK(3)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00026}00026\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00027}00027\ \textcolor{comment}{/*\ ==========================================================================\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00028}00028\ \textcolor{comment}{/*\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ BANK\ 0\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00029}00029\ \textcolor{comment}{/*\ ==========================================================================\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00030}00030\ \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00031}00031\ \textcolor{comment}{/**\ -\/\ Identity\ /\ power\ /\ interrupts\ /\ sensor\ data\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00032}\mbox{\hyperlink{ICM20948__regs_8h_a9fcb9e460d175bfc7ab4d80bf788b43a}{00032}}\ \textcolor{preprocessor}{\#define\ WHO\_AM\_I\ 0x00\ }\textcolor{comment}{/*\ WHO\_AM\_I[7:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00033}\mbox{\hyperlink{ICM20948__regs_8h_a4a6eb6d34106490a76e78b008ee463db}{00033}}\ \textcolor{preprocessor}{\#define\ WHO\_AM\_I\_VAL\ 0xEA}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00034}00034\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00035}\mbox{\hyperlink{ICM20948__regs_8h_abd9eebb35aad7616fe0414952e2d477d}{00035}}\ \textcolor{preprocessor}{\#define\ USER\_CTRL\ 0x03\ }\textcolor{comment}{/*\ DMP\_EN\ FIFO\_EN\ I2C\_MST\_EN\ I2C\_IF\_DIS\ DMP\_RST\ SRAM\_RST\ I2C\_MST\_RST\ -\/\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00036}00036\ \textcolor{comment}{/*\ bits\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00037}\mbox{\hyperlink{ICM20948__regs_8h_a63b9f4cadab3f6f1740301b9889af3df}{00037}}\ \textcolor{preprocessor}{\#define\ USER\_CTRL\_DMP\_EN\ BIT(7)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00038}\mbox{\hyperlink{ICM20948__regs_8h_a7df27576927a177e2dfa6472baf9d4e3}{00038}}\ \textcolor{preprocessor}{\#define\ USER\_CTRL\_FIFO\_EN\ BIT(6)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00039}\mbox{\hyperlink{ICM20948__regs_8h_af68c5a8a485ff0d5bf62df214bd843b1}{00039}}\ \textcolor{preprocessor}{\#define\ USER\_CTRL\_I2C\_MST\_EN\ BIT(5)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00040}\mbox{\hyperlink{ICM20948__regs_8h_a128fcd64335fb671533ad48caeab6562}{00040}}\ \textcolor{preprocessor}{\#define\ USER\_CTRL\_I2C\_IF\_DIS\ BIT(4)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00041}\mbox{\hyperlink{ICM20948__regs_8h_adadb891e1c8189de0979c223f87038f9}{00041}}\ \textcolor{preprocessor}{\#define\ USER\_CTRL\_DMP\_RST\ BIT(3)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00042}\mbox{\hyperlink{ICM20948__regs_8h_a4ccf43b75920afac77ea9a0667918eca}{00042}}\ \textcolor{preprocessor}{\#define\ USER\_CTRL\_SRAM\_RST\ BIT(2)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00043}\mbox{\hyperlink{ICM20948__regs_8h_acee98ff18317535502ce4ec24c116e26}{00043}}\ \textcolor{preprocessor}{\#define\ USER\_CTRL\_I2C\_MST\_RST\ BIT(1)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00044}00044\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00045}\mbox{\hyperlink{ICM20948__regs_8h_a9ae692fa86d432d9edd89eefd79c969d}{00045}}\ \textcolor{preprocessor}{\#define\ LP\_CONFIG\ 0x05\ }\textcolor{comment}{/*\ I2C\_MST\_CYCLE\ ACCEL\_CYCLE\ GYRO\_CYCLE\ -\/\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00046}\mbox{\hyperlink{ICM20948__regs_8h_a5b4413df4e25c434ad98c865d224f45c}{00046}}\ \textcolor{preprocessor}{\#define\ LP\_I2C\_MST\_CYCLE\ BIT(6)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00047}\mbox{\hyperlink{ICM20948__regs_8h_a9c3541b497cc8ede02a50c383029bd9a}{00047}}\ \textcolor{preprocessor}{\#define\ LP\_ACCEL\_CYCLE\ BIT(5)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00048}\mbox{\hyperlink{ICM20948__regs_8h_abb46a3fdd55f38c3c096650d0e387b30}{00048}}\ \textcolor{preprocessor}{\#define\ LP\_GYRO\_CYCLE\ BIT(4)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00049}00049\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00050}\mbox{\hyperlink{ICM20948__regs_8h_a96169eb207e721c1546cea9ffd8a35e4}{00050}}\ \textcolor{preprocessor}{\#define\ PWR\_MGMT\_1\ 0x06\ }\textcolor{comment}{/*\ DEVICE\_RESET\ SLEEP\ LP\_EN\ -\/\ TEMP\_DIS\ CLKSEL[2:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00051}\mbox{\hyperlink{ICM20948__regs_8h_a7b66d3b6474ee8e7229a07beae661cda}{00051}}\ \textcolor{preprocessor}{\#define\ PWR\_DEVICE\_RESET\ BIT(7)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00052}\mbox{\hyperlink{ICM20948__regs_8h_abb01381ecbd799948340ad91c109a4f0}{00052}}\ \textcolor{preprocessor}{\#define\ PWR\_SLEEP\ BIT(6)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00053}\mbox{\hyperlink{ICM20948__regs_8h_adab3241b289c8e0309a112934b56f1f6}{00053}}\ \textcolor{preprocessor}{\#define\ PWR\_LP\_EN\ BIT(5)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00054}\mbox{\hyperlink{ICM20948__regs_8h_a966007d39d833afbf07884f535d7c1fb}{00054}}\ \textcolor{preprocessor}{\#define\ PWR\_TEMP\_DIS\ BIT(3)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00055}\mbox{\hyperlink{ICM20948__regs_8h_a5a4ca9264dfee866c4e074aa20cd6013}{00055}}\ \textcolor{preprocessor}{\#define\ PWR\_CLKSEL\_MASK\ 0x07}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00056}\mbox{\hyperlink{ICM20948__regs_8h_ae59f7bb983706849c7421e4409f89cf0}{00056}}\ \textcolor{preprocessor}{\#define\ PWR\_CLKSEL\_INT\_20MHZ\ 0x01}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00057}\mbox{\hyperlink{ICM20948__regs_8h_abe90ccd7d626ca00305cd0ec685c0a49}{00057}}\ \textcolor{preprocessor}{\#define\ PWR\_CLKSEL\_AUTO\ 0x01\ }\textcolor{comment}{/*\ typical:\ auto\ selects\ best\ source\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00058}00058\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00059}\mbox{\hyperlink{ICM20948__regs_8h_a23cfbcfd19dc88eb631309970f138e65}{00059}}\ \textcolor{preprocessor}{\#define\ PWR\_MGMT\_2\ 0x07\ }\textcolor{comment}{/*\ -\/\ DISABLE\_ACCEL\ DISABLE\_GYRO\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00060}\mbox{\hyperlink{ICM20948__regs_8h_af710015fbf3b7912ce472c009d7010a9}{00060}}\ \textcolor{preprocessor}{\#define\ PWR\_DISABLE\_ACCEL\ BIT(3)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00061}\mbox{\hyperlink{ICM20948__regs_8h_adfaa9848812eb4bbe08da717c75d7c65}{00061}}\ \textcolor{preprocessor}{\#define\ PWR\_DISABLE\_GYRO\ BIT(0)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00062}00062\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00063}00063\ \textcolor{comment}{//Interrupt\ Configs\ register}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00064}\mbox{\hyperlink{ICM20948__regs_8h_ab00fdfba66092d2d869031629c092dad}{00064}}\ \textcolor{preprocessor}{\#define\ INT\_PIN\_CFG\ 0x0F\ \ \ \ \ \ \ \ \ }\textcolor{comment}{/*\ INT1\_ACTL\ INT1\_OPEN\ INT1\_LATCH\_INT\_EN\ INT\_ANYRD\_2CLEAR\ ACTL\_FSYNC\ FSYNC\_INT\_MODE\_EN\ BYPASS\_EN\ -\/\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00065}\mbox{\hyperlink{ICM20948__regs_8h_ab1ea6cc45f06ca59b48db0c585a9e907}{00065}}\ \textcolor{preprocessor}{\#define\ INT1\_ACTL\ BIT(7)\ \ \ \ \ \ \ \ \ }\textcolor{comment}{/*\ active\ low\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00066}\mbox{\hyperlink{ICM20948__regs_8h_a595c12aa457c6f4644b62772e339f31b}{00066}}\ \textcolor{preprocessor}{\#define\ INT1\_OPEN\ BIT(6)\ \ \ \ \ \ \ \ \ }\textcolor{comment}{/*\ open-\/drain\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00067}\mbox{\hyperlink{ICM20948__regs_8h_a10e3b6caa24560427a66c9d03423f873}{00067}}\ \textcolor{preprocessor}{\#define\ INT1\_LATCH\_INT\_EN\ BIT(5)\ }\textcolor{comment}{/*\ latch\ until\ status\ read\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00068}\mbox{\hyperlink{ICM20948__regs_8h_a9f5fc259da5ec490f3aeb2429804bffb}{00068}}\ \textcolor{preprocessor}{\#define\ INT\_ANYRD\_2CLEAR\ BIT(4)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00069}\mbox{\hyperlink{ICM20948__regs_8h_a0fdde4ba96f7f0be4dc165529c9f4e17}{00069}}\ \textcolor{preprocessor}{\#define\ INT\_ACTL\_FSYNC\ BIT(3)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00070}\mbox{\hyperlink{ICM20948__regs_8h_a588de0706f26f2d676044be823d3e52d}{00070}}\ \textcolor{preprocessor}{\#define\ FSYNC\_INT\_MODE\_EN\ BIT(2)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00071}\mbox{\hyperlink{ICM20948__regs_8h_a74fca4c1e6ade3ca508bb1a9d1e7a8b2}{00071}}\ \textcolor{preprocessor}{\#define\ BYPASS\_EN\ BIT(1)\ }\textcolor{comment}{/*\ I2C\ bypass\ to\ aux\ devices\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00072}00072\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00073}\mbox{\hyperlink{ICM20948__regs_8h_abf7a56466fd6203663685a04448c9185}{00073}}\ \textcolor{preprocessor}{\#define\ INT\_ENABLE\ 0x10\ }\textcolor{comment}{/*\ REG\_WOF\_EN\ -\/\ WOM\_INT\_EN\ PLL\_RDY\_EN\ DMP\_INT1\_EN\ I2C\_MST\_INT\_EN\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00074}\mbox{\hyperlink{ICM20948__regs_8h_a77189a75d2c70d5d492d3cf074f23f4d}{00074}}\ \textcolor{preprocessor}{\#define\ INT\_REG\_WOF\_EN\ BIT(7)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00075}\mbox{\hyperlink{ICM20948__regs_8h_a112d99669ad650a0ae65f050322c04ff}{00075}}\ \textcolor{preprocessor}{\#define\ INT\_WOM\_INT\_EN\ BIT(3)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00076}\mbox{\hyperlink{ICM20948__regs_8h_abbb457e1e59f886039e50e5cf0d1f2c5}{00076}}\ \textcolor{preprocessor}{\#define\ INT\_PLL\_RDY\_EN\ BIT(2)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00077}\mbox{\hyperlink{ICM20948__regs_8h_ad4593f49550c870571712139b01543d9}{00077}}\ \textcolor{preprocessor}{\#define\ INT\_DMP\_INT1\_EN\ BIT(1)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00078}\mbox{\hyperlink{ICM20948__regs_8h_a6301fb7bf5a4c5f2dbc9bce7407587d1}{00078}}\ \textcolor{preprocessor}{\#define\ INT\_I2C\_MST\_INT\_EN\ BIT(0)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00079}00079\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00080}\mbox{\hyperlink{ICM20948__regs_8h_ae8c6c6e4a060f62ce0e923d80a0ccffe}{00080}}\ \textcolor{preprocessor}{\#define\ INT\_ENABLE\_1\ 0x11\ }\textcolor{comment}{/*\ RAW\_DATA\_0\_RDY\_EN\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00081}\mbox{\hyperlink{ICM20948__regs_8h_a6cd6e474a587614756688223f4e7cfcb}{00081}}\ \textcolor{preprocessor}{\#define\ INT\_RAW\_DATA\_0\_RDY\_EN\ BIT(0)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00082}00082\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00083}\mbox{\hyperlink{ICM20948__regs_8h_a37397c9ab1b56abddfadfa044fec7371}{00083}}\ \textcolor{preprocessor}{\#define\ INT\_ENABLE\_2\ 0x12\ }\textcolor{comment}{/*\ FIFO\_OVERFLOW\_EN[4:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00084}\mbox{\hyperlink{ICM20948__regs_8h_a3d88b66994665f81b4be05f71a6bf721}{00084}}\ \textcolor{preprocessor}{\#define\ INT\_ENABLE\_3\ 0x13\ }\textcolor{comment}{/*\ FIFO\_WM\_EN[4:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00085}00085\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00086}\mbox{\hyperlink{ICM20948__regs_8h_a8498e646190e00d95ddd95af4d6a093a}{00086}}\ \textcolor{preprocessor}{\#define\ I2C\_MST\_STATUS\ 0x17\ }\textcolor{comment}{/*\ PASS\_THROUGH,\ *\_DONE,\ *\_NACK,\ LOST\_ARB\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00087}\mbox{\hyperlink{ICM20948__regs_8h_ab15b060d8a66f970576b1529cbd04986}{00087}}\ \textcolor{preprocessor}{\#define\ MST\_PASS\_THROUGH\ BIT(7)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00088}\mbox{\hyperlink{ICM20948__regs_8h_ad2aa22121a98f94134f273fe12e269be}{00088}}\ \textcolor{preprocessor}{\#define\ MST\_SLV4\_DONE\ BIT(6)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00089}\mbox{\hyperlink{ICM20948__regs_8h_af1476004e2a217f3ecb5b447200d7125}{00089}}\ \textcolor{preprocessor}{\#define\ MST\_LOST\_ARB\ BIT(5)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00090}\mbox{\hyperlink{ICM20948__regs_8h_add44eaeeb32d78a1dbfb3a01a98471b3}{00090}}\ \textcolor{preprocessor}{\#define\ MST\_SLV4\_NACK\ BIT(4)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00091}\mbox{\hyperlink{ICM20948__regs_8h_a66d21eb6c6901cefaee5e7ac4971c33c}{00091}}\ \textcolor{preprocessor}{\#define\ MST\_SLV3\_NACK\ BIT(3)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00092}\mbox{\hyperlink{ICM20948__regs_8h_aca322bd59e54ce5e50581211880e87df}{00092}}\ \textcolor{preprocessor}{\#define\ MST\_SLV2\_NACK\ BIT(2)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00093}\mbox{\hyperlink{ICM20948__regs_8h_a7e92ec3ef8f2b4acc3bf9a5b0bd2bbb7}{00093}}\ \textcolor{preprocessor}{\#define\ MST\_SLV1\_NACK\ BIT(1)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00094}\mbox{\hyperlink{ICM20948__regs_8h_a26fd14c789b7da8785cd2e3ad0f906bb}{00094}}\ \textcolor{preprocessor}{\#define\ MST\_SLV0\_NACK\ BIT(0)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00095}00095\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00096}\mbox{\hyperlink{ICM20948__regs_8h_a62cba161837810295654c3cc2de959a6}{00096}}\ \textcolor{preprocessor}{\#define\ INT\_STATUS\ 0x19\ }\textcolor{comment}{/*\ WOM\_INT\ PLL\_RDY\_INT\ DMP\_INT1\ I2C\_MST\_INT\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00097}\mbox{\hyperlink{ICM20948__regs_8h_a1da7a39a86332022ad6cc968d9bb2fe6}{00097}}\ \textcolor{preprocessor}{\#define\ STS\_WOM\_INT\ BIT(3)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00098}\mbox{\hyperlink{ICM20948__regs_8h_a307d55fede8f7bed60f2820f10b4a37c}{00098}}\ \textcolor{preprocessor}{\#define\ STS\_PLL\_RDY\_INT\ BIT(2)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00099}\mbox{\hyperlink{ICM20948__regs_8h_a7bdf0e8f1f8ce9ac0b6c3416e94de186}{00099}}\ \textcolor{preprocessor}{\#define\ STS\_DMP\_INT1\ BIT(1)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00100}\mbox{\hyperlink{ICM20948__regs_8h_a02e7e0bda15647950f785937f772c0d3}{00100}}\ \textcolor{preprocessor}{\#define\ STS\_I2C\_MST\_INT\ BIT(0)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00101}00101\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00102}\mbox{\hyperlink{ICM20948__regs_8h_a9db7925a1fc15589aaecd38ff1adb286}{00102}}\ \textcolor{preprocessor}{\#define\ INT\_STATUS\_1\ 0x1A\ }\textcolor{comment}{/*\ RAW\_DATA\_0\_RDY\_INT\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00103}\mbox{\hyperlink{ICM20948__regs_8h_ae4756d95c4a9a7ce7f4de7808c759697}{00103}}\ \textcolor{preprocessor}{\#define\ STS\_RAW\_DATA\_0\_RDY\_INT\ BIT(0)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00104}\mbox{\hyperlink{ICM20948__regs_8h_a8e75e97149a0b6aa3b89d5b93b1574d7}{00104}}\ \textcolor{preprocessor}{\#define\ INT\_STATUS\_2\ 0x1B\ }\textcolor{comment}{/*\ FIFO\_OVERFLOW\_INT[4:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00105}\mbox{\hyperlink{ICM20948__regs_8h_ad284ca31cb7c46ef85f24eb7437e7438}{00105}}\ \textcolor{preprocessor}{\#define\ INT\_STATUS\_3\ 0x1C\ }\textcolor{comment}{/*\ FIFO\_WM\_INT[4:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00106}00106\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00107}\mbox{\hyperlink{ICM20948__regs_8h_a0b9620a734608f6814b7b7f818e47575}{00107}}\ \textcolor{preprocessor}{\#define\ DELAY\_TIMEH\ 0x28}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00108}\mbox{\hyperlink{ICM20948__regs_8h_aa7033e3ca087f13e7ba04d8edcee9884}{00108}}\ \textcolor{preprocessor}{\#define\ DELAY\_TIMEL\ 0x29}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00109}00109\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00110}00110\ \textcolor{comment}{/*\ -\/\ Sensor\ outputs\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00111}\mbox{\hyperlink{ICM20948__regs_8h_a94b93aa4aabbe7caec7884ddb46b531b}{00111}}\ \textcolor{preprocessor}{\#define\ ACCEL\_XOUT\_H\ 0x2D}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00112}\mbox{\hyperlink{ICM20948__regs_8h_a47679c25e1689ee0401959e33e05a761}{00112}}\ \textcolor{preprocessor}{\#define\ ACCEL\_XOUT\_L\ 0x2E}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00113}\mbox{\hyperlink{ICM20948__regs_8h_a26d680f52fbdaa0623d16292e9c40d4c}{00113}}\ \textcolor{preprocessor}{\#define\ ACCEL\_YOUT\_H\ 0x2F}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00114}\mbox{\hyperlink{ICM20948__regs_8h_ad7a92304bd1dd3755068380b51319a93}{00114}}\ \textcolor{preprocessor}{\#define\ ACCEL\_YOUT\_L\ 0x30}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00115}\mbox{\hyperlink{ICM20948__regs_8h_a44d84761605d984a0de060640f4c57da}{00115}}\ \textcolor{preprocessor}{\#define\ ACCEL\_ZOUT\_H\ 0x31}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00116}\mbox{\hyperlink{ICM20948__regs_8h_a36e02bfb24518b6c425d9c3411c8d720}{00116}}\ \textcolor{preprocessor}{\#define\ ACCEL\_ZOUT\_L\ 0x32}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00117}\mbox{\hyperlink{ICM20948__regs_8h_a0016198ccf5ca2b7f41d7a23e6554373}{00117}}\ \textcolor{preprocessor}{\#define\ GYRO\_XOUT\_H\ 0x33}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00118}\mbox{\hyperlink{ICM20948__regs_8h_af07374691962c7531539cfcd36aa1c4b}{00118}}\ \textcolor{preprocessor}{\#define\ GYRO\_XOUT\_L\ 0x34}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00119}\mbox{\hyperlink{ICM20948__regs_8h_a0970193c5ba295a66f057c017663adf1}{00119}}\ \textcolor{preprocessor}{\#define\ GYRO\_YOUT\_H\ 0x35}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00120}\mbox{\hyperlink{ICM20948__regs_8h_af2403ccc9042c6a869278a7c211a396d}{00120}}\ \textcolor{preprocessor}{\#define\ GYRO\_YOUT\_L\ 0x36}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00121}\mbox{\hyperlink{ICM20948__regs_8h_ac0fcd61ece1f100c02494fc94f0b0dad}{00121}}\ \textcolor{preprocessor}{\#define\ GYRO\_ZOUT\_H\ 0x37}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00122}\mbox{\hyperlink{ICM20948__regs_8h_a5466aa6a32d0b17e834ef9792e7f415d}{00122}}\ \textcolor{preprocessor}{\#define\ GYRO\_ZOUT\_L\ 0x38}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00123}\mbox{\hyperlink{ICM20948__regs_8h_ae8c4c28fe604535a3a57d0536c6e8175}{00123}}\ \textcolor{preprocessor}{\#define\ TEMP\_OUT\_H\ 0x39}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00124}\mbox{\hyperlink{ICM20948__regs_8h_a7fe4a13198c0b3d8cf09802e7247fd2c}{00124}}\ \textcolor{preprocessor}{\#define\ TEMP\_OUT\_L\ 0x3A}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00125}00125\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00126}00126\ \textcolor{comment}{/*\ -\/\ External\ sensor\ shadow\ data\ (aux\ I2C)\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00127}\mbox{\hyperlink{ICM20948__regs_8h_a3cc8ba7b3d13ace76a3d4bfd9101de76}{00127}}\ \textcolor{preprocessor}{\#define\ EXT\_SLV\_SENS\_DATA\_00\ 0x3B}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00128}\mbox{\hyperlink{ICM20948__regs_8h_ac8040e5111c9526777ee3f75ea87b06c}{00128}}\ \textcolor{preprocessor}{\#define\ EXT\_SLV\_SENS\_DATA\_23\ 0x52\ }\textcolor{comment}{/*\ contiguous\ range\ 0x3B..0x52\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00129}00129\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00130}\mbox{\hyperlink{ICM20948__regs_8h_a422cd178ef79acea7b5e077f44096aa6}{00130}}\ \textcolor{preprocessor}{\#define\ FIFO\_EN\_1\ 0x66\ }\textcolor{comment}{/*\ SLV3..SLV0\ FIFO\_EN\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00131}\mbox{\hyperlink{ICM20948__regs_8h_a2c7ce9454607c6df5b9feae4e189f687}{00131}}\ \textcolor{preprocessor}{\#define\ FIFO\_EN\_2\ 0x67\ }\textcolor{comment}{/*\ ACCEL\ GYRO\_Z/Y/X\ TEMP\ FIFO\_EN\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00132}\mbox{\hyperlink{ICM20948__regs_8h_a29899698c6d1663e4c7af5147cbfa410}{00132}}\ \textcolor{preprocessor}{\#define\ FIFO\_RST\ 0x68\ \ }\textcolor{comment}{/*\ FIFO\_RESET[4:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00133}\mbox{\hyperlink{ICM20948__regs_8h_a9decb9af0f31cde182b198c8e88846a7}{00133}}\ \textcolor{preprocessor}{\#define\ FIFO\_MODE\ 0x69\ }\textcolor{comment}{/*\ FIFO\_MODE[4:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00134}\mbox{\hyperlink{ICM20948__regs_8h_adbbef0e95665e066deb615f04b347491}{00134}}\ \textcolor{preprocessor}{\#define\ FIFO\_COUNTH\ 0x70}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00135}\mbox{\hyperlink{ICM20948__regs_8h_adbede65b2cfa35abde780bd704077f53}{00135}}\ \textcolor{preprocessor}{\#define\ FIFO\_COUNTL\ 0x71}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00136}\mbox{\hyperlink{ICM20948__regs_8h_ac12b6d897ba3ad98caeb3bd070c1c158}{00136}}\ \textcolor{preprocessor}{\#define\ FIFO\_R\_W\ 0x72}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00137}00137\ \textcolor{comment}{//\ \#define\ DATA\_RDY\_STATUS\ 0x74\ /*\ WOF\_STATUS\ RAW\_DATA\_RDY[3:0]\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00138}\mbox{\hyperlink{ICM20948__regs_8h_a6f937329c07ec795c60dbb680b072e45}{00138}}\ \textcolor{preprocessor}{\#define\ FIFO\_CFG\ 0x76}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00139}00139\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00140}\mbox{\hyperlink{ICM20948__regs_8h_a9b16c1c2367ca3fbe185cd375ff247e0}{00140}}\ \textcolor{preprocessor}{\#define\ REG\_BANK\_SEL\ 0x7F\ }\textcolor{comment}{/*\ USER\_BANK[1:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00141}00141\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00142}00142\ \textcolor{comment}{/*\ ==========================================================================\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00143}00143\ \textcolor{comment}{/*\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ BANK\ 1\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00144}00144\ \textcolor{comment}{/*\ ==========================================================================\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00145}00145\ \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00146}00146\ \textcolor{comment}{/**\ -\/\ Self-\/test\ /\ accel\ offsets\ /\ timebase\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00147}\mbox{\hyperlink{ICM20948__regs_8h_afbca39272b9691b037268612593d36ea}{00147}}\ \textcolor{preprocessor}{\#define\ SELF\_TEST\_X\_GYRO\ 0x02\ \ }\textcolor{comment}{/*\ XG\_ST\_DATA[7:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00148}\mbox{\hyperlink{ICM20948__regs_8h_a4589b391b79cd75e09d08c4465ff95d6}{00148}}\ \textcolor{preprocessor}{\#define\ SELF\_TEST\_Y\_GYRO\ 0x03\ \ }\textcolor{comment}{/*\ YG\_ST\_DATA[7:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00149}\mbox{\hyperlink{ICM20948__regs_8h_a7d36169280ef7d539e6535693fa54663}{00149}}\ \textcolor{preprocessor}{\#define\ SELF\_TEST\_Z\_GYRO\ 0x04\ \ }\textcolor{comment}{/*\ ZG\_ST\_DATA[7:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00150}\mbox{\hyperlink{ICM20948__regs_8h_a514afe64ef4e94fd792f0e01e66cf682}{00150}}\ \textcolor{preprocessor}{\#define\ SELF\_TEST\_X\_ACCEL\ 0x0E\ }\textcolor{comment}{/*\ XA\_ST\_DATA[7:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00151}\mbox{\hyperlink{ICM20948__regs_8h_a9dba24f56a63a23b71ece8ebafbe46e1}{00151}}\ \textcolor{preprocessor}{\#define\ SELF\_TEST\_Y\_ACCEL\ 0x0F\ }\textcolor{comment}{/*\ YA\_ST\_DATA[7:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00152}\mbox{\hyperlink{ICM20948__regs_8h_a89faa3ca314423fc7876d1df8c62f848}{00152}}\ \textcolor{preprocessor}{\#define\ SELF\_TEST\_Z\_ACCEL\ 0x10\ }\textcolor{comment}{/*\ ZA\_ST\_DATA[7:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00153}00153\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00154}\mbox{\hyperlink{ICM20948__regs_8h_a04ff2b3ed31a8d968fd35d4aa6f21f41}{00154}}\ \textcolor{preprocessor}{\#define\ XA\_OFFS\_H\ 0x14\ }\textcolor{comment}{/*\ XA\_OFFS[14:7]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00155}\mbox{\hyperlink{ICM20948__regs_8h_aa167443ed9dcf512457e9c798ec4313e}{00155}}\ \textcolor{preprocessor}{\#define\ XA\_OFFS\_L\ 0x15\ }\textcolor{comment}{/*\ XA\_OFFS[6:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00156}\mbox{\hyperlink{ICM20948__regs_8h_aa3e32cf7cc8939be268365b10c6ac894}{00156}}\ \textcolor{preprocessor}{\#define\ YA\_OFFS\_H\ 0x17\ }\textcolor{comment}{/*\ YA\_OFFS[14:7]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00157}\mbox{\hyperlink{ICM20948__regs_8h_a03589d527dc53126adfa9c45805b1a15}{00157}}\ \textcolor{preprocessor}{\#define\ YA\_OFFS\_L\ 0x18\ }\textcolor{comment}{/*\ YA\_OFFS[6:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00158}\mbox{\hyperlink{ICM20948__regs_8h_aaa89f8364619afe5d380dc17fa5b777c}{00158}}\ \textcolor{preprocessor}{\#define\ ZA\_OFFS\_H\ 0x1A\ }\textcolor{comment}{/*\ ZA\_OFFS[14:7]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00159}\mbox{\hyperlink{ICM20948__regs_8h_aec8f75ac7cadcca50454f3f6772649fb}{00159}}\ \textcolor{preprocessor}{\#define\ ZA\_OFFS\_L\ 0x1B\ }\textcolor{comment}{/*\ ZA\_OFFS[6:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00160}00160\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00161}\mbox{\hyperlink{ICM20948__regs_8h_aa5eb6a0018d30deb0aa86326a2dbefcb}{00161}}\ \textcolor{preprocessor}{\#define\ TIMEBASE\_CORRECTION\_PLL\ 0x28\ }\textcolor{comment}{/*\ TBC\_PLL[7:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00162}00162\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00163}\mbox{\hyperlink{ICM20948__regs_8h_ada787bf8ae3c0e2f6fe5bc12b66ecd9f}{00163}}\ \textcolor{preprocessor}{\#define\ BANK1\_REG\_BANK\_SEL\ 0x7F\ }\textcolor{comment}{/*\ mirror\ of\ REG\_BANK\_SEL\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00164}00164\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00165}00165\ \textcolor{comment}{/*\ ==========================================================================\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00166}00166\ \textcolor{comment}{/*\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ BANK\ 2\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00167}00167\ \textcolor{comment}{/*\ ==========================================================================\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00168}00168\ \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00169}00169\ \textcolor{comment}{/**\ -\/\ Gyro/Accel\ configuration,\ offsets,\ FSYNC,\ temperature\ filter\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00170}\mbox{\hyperlink{ICM20948__regs_8h_ad4b8489fa75f9ee976be1fc77a1470e5}{00170}}\ \textcolor{preprocessor}{\#define\ GYRO\_SMPLRT\_DIV\ 0x00\ }\textcolor{comment}{/*\ GYRO\_SMPLRT\_DIV[7:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00171}00171\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00172}\mbox{\hyperlink{ICM20948__regs_8h_ac972e7c28645c461e84f63b7f3a6100a}{00172}}\ \textcolor{preprocessor}{\#define\ GYRO\_CONFIG\_1\ 0x01\ \ }\textcolor{comment}{/*\ GYRO\_DLPFCFG[2:0]\ GYRO\_FS\_SEL[1:0]\ GYRO\_FCHOICE\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00173}\mbox{\hyperlink{ICM20948__regs_8h_aba7f1f3b8b5d74c09463ea674e30d89f}{00173}}\ \textcolor{preprocessor}{\#define\ GYRO\_FCHOICE\ BIT(0)\ }\textcolor{comment}{/*\ when\ 0:\ DLPF\ on,\ when\ 1:\ off\ (per\ datasheet)\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00174}\mbox{\hyperlink{ICM20948__regs_8h_a0ad725e4128a9930946a28b4ceef450f}{00174}}\ \textcolor{preprocessor}{\#define\ GYRO\_FS\_SEL\_SHIFT\ 1}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00175}\mbox{\hyperlink{ICM20948__regs_8h_a4ecf947338a9f3b92b77bb163c426284}{00175}}\ \textcolor{preprocessor}{\#define\ GYRO\_FS\_SEL\_MASK\ (0x3u\ <<\ GYRO\_FS\_SEL\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00176}\mbox{\hyperlink{ICM20948__regs_8h_a0a5b0e4ccf93c9bff3672e67f4640712}{00176}}\ \textcolor{preprocessor}{\#define\ GYRO\_FS\_250DPS\ (0u\ <<\ GYRO\_FS\_SEL\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00177}\mbox{\hyperlink{ICM20948__regs_8h_abe58108c7077f249b06f2a8356f9bd92}{00177}}\ \textcolor{preprocessor}{\#define\ GYRO\_FS\_500DPS\ (1u\ <<\ GYRO\_FS\_SEL\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00178}\mbox{\hyperlink{ICM20948__regs_8h_ae44f2e805b5b8e4d317875c0039b5ff6}{00178}}\ \textcolor{preprocessor}{\#define\ GYRO\_FS\_1000DPS\ (2u\ <<\ GYRO\_FS\_SEL\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00179}\mbox{\hyperlink{ICM20948__regs_8h_aae2a9ed515b284054030503041a29fd3}{00179}}\ \textcolor{preprocessor}{\#define\ GYRO\_FS\_2000DPS\ (3u\ <<\ GYRO\_FS\_SEL\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00180}\mbox{\hyperlink{ICM20948__regs_8h_a84a3fe43ab1a3f53ee3570aa5abce83e}{00180}}\ \textcolor{preprocessor}{\#define\ GYRO\_DLPFCFG\_SHIFT\ 5}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00181}\mbox{\hyperlink{ICM20948__regs_8h_a1a4b82ede40148b20021e80c8290ac8d}{00181}}\ \textcolor{preprocessor}{\#define\ GYRO\_DLPFCFG\_MASK\ (0x7u\ <<\ GYRO\_DLPFCFG\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00182}00182\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00183}\mbox{\hyperlink{ICM20948__regs_8h_ad5fd1f43dabfe58ed84b6014b470c236}{00183}}\ \textcolor{preprocessor}{\#define\ GYRO\_CONFIG\_2\ 0x02\ }\textcolor{comment}{/*\ XGYRO\_CTEN\ YGYRO\_CTEN\ ZGYRO\_CTEN\ GYRO\_AVGCFG[2:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00184}\mbox{\hyperlink{ICM20948__regs_8h_a14c351ac5c8173a80ec555e65ec8ae93}{00184}}\ \textcolor{preprocessor}{\#define\ XGYRO\_CTEN\ BIT(5)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00185}\mbox{\hyperlink{ICM20948__regs_8h_ad1ada34f2d4d3f5b21ea64236706f80f}{00185}}\ \textcolor{preprocessor}{\#define\ YGYRO\_CTEN\ BIT(4)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00186}\mbox{\hyperlink{ICM20948__regs_8h_a7403e1c67b0ad574a270d684a9a39381}{00186}}\ \textcolor{preprocessor}{\#define\ ZGYRO\_CTEN\ BIT(3)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00187}\mbox{\hyperlink{ICM20948__regs_8h_ac1d432c72196a151807b4928b94aafbc}{00187}}\ \textcolor{preprocessor}{\#define\ GYRO\_AVGCFG\_SHIFT\ 0}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00188}\mbox{\hyperlink{ICM20948__regs_8h_a43b1c548be9109d2fb0ad4708b567ac9}{00188}}\ \textcolor{preprocessor}{\#define\ GYRO\_AVGCFG\_MASK\ (0x7u\ <<\ GYRO\_AVGCFG\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00189}00189\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00190}\mbox{\hyperlink{ICM20948__regs_8h_a75ed9711e6453cadb7bc62a8457aefc7}{00190}}\ \textcolor{preprocessor}{\#define\ XG\_OFFS\_USRH\ 0x03}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00191}\mbox{\hyperlink{ICM20948__regs_8h_a49299ef6d11d7ba69751f58abad33a54}{00191}}\ \textcolor{preprocessor}{\#define\ XG\_OFFS\_USRL\ 0x04}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00192}\mbox{\hyperlink{ICM20948__regs_8h_af77b200540e2780a76af9d446e722ee7}{00192}}\ \textcolor{preprocessor}{\#define\ YG\_OFFS\_USRH\ 0x05}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00193}\mbox{\hyperlink{ICM20948__regs_8h_a79bd3286cf36d15c6cea51d08a6a622c}{00193}}\ \textcolor{preprocessor}{\#define\ YG\_OFFS\_USRL\ 0x06}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00194}\mbox{\hyperlink{ICM20948__regs_8h_a272087902ac250d729833f566dc0e7a7}{00194}}\ \textcolor{preprocessor}{\#define\ ZG\_OFFS\_USRH\ 0x07}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00195}\mbox{\hyperlink{ICM20948__regs_8h_a21bfc74e9d45847e56fda9243cd4a1a1}{00195}}\ \textcolor{preprocessor}{\#define\ ZG\_OFFS\_USRL\ 0x08}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00196}00196\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00197}\mbox{\hyperlink{ICM20948__regs_8h_a1dcde6e84d00fa3afb68212a81350de6}{00197}}\ \textcolor{preprocessor}{\#define\ ODR\_ALIGN\_EN\ 0x09\ }\textcolor{comment}{/*\ ODR\_ALIGN\_EN\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00198}\mbox{\hyperlink{ICM20948__regs_8h_a51ee1227f773050f5360049fdde6fefe}{00198}}\ \textcolor{preprocessor}{\#define\ ODR\_ALIGN\_EN\_BIT\ BIT(0)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00199}00199\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00200}\mbox{\hyperlink{ICM20948__regs_8h_ad063fc542e8600d8c86200f55762a5a9}{00200}}\ \textcolor{preprocessor}{\#define\ ACCEL\_SMPLRT\_DIV\_1\ 0x10\ }\textcolor{comment}{/*\ ACCEL\_SMPLRT\_DIV[11:8]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00201}\mbox{\hyperlink{ICM20948__regs_8h_a5fc41bb3a5697245421fe42fe14d8bac}{00201}}\ \textcolor{preprocessor}{\#define\ ACCEL\_SMPLRT\_DIV\_2\ 0x11\ }\textcolor{comment}{/*\ ACCEL\_SMPLRT\_DIV[7:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00202}00202\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00203}\mbox{\hyperlink{ICM20948__regs_8h_ad13060d6ca7cd58de3ae9eb9b78bb96c}{00203}}\ \textcolor{preprocessor}{\#define\ ACCEL\_INTEL\_CTRL\ 0x12\ }\textcolor{comment}{/*\ ACCEL\_INTEL\_EN\ ACCEL\_INTEL\_MODE\_INT\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00204}\mbox{\hyperlink{ICM20948__regs_8h_a9a08724692541b07172ea38f0fee76a8}{00204}}\ \textcolor{preprocessor}{\#define\ ACCEL\_INTEL\_EN\ BIT(7)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00205}\mbox{\hyperlink{ICM20948__regs_8h_ac2882d4d3d28736f9c374131f573751c}{00205}}\ \textcolor{preprocessor}{\#define\ ACCEL\_INTEL\_MODE\_INT\ BIT(6)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00206}00206\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00207}\mbox{\hyperlink{ICM20948__regs_8h_a41a17a6b15d9e82d9573c7472b344e81}{00207}}\ \textcolor{preprocessor}{\#define\ ACCEL\_WOM\_THR\ 0x13\ }\textcolor{comment}{/*\ WOM\_THRESHOLD[7:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00208}00208\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00209}\mbox{\hyperlink{ICM20948__regs_8h_ab7336e26f8947086e41a375f1e1e74d4}{00209}}\ \textcolor{preprocessor}{\#define\ ACCEL\_CONFIG\ 0x14\ }\textcolor{comment}{/*\ ACCEL\_DLPFCFG[2:0]\ ACCEL\_FS\_SEL[1:0]\ ACCEL\_FCHOICE\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00210}\mbox{\hyperlink{ICM20948__regs_8h_addaeee3d2a72c5535d0b83838bbdbed4}{00210}}\ \textcolor{preprocessor}{\#define\ ACCEL\_FCHOICE\ BIT(0)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00211}\mbox{\hyperlink{ICM20948__regs_8h_abaf4e9711f4fdf451036df98298c5c9c}{00211}}\ \textcolor{preprocessor}{\#define\ ACCEL\_FS\_SEL\_SHIFT\ 1}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00212}\mbox{\hyperlink{ICM20948__regs_8h_a675d7c3c266696e3fab64e6363d6d230}{00212}}\ \textcolor{preprocessor}{\#define\ ACCEL\_FS\_SEL\_MASK\ (0x3u\ <<\ ACCEL\_FS\_SEL\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00213}\mbox{\hyperlink{ICM20948__regs_8h_a1fa5109d3780a15d3cb9b3ae7fafd806}{00213}}\ \textcolor{preprocessor}{\#define\ ACCEL\_FS\_2G\ (0u\ <<\ ACCEL\_FS\_SEL\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00214}\mbox{\hyperlink{ICM20948__regs_8h_a0be0f0805d1e415257a3b3b1650cdb14}{00214}}\ \textcolor{preprocessor}{\#define\ ACCEL\_FS\_4G\ (1u\ <<\ ACCEL\_FS\_SEL\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00215}\mbox{\hyperlink{ICM20948__regs_8h_a2d2eada2754555e4033f175ea0ad5d41}{00215}}\ \textcolor{preprocessor}{\#define\ ACCEL\_FS\_8G\ (2u\ <<\ ACCEL\_FS\_SEL\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00216}\mbox{\hyperlink{ICM20948__regs_8h_ac3f01b7a0492791e55c549c505c22afa}{00216}}\ \textcolor{preprocessor}{\#define\ ACCEL\_FS\_16G\ (3u\ <<\ ACCEL\_FS\_SEL\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00217}\mbox{\hyperlink{ICM20948__regs_8h_a5cccfee9c81121f7b1928b2fd612713d}{00217}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPFCFG\_SHIFT\ 5}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00218}\mbox{\hyperlink{ICM20948__regs_8h_a6816460509b4a5df5ea61a9d6e6c712c}{00218}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPFCFG\_MASK\ (0x7u\ <<\ ACCEL\_DLPFCFG\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00219}00219\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00220}\mbox{\hyperlink{ICM20948__regs_8h_a86a65c9ccec738d87e0aa97db3589a52}{00220}}\ \textcolor{preprocessor}{\#define\ ACCEL\_CONFIG\_2\ 0x15\ }\textcolor{comment}{/*\ AX\_ST\_EN\_REG\ AY\_ST\_EN\_REG\ AZ\_ST\_EN\_REG\ DEC3\_CFG[1:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00221}\mbox{\hyperlink{ICM20948__regs_8h_a034c71528aa0105a9f4d6fef2c7a7cc6}{00221}}\ \textcolor{preprocessor}{\#define\ AX\_ST\_EN\_REG\ BIT(7)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00222}\mbox{\hyperlink{ICM20948__regs_8h_ad2332431c513c7dc57aab474976ef32f}{00222}}\ \textcolor{preprocessor}{\#define\ AY\_ST\_EN\_REG\ BIT(6)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00223}\mbox{\hyperlink{ICM20948__regs_8h_ade83d598cf89fef90fda4b77b9d63c11}{00223}}\ \textcolor{preprocessor}{\#define\ AZ\_ST\_EN\_REG\ BIT(5)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00224}\mbox{\hyperlink{ICM20948__regs_8h_a47c62314cb27615426280ee96096319c}{00224}}\ \textcolor{preprocessor}{\#define\ DEC3\_CFG\_SHIFT\ 0}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00225}\mbox{\hyperlink{ICM20948__regs_8h_a58830cd1b01d821134d1008559b85db0}{00225}}\ \textcolor{preprocessor}{\#define\ DEC3\_CFG\_MASK\ (0x3u\ <<\ DEC3\_CFG\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00226}00226\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00227}\mbox{\hyperlink{ICM20948__regs_8h_aac564d01e4d70555d9d5d5cc9d8dcbb1}{00227}}\ \textcolor{preprocessor}{\#define\ FSYNC\_CONFIG\ 0x52\ }\textcolor{comment}{/*\ DELAY\_TIME\_EN\ WOF\_DEGLITCH\_EN\ WOF\_EDGE\_INT\ EXT\_SYNC\_SET[3:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00228}\mbox{\hyperlink{ICM20948__regs_8h_a5119bea2334aadd474d45344d79a577c}{00228}}\ \textcolor{preprocessor}{\#define\ DELAY\_TIME\_EN\ BIT(7)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00229}\mbox{\hyperlink{ICM20948__regs_8h_a1af4f725fc8854c51027afd46293e49b}{00229}}\ \textcolor{preprocessor}{\#define\ WOF\_DEGLITCH\_EN\ BIT(6)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00230}\mbox{\hyperlink{ICM20948__regs_8h_a9b9c831e45d70557c2b8f25b3e5d202b}{00230}}\ \textcolor{preprocessor}{\#define\ WOF\_EDGE\_INT\ BIT(5)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00231}\mbox{\hyperlink{ICM20948__regs_8h_a0a561455853e14cf1d0afaa4fcba1368}{00231}}\ \textcolor{preprocessor}{\#define\ EXT\_SYNC\_SET\_MASK\ 0x0F}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00232}00232\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00233}\mbox{\hyperlink{ICM20948__regs_8h_a2e236c9f66faac8b588786ee649d8ba5}{00233}}\ \textcolor{preprocessor}{\#define\ TEMP\_CONFIG\ 0x53\ }\textcolor{comment}{/*\ TEMP\_DLPFCFG[2:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00234}\mbox{\hyperlink{ICM20948__regs_8h_aefdbc70a782cb9c2b5b8688b5df901c0}{00234}}\ \textcolor{preprocessor}{\#define\ TEMP\_DLPFCFG\_SHIFT\ 5}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00235}\mbox{\hyperlink{ICM20948__regs_8h_a9672cc6c350c9594516a49b08813291b}{00235}}\ \textcolor{preprocessor}{\#define\ TEMP\_DLPFCFG\_MASK\ (0x7u\ <<\ TEMP\_DLPFCFG\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00236}00236\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00237}\mbox{\hyperlink{ICM20948__regs_8h_a44af2a98d4d8f0c8aa4af1e668afcf3a}{00237}}\ \textcolor{preprocessor}{\#define\ MOD\_CTRL\_USR\ 0x54\ }\textcolor{comment}{/*\ REG\_LP\_DMP\_EN\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00238}\mbox{\hyperlink{ICM20948__regs_8h_a1d67e81b8149cf7040c0a481f761d936}{00238}}\ \textcolor{preprocessor}{\#define\ REG\_LP\_DMP\_EN\ BIT(7)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00239}00239\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00240}\mbox{\hyperlink{ICM20948__regs_8h_a16694fbb5db89c95175bad2b3d90e1a6}{00240}}\ \textcolor{preprocessor}{\#define\ BANK2\_REG\_BANK\_SEL\ 0x7F\ }\textcolor{comment}{/*\ mirror\ of\ REG\_BANK\_SEL\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00241}00241\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00242}00242\ \textcolor{comment}{/*\ ==========================================================================\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00243}00243\ \textcolor{comment}{/*\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ BANK\ 3\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00244}00244\ \textcolor{comment}{/*\ ==========================================================================\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00245}00245\ \textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00246}00246\ \textcolor{comment}{/**\ -\/\ I2C\ master\ (aux)\ interface\ and\ slave\ windows\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00247}\mbox{\hyperlink{ICM20948__regs_8h_a9a98caedecf97ba4827e3fb383738d22}{00247}}\ \textcolor{preprocessor}{\#define\ I2C\_MST\_ODR\_CONFIG\ 0x00\ }\textcolor{comment}{/*\ I2C\_MST\_ODR\_CONFIG[3:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00248}\mbox{\hyperlink{ICM20948__regs_8h_a3ce8032670beecdf045949712f2519d2}{00248}}\ \textcolor{preprocessor}{\#define\ MST\_ODR\_CFG\_MASK\ 0x0F}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00249}00249\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00250}\mbox{\hyperlink{ICM20948__regs_8h_a24bc05247067ad9f0479f5a6d49c6412}{00250}}\ \textcolor{preprocessor}{\#define\ I2C\_MST\_CTRL\ 0x01\ }\textcolor{comment}{/*\ MULT\_MST\_EN\ -\/\ I2C\_MST\_P\_NSR\ I2C\_MST\_CLK[3:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00251}\mbox{\hyperlink{ICM20948__regs_8h_a2975040e190c4c4ad32fe0dce063192b}{00251}}\ \textcolor{preprocessor}{\#define\ MULT\_MST\_EN\ BIT(7)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00252}\mbox{\hyperlink{ICM20948__regs_8h_a4567be95ebd563cd703523f8cfe914fa}{00252}}\ \textcolor{preprocessor}{\#define\ I2C\_MST\_P\_NSR\ BIT(4)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00253}\mbox{\hyperlink{ICM20948__regs_8h_a2bdaf660cae92feabe788d90a29ca56e}{00253}}\ \textcolor{preprocessor}{\#define\ I2C\_MST\_CLK\_MASK\ 0x0F}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00254}00254\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00255}\mbox{\hyperlink{ICM20948__regs_8h_a070e664a4ae9c8f4f78f8a6e8e15b9b3}{00255}}\ \textcolor{preprocessor}{\#define\ I2C\_MST\_DELAY\_CTRL\ 0x02\ }\textcolor{comment}{/*\ DELAY\_ES\_SHADOW\ +\ I2C\_SLVx\_DELAY\_EN\ bits\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00256}\mbox{\hyperlink{ICM20948__regs_8h_a0b0a0d5da043ad78c664545a27f0526d}{00256}}\ \textcolor{preprocessor}{\#define\ DELAY\_ES\_SHADOW\ BIT(7)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00257}\mbox{\hyperlink{ICM20948__regs_8h_aa8d3374da08488d9da3f222fb65ce0e6}{00257}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV4\_DELAY\_EN\ BIT(4)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00258}\mbox{\hyperlink{ICM20948__regs_8h_a111459a1a7722cfb3ed1dd9f8dfd4a74}{00258}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV3\_DELAY\_EN\ BIT(3)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00259}\mbox{\hyperlink{ICM20948__regs_8h_a2861041b311dd58b8a73c41fb20f9e52}{00259}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV2\_DELAY\_EN\ BIT(2)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00260}\mbox{\hyperlink{ICM20948__regs_8h_af685838c5a31c08b9dc83a52025dd730}{00260}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV1\_DELAY\_EN\ BIT(1)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00261}\mbox{\hyperlink{ICM20948__regs_8h_a39c22e4a6771964b1a9124a8df1a7618}{00261}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV0\_DELAY\_EN\ BIT(0)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00262}00262\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00263}\mbox{\hyperlink{ICM20948__regs_8h_a614db921c27f375c632960a7f34999a4}{00263}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV0\_ADDR\ 0x03\ }\textcolor{comment}{/*\ RNW\ +\ ID[6:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00264}\mbox{\hyperlink{ICM20948__regs_8h_a8c357db66e310d0e6298ab41c86d3cad}{00264}}\ \textcolor{preprocessor}{\#define\ I2C\_SLVx\_RNW\ BIT(7)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00265}\mbox{\hyperlink{ICM20948__regs_8h_a0553d56ecccd0fc8008505e712a9b075}{00265}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV0\_REG\ 0x04}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00266}\mbox{\hyperlink{ICM20948__regs_8h_ad6fb6553534b0b9e9715db3e5a04ebca}{00266}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV0\_CTRL\ 0x05\ }\textcolor{comment}{/*\ EN\ BYTE\_SW\ REG\_DIS\ GRP\ LENG[3:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00267}\mbox{\hyperlink{ICM20948__regs_8h_a00a6bbbaaeeeba58a5c7a70a00237b34}{00267}}\ \textcolor{preprocessor}{\#define\ I2C\_SLVx\_EN\ BIT(7)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00268}\mbox{\hyperlink{ICM20948__regs_8h_a759270d1d90470e5c144cc689c04ea8f}{00268}}\ \textcolor{preprocessor}{\#define\ I2C\_SLVx\_BYTE\_SW\ BIT(6)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00269}\mbox{\hyperlink{ICM20948__regs_8h_aff507d9c313c3acd182b127a8a7df3fb}{00269}}\ \textcolor{preprocessor}{\#define\ I2C\_SLVx\_REG\_DIS\ BIT(5)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00270}\mbox{\hyperlink{ICM20948__regs_8h_a5dc680b1ba27309238a089edc9389bd9}{00270}}\ \textcolor{preprocessor}{\#define\ I2C\_SLVx\_GRP\ BIT(4)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00271}\mbox{\hyperlink{ICM20948__regs_8h_a6eea61317145bd2c847654ee3991392b}{00271}}\ \textcolor{preprocessor}{\#define\ I2C\_SLVx\_LENG\_MASK\ 0x0F}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00272}\mbox{\hyperlink{ICM20948__regs_8h_a2f0f1237e987597a4405b9deeefeb6f5}{00272}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV0\_DO\ 0x06}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00273}00273\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00274}\mbox{\hyperlink{ICM20948__regs_8h_adeef906221a363d4489cf0a51d7f03b6}{00274}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV1\_ADDR\ 0x07}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00275}\mbox{\hyperlink{ICM20948__regs_8h_a33d12ea757eeb8ef10aa501f6c68ba3d}{00275}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV1\_REG\ 0x08}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00276}\mbox{\hyperlink{ICM20948__regs_8h_a6857f4e255988b5aae9d570dec2a06c8}{00276}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV1\_CTRL\ 0x09}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00277}\mbox{\hyperlink{ICM20948__regs_8h_a043904c7afcc6c5f59446654b0e5c14d}{00277}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV1\_DO\ 0x0A}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00278}00278\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00279}\mbox{\hyperlink{ICM20948__regs_8h_a034ba244ecc0c426be3f4633aeb7a9ff}{00279}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV2\_ADDR\ 0x0B}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00280}\mbox{\hyperlink{ICM20948__regs_8h_a1dcc66c14a2f15c66d14e194ea580aca}{00280}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV2\_REG\ 0x0C}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00281}\mbox{\hyperlink{ICM20948__regs_8h_a0e361efa54525005024d5311522c4fd0}{00281}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV2\_CTRL\ 0x0D}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00282}\mbox{\hyperlink{ICM20948__regs_8h_ae935eee6b3a91c715fe9efb59cfa150d}{00282}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV2\_DO\ 0x0E}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00283}00283\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00284}\mbox{\hyperlink{ICM20948__regs_8h_a88324f0308864c807e4e20908dcbc8dd}{00284}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV3\_ADDR\ 0x0F}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00285}\mbox{\hyperlink{ICM20948__regs_8h_a3e60bba66fa653f2051858107209bc44}{00285}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV3\_REG\ 0x10}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00286}\mbox{\hyperlink{ICM20948__regs_8h_ab01644e46212208586b93974f4ff1c76}{00286}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV3\_CTRL\ 0x11}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00287}\mbox{\hyperlink{ICM20948__regs_8h_a56d7f8f0bbced62e74ed56f08443932c}{00287}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV3\_DO\ 0x12}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00288}00288\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00289}\mbox{\hyperlink{ICM20948__regs_8h_a25432a6492073ae1e1e082ea95ad3c65}{00289}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV4\_ADDR\ 0x13}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00290}\mbox{\hyperlink{ICM20948__regs_8h_a89919db5e2f4a361c1d19cc2215c8d0c}{00290}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV4\_REG\ 0x14}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00291}\mbox{\hyperlink{ICM20948__regs_8h_a7e5cb081a1546553fe74fb3e07b7907b}{00291}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV4\_CTRL\ 0x15\ }\textcolor{comment}{/*\ EN\ BYTE\_SW\ REG\_DIS\ DLY[4:0]\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00292}\mbox{\hyperlink{ICM20948__regs_8h_ac827dddc63088628ec9f1e22a128f7ce}{00292}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV4\_DLY\_MASK\ 0x1F}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00293}\mbox{\hyperlink{ICM20948__regs_8h_a317a21f85deb696c508437cd32ac803c}{00293}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV4\_DO\ 0x16}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00294}\mbox{\hyperlink{ICM20948__regs_8h_a838003994d9f3319308f9f650cc2a083}{00294}}\ \textcolor{preprocessor}{\#define\ I2C\_SLV4\_DI\ 0x17}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00295}00295\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00296}\mbox{\hyperlink{ICM20948__regs_8h_acf00495f40d5d9a9b5158f08441676f1}{00296}}\ \textcolor{preprocessor}{\#define\ BANK3\_REG\_BANK\_SEL\ 0x7F\ }\textcolor{comment}{/*\ mirror\ of\ REG\_BANK\_SEL\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00297}00297\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00298}00298\ \textcolor{comment}{/*\ ==========================================================================\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00299}00299\ \textcolor{comment}{/*\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ REG\_BANK\_SEL\ (all\ banks)\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00300}00300\ \textcolor{comment}{/*\ ==========================================================================\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00301}00301\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00302}\mbox{\hyperlink{ICM20948__regs_8h_a41c1ee63b4568779e78c610e09796716}{00302}}\ \textcolor{preprocessor}{\#define\ REG\_BANK\_SEL\_USER\_BANK\_SHIFT\ 4}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00303}\mbox{\hyperlink{ICM20948__regs_8h_a4b6a2c20c3fb8966632ebf278311495e}{00303}}\ \textcolor{preprocessor}{\#define\ REG\_BANK\_SEL\_USER\_BANK\_MASK\ (0x3u\ <<\ REG\_BANK\_SEL\_USER\_BANK\_SHIFT)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00304}\mbox{\hyperlink{ICM20948__regs_8h_ae8946b41538722b4142a0f6444b0503c}{00304}}\ \textcolor{preprocessor}{\#define\ USER\_BANK\_0\ BANK0}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00305}\mbox{\hyperlink{ICM20948__regs_8h_abe89aa36ccd3f772615a2bf38a7e9c00}{00305}}\ \textcolor{preprocessor}{\#define\ USER\_BANK\_1\ BANK1}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00306}\mbox{\hyperlink{ICM20948__regs_8h_ae62779564a37efd634ff6a11160adf91}{00306}}\ \textcolor{preprocessor}{\#define\ USER\_BANK\_2\ BANK2}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00307}\mbox{\hyperlink{ICM20948__regs_8h_ab9f2e83f83f95c319b49d30e36bcd516}{00307}}\ \textcolor{preprocessor}{\#define\ USER\_BANK\_3\ BANK3}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00308}00308\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00309}00309\ \textcolor{comment}{/*\ AK09916\ magnetometer\ registers\ (connected\ internally)\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00310}\mbox{\hyperlink{ICM20948__regs_8h_a5bb4b636373b265ea8f5a44eb9c3de71}{00310}}\ \textcolor{preprocessor}{\#define\ AK09916\_I2C\_ADDR\ 0x0C}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00311}\mbox{\hyperlink{ICM20948__regs_8h_ad50958b1c02ef5f355ef4b8c3c1f950f}{00311}}\ \textcolor{preprocessor}{\#define\ AK\_WIA2\ 0x01}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00312}\mbox{\hyperlink{ICM20948__regs_8h_a8fd61d6bf64fda1d2894843373c89b2c}{00312}}\ \textcolor{preprocessor}{\#define\ AK\_ST1\ 0x10}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00313}\mbox{\hyperlink{ICM20948__regs_8h_aa43f631a8e4d2111d0b06d8935f1f28a}{00313}}\ \textcolor{preprocessor}{\#define\ AK\_HXL\ 0x11}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00314}\mbox{\hyperlink{ICM20948__regs_8h_ad89f89dfb925ea0688fc3f13fa83c8a3}{00314}}\ \textcolor{preprocessor}{\#define\ AK\_ST2\ 0x18}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00315}\mbox{\hyperlink{ICM20948__regs_8h_aa87dd3ac650291f0cb7ef9df161b141a}{00315}}\ \textcolor{preprocessor}{\#define\ AK\_CNTL2\ 0x31}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00316}\mbox{\hyperlink{ICM20948__regs_8h_a3327fe2d014f5a7a14f435dc91a211e7}{00316}}\ \textcolor{preprocessor}{\#define\ AK\_CNTL3\ 0x32}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00317}\mbox{\hyperlink{ICM20948__regs_8h_ae26396a9b83ccd4d5bddaff886608eb4}{00317}}\ \textcolor{preprocessor}{\#define\ AK\_WIA2\_VAL\ 0x09\ }\textcolor{comment}{/*\ AK09916C\ WIA2\ expected\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00318}00318\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00319}\mbox{\hyperlink{ICM20948__regs_8h_a7ef2e1cb009cff30755f69c992e479ba}{00319}}\ \textcolor{preprocessor}{\#define\ INTERNAL\_20MHZ\ 0x00\ }\textcolor{comment}{/*\ 0:\ Internal\ 20\ MHz\ RC\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00320}\mbox{\hyperlink{ICM20948__regs_8h_a020e32651d45063e6cd9bcde81d9d9cf}{00320}}\ \textcolor{preprocessor}{\#define\ AUTO\_SEL\ 0x01\ \ \ \ \ \ \ }\textcolor{comment}{/*\ 1–5:\ Auto/PLL\ preferred\ (use\ 1\ as\ default)\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00321}\mbox{\hyperlink{ICM20948__regs_8h_a132c5870adaf588f159109617eb0a879}{00321}}\ \textcolor{preprocessor}{\#define\ CLK\_STOP\ 0x07\ \ \ \ \ \ \ }\textcolor{comment}{/*\ 7:\ Stop\ clock\ /\ timing\ gen\ reset\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00322}00322\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00323}00323\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00324}00324\ \textcolor{comment}{/*\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ Accelerometer\ Range\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ */}\textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00325}00325\ \textcolor{comment}{/**\ -\/\ ±2g\ /\ ±4g\ /\ ±8g\ /\ ±16g\ (maps\ to\ FS\_SEL\ 0..3)\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00326}\mbox{\hyperlink{ICM20948__regs_8h_a0fbb90014055948ce1842dacd7e5b2b5}{00326}}\ \textcolor{preprocessor}{\#define\ g2\ \ \ \ 0}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00327}\mbox{\hyperlink{ICM20948__regs_8h_a6027928d78526ebc422079967b48e9cd}{00327}}\ \textcolor{preprocessor}{\#define\ g4\ \ \ \ 1}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00328}\mbox{\hyperlink{ICM20948__regs_8h_abd899d7c74a31d3a1816c14bcec3fff5}{00328}}\ \textcolor{preprocessor}{\#define\ g8\ \ \ \ 2}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00329}\mbox{\hyperlink{ICM20948__regs_8h_a02c5d7ab10211f5e37987d2bfd212f2a}{00329}}\ \textcolor{preprocessor}{\#define\ g16\ \ \ 3}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00330}00330\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00331}00331\ \textcolor{comment}{/*\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ Accelerometer\ Filter\ Path\ (FCHOICE)\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ */}\textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00332}00332\ \textcolor{comment}{/**}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00333}00333\ \textcolor{comment}{\ *\ Path\ select\ for\ accel:}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00334}00334\ \textcolor{comment}{\ *\ -\/\ ACCEL\_FCHOICE\_BYPASS\ :\ DLPF\ bypassed\ (very\ wide\ BW,\ fastest)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00335}00335\ \textcolor{comment}{\ *\ -\/\ ACCEL\_FCHOICE\_DLPF\ \ \ :\ DLPF\ enabled\ (use\ ACCEL\_DLPFCFG\ +\ SMPLRT\_DIV)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00336}00336\ \textcolor{comment}{\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00337}\mbox{\hyperlink{ICM20948__regs_8h_a53b358cfdfd91e1d6be26a95200b75c9}{00337}}\ \textcolor{preprocessor}{\#define\ ACCEL\_FCHOICE\_BYPASS\ \ \ 0}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00338}\mbox{\hyperlink{ICM20948__regs_8h_a6d45f723d8ffa8482e63e466611e9369}{00338}}\ \textcolor{preprocessor}{\#define\ ACCEL\_FCHOICE\_DLPF\ \ \ \ \ 1}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00339}00339\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00340}00340\ \textcolor{comment}{/*\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ Accelerometer\ DLPF\ Config\ (CFG)\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ */}\textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00341}00341\ \textcolor{comment}{/**}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00342}00342\ \textcolor{comment}{\ *\ ACCEL\_DLPFCFG\ (0..7)\ —\ choose\ cutoff/noise\ BW\ set\ (when\ DLPF\ is\ ON).}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00343}00343\ \textcolor{comment}{\ *\ Tip:\ start\ with\ ACCEL\_DLPFCFG\_3\ for\ a\ good\ noise/latency\ tradeoff.}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00344}00344\ \textcolor{comment}{\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00345}\mbox{\hyperlink{ICM20948__regs_8h_a4ace5d0bfbb036db88f09c458201f8f9}{00345}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPFCFG\_0\ \ \ \ \ \ \ \ 0}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00346}\mbox{\hyperlink{ICM20948__regs_8h_a6cf2add557bb7cf7996de43554dab9b7}{00346}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPFCFG\_1\ \ \ \ \ \ \ \ 1}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00347}\mbox{\hyperlink{ICM20948__regs_8h_afa2d2cf12981a29ab60dde48c04f7f2f}{00347}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPFCFG\_2\ \ \ \ \ \ \ \ 2}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00348}\mbox{\hyperlink{ICM20948__regs_8h_a981a5bd41894531939c10568f7793069}{00348}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPFCFG\_3\ \ \ \ \ \ \ \ 3}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00349}\mbox{\hyperlink{ICM20948__regs_8h_a5c4170e770ca74f053bac300e416f186}{00349}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPFCFG\_4\ \ \ \ \ \ \ \ 4}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00350}\mbox{\hyperlink{ICM20948__regs_8h_a3c4cf93fb17b6f0e4f6b709ebc4b7e0f}{00350}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPFCFG\_5\ \ \ \ \ \ \ \ 5}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00351}\mbox{\hyperlink{ICM20948__regs_8h_ae691635ebbaec00faa59fe6191e602b0}{00351}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPFCFG\_6\ \ \ \ \ \ \ \ 6}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00352}\mbox{\hyperlink{ICM20948__regs_8h_a7ef5cb64ecbe378559a804f78ac47fc8}{00352}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPFCFG\_7\ \ \ \ \ \ \ \ 7}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00353}00353\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00354}\mbox{\hyperlink{ICM20948__regs_8h_a0f71bfdf73494059b2592741a55e75c5}{00354}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DEC3\_AVG\_4\ \ \ \ \ \ \ 0u\ \ }\textcolor{comment}{/*\ averages\ 1\ or\ 4\ (depends\ on\ FCHOICE)\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00355}\mbox{\hyperlink{ICM20948__regs_8h_aff92127cdfe23d629a401e62cc705f4f}{00355}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DEC3\_AVG\_8\ \ \ \ \ \ \ 1u}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00356}\mbox{\hyperlink{ICM20948__regs_8h_a56b1b65e0fde4a5cd514f81eff173fc3}{00356}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DEC3\_AVG\_16\ \ \ \ \ \ 2u}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00357}\mbox{\hyperlink{ICM20948__regs_8h_abfb8f004ffbd81ac119777a63db15622}{00357}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DEC3\_AVG\_32\ \ \ \ \ \ 3u}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00358}00358\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00359}00359\ \textcolor{comment}{/*\ -\/-\/-\/-\/\ Accel\ DLPF\ ODR\ helper\ (Hz)\ :\ base\ 1125\ Hz,\ DIV\ 0..4095\ -\/-\/-\/-\/\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00360}\mbox{\hyperlink{ICM20948__regs_8h_add42acf88f6b7572df5d4695ae6aacfe}{00360}}\ \textcolor{preprocessor}{\#define\ ACCEL\_SMPLRT\_DIV\_MIN\ \ \ \ \ 0u}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00361}\mbox{\hyperlink{ICM20948__regs_8h_a1b89bf7fc8f3a7425f8454287a1dff84}{00361}}\ \textcolor{preprocessor}{\#define\ ACCEL\_SMPLRT\_DIV\_MAX\ \ \ \ \ 4095u}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00362}\mbox{\hyperlink{ICM20948__regs_8h_af17d5dfe1c173f3bb3253be449b088ad}{00362}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF\_BASE\_HZ\ \ \ \ \ \ \ 1125.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00363}\mbox{\hyperlink{ICM20948__regs_8h_ae36439de125a792f84d26fa0dd6e6f96}{00363}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF\_ODR\_HZ(div)\ \ \ (ACCEL\_DLPF\_BASE\_HZ\ /\ (1.0f\ +\ (float)(div)))}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00364}00364\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00365}00365\ \textcolor{comment}{/*\ -\/-\/-\/-\/\ Accel\ BYPASS\ quick\ reference\ (FCHOICE=0)\ -\/-\/-\/-\/}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00366}00366\ \textcolor{comment}{\ *\ 3dB\ ≈\ 1209\ Hz,\ NBW\ ≈\ 1248\ Hz,\ output\ rate\ ≈\ 4500\ Hz}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00367}00367\ \textcolor{comment}{\ *\ (No\ divider/ODR\ control\ in\ bypass\ path.)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00368}00368\ \textcolor{comment}{\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00369}\mbox{\hyperlink{ICM20948__regs_8h_a9cd9bc43817708af4e5204b31b6f5992}{00369}}\ \textcolor{preprocessor}{\#define\ ACCEL\_BYPASS\_3DB\_BW\_HZ\ \ \ 1209.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00370}\mbox{\hyperlink{ICM20948__regs_8h_a0adc6f4184792133aba843f712d36c36}{00370}}\ \textcolor{preprocessor}{\#define\ ACCEL\_BYPASS\_NBW\_HZ\ \ \ \ \ \ 1248.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00371}\mbox{\hyperlink{ICM20948__regs_8h_a83120a4733f5b43c3aa9e845adb36752}{00371}}\ \textcolor{preprocessor}{\#define\ ACCEL\_BYPASS\_RATE\_HZ\ \ \ \ \ 4500.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00372}00372\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00373}00373\ \textcolor{comment}{/*\ (Optional)\ Accel\ DLPF\ nominal\ bandwidth\ references\ (FCHOICE=1)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00374}00374\ \textcolor{comment}{\ *\ Keep\ here\ for\ quick\ docs;\ exact\ values\ depend\ on\ datasheet\ rev.}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00375}00375\ \textcolor{comment}{\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00376}\mbox{\hyperlink{ICM20948__regs_8h_a65eeecae434b76a72362c553dfde7127}{00376}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF0\_3DB\_BW\_HZ\ \ \ \ 246.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00377}\mbox{\hyperlink{ICM20948__regs_8h_a9d572cc29d3ca4b8f26b642940154427}{00377}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF0\_NBW\_HZ\ \ \ \ \ \ \ 265.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00378}\mbox{\hyperlink{ICM20948__regs_8h_a298d5f7481e688fe681665adb0a02586}{00378}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF1\_3DB\_BW\_HZ\ \ \ \ 246.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00379}\mbox{\hyperlink{ICM20948__regs_8h_ab13172ddaefa5621aed01022eda3ae8c}{00379}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF1\_NBW\_HZ\ \ \ \ \ \ \ 265.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00380}\mbox{\hyperlink{ICM20948__regs_8h_aed9eaad5f33877147630e9f6d04955cf}{00380}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF2\_3DB\_BW\_HZ\ \ \ \ 111.4f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00381}\mbox{\hyperlink{ICM20948__regs_8h_a42fdbadb52a6176b81e2743099220c3f}{00381}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF2\_NBW\_HZ\ \ \ \ \ \ \ 136.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00382}\mbox{\hyperlink{ICM20948__regs_8h_ae717ff6fdd277f45b215e2ecfd39740f}{00382}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF3\_3DB\_BW\_HZ\ \ \ \ 50.4f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00383}\mbox{\hyperlink{ICM20948__regs_8h_a14afbc8e0824174e9637b13aecb12008}{00383}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF3\_NBW\_HZ\ \ \ \ \ \ \ 68.8f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00384}\mbox{\hyperlink{ICM20948__regs_8h_a13e1401edd45479cf49918bd4e829743}{00384}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF4\_3DB\_BW\_HZ\ \ \ \ 23.9f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00385}\mbox{\hyperlink{ICM20948__regs_8h_adad4a72151322ed612f57459be50051b}{00385}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF4\_NBW\_HZ\ \ \ \ \ \ \ 34.4f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00386}\mbox{\hyperlink{ICM20948__regs_8h_a371f8ead6137a42610f302f946721392}{00386}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF5\_3DB\_BW\_HZ\ \ \ \ 11.5f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00387}\mbox{\hyperlink{ICM20948__regs_8h_a380977cb322ab442937b43249b89de10}{00387}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF5\_NBW\_HZ\ \ \ \ \ \ \ 17.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00388}\mbox{\hyperlink{ICM20948__regs_8h_a7e75e13ea7ed1f0580a02d1006463aef}{00388}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF6\_3DB\_BW\_HZ\ \ \ \ 5.7f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00389}\mbox{\hyperlink{ICM20948__regs_8h_a3588e98367303ad076c638ae8dc7a99f}{00389}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF6\_NBW\_HZ\ \ \ \ \ \ \ 8.3f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00390}\mbox{\hyperlink{ICM20948__regs_8h_a1cd8d7120ba570afd5c049f90f5ecf5c}{00390}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF7\_3DB\_BW\_HZ\ \ \ \ 473.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00391}\mbox{\hyperlink{ICM20948__regs_8h_a611135820caf80ae0a3dbec331ee6cbf}{00391}}\ \textcolor{preprocessor}{\#define\ ACCEL\_DLPF7\_NBW\_HZ\ \ \ \ \ \ \ 499.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00392}00392\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00393}00393\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00394}00394\ \textcolor{comment}{/*\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ Gyroscope\ Range\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ */}\textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00395}00395\ \textcolor{comment}{/**\ -\/\ ±250/±500/±1000/±2000\ dps\ (maps\ to\ FS\_SEL\ 0..3)\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00396}\mbox{\hyperlink{ICM20948__regs_8h_aac39f60a5d5b13c2e57d5f652042e3b3}{00396}}\ \textcolor{preprocessor}{\#define\ dps250\ \ \ 0}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00397}\mbox{\hyperlink{ICM20948__regs_8h_a29db79eb36e37bdffe0cb70a88546e19}{00397}}\ \textcolor{preprocessor}{\#define\ dps500\ \ \ 1}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00398}\mbox{\hyperlink{ICM20948__regs_8h_a470bab662db6cff7dba3779733ab7d32}{00398}}\ \textcolor{preprocessor}{\#define\ dps1000\ \ 2}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00399}\mbox{\hyperlink{ICM20948__regs_8h_aa7f66cc9e98bb2743e0dade1f35f6e4e}{00399}}\ \textcolor{preprocessor}{\#define\ dps2000\ \ 3}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00400}00400\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00401}00401\ \textcolor{comment}{/*\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ Gyroscope\ Filter\ Path\ (FCHOICE)\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ */}\textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00402}00402\ \textcolor{comment}{/**}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00403}00403\ \textcolor{comment}{\ *\ Path\ select\ for\ gyro:}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00404}00404\ \textcolor{comment}{\ *\ -\/\ GYRO\_FCHOICE\_BYPASS\ :\ DLPF\ bypassed\ (widest\ BW,\ fastest)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00405}00405\ \textcolor{comment}{\ *\ -\/\ GYRO\_FCHOICE\_DLPF\ \ \ :\ DLPF\ enabled\ (use\ GYRO\_DLPFCFG\ +\ SMPLRT\_DIV)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00406}00406\ \textcolor{comment}{\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00407}\mbox{\hyperlink{ICM20948__regs_8h_a0396beac4a2d807b39927cbfb4f74cd9}{00407}}\ \textcolor{preprocessor}{\#define\ GYRO\_FCHOICE\_BYPASS\ \ \ 0}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00408}\mbox{\hyperlink{ICM20948__regs_8h_a4a40198f0020d2b2097e689d4a4cd4fe}{00408}}\ \textcolor{preprocessor}{\#define\ GYRO\_FCHOICE\_DLPF\ \ \ \ \ 1}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00409}00409\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00410}00410\ \textcolor{comment}{/*\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ Gyroscope\ DLPF\ Config\ (CFG)\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ */}\textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00411}00411\ \textcolor{comment}{/**}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00412}00412\ \textcolor{comment}{\ *\ GYRO\_DLPFCFG\ (0..7)\ —\ choose\ cutoff/noise\ BW\ set\ (when\ DLPF\ is\ ON).}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00413}00413\ \textcolor{comment}{\ *\ Tip:\ start\ with\ GYRO\_DLPFCFG\_3\ or\ \_2\ for\ balanced\ noise/latency.}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00414}00414\ \textcolor{comment}{\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00415}\mbox{\hyperlink{ICM20948__regs_8h_a7bfe35171ac2f30509ab3427ec79c163}{00415}}\ \textcolor{preprocessor}{\#define\ GYRO\_DLPFCFG\_0\ \ \ \ \ \ \ \ 0}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00416}\mbox{\hyperlink{ICM20948__regs_8h_a4514d8de14182be87efb2b6887988698}{00416}}\ \textcolor{preprocessor}{\#define\ GYRO\_DLPFCFG\_1\ \ \ \ \ \ \ \ 1}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00417}\mbox{\hyperlink{ICM20948__regs_8h_ac3a5d12523008ed903c149d72f505404}{00417}}\ \textcolor{preprocessor}{\#define\ GYRO\_DLPFCFG\_2\ \ \ \ \ \ \ \ 2}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00418}\mbox{\hyperlink{ICM20948__regs_8h_a232c240ce20ce0c19c4f0825cb36a11b}{00418}}\ \textcolor{preprocessor}{\#define\ GYRO\_DLPFCFG\_3\ \ \ \ \ \ \ \ 3}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00419}\mbox{\hyperlink{ICM20948__regs_8h_a6ec833d2b53c943952ae9c1c4e548356}{00419}}\ \textcolor{preprocessor}{\#define\ GYRO\_DLPFCFG\_4\ \ \ \ \ \ \ \ 4}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00420}\mbox{\hyperlink{ICM20948__regs_8h_a206c2ccd84882e5d85a2418a1ea318a1}{00420}}\ \textcolor{preprocessor}{\#define\ GYRO\_DLPFCFG\_5\ \ \ \ \ \ \ \ 5}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00421}\mbox{\hyperlink{ICM20948__regs_8h_a199725a3aad2c31f0a8832eb3dd8c186}{00421}}\ \textcolor{preprocessor}{\#define\ GYRO\_DLPFCFG\_6\ \ \ \ \ \ \ \ 6}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00422}\mbox{\hyperlink{ICM20948__regs_8h_a5a60b4826d4007833ddd639cb2e8ffd0}{00422}}\ \textcolor{preprocessor}{\#define\ GYRO\_DLPFCFG\_7\ \ \ \ \ \ \ \ 7}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00423}00423\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00424}00424\ \textcolor{comment}{/*\ -\/-\/-\/-\/\ Gyro\ DLPF\ ODR\ helper\ (Hz)\ :\ base\ 1100\ Hz,\ guard\ ≥\string~4.3\ Hz\ -\/-\/-\/-\/\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00425}\mbox{\hyperlink{ICM20948__regs_8h_a93d4027041b7c7234bf614b599d8a140}{00425}}\ \textcolor{preprocessor}{\#define\ GYRO\_SMPLRT\_MIN\_HZ\ \ \ \ \ \ 4.3f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00426}\mbox{\hyperlink{ICM20948__regs_8h_a0c0ff94f59d9215c6f3022832fe0ec5b}{00426}}\ \textcolor{preprocessor}{\#define\ GYRO\_DLPF\_BASE\_HZ\ \ \ \ \ \ \ 1100.0f}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00427}\mbox{\hyperlink{ICM20948__regs_8h_a020c3511cd0c15cf8e2d981bc8ebead8}{00427}}\ \textcolor{preprocessor}{\#define\ GYRO\_DLPF\_ODR\_HZ(rate\_request)\ \ (rate\_request)\ \ }\textcolor{comment}{/*\ symbolic;\ your\ driver\ computes\ DIV\ =\ round(1100/rate)-\/1\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00428}00428\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00429}00429\ \textcolor{comment}{/*\ (Optional)\ Gyro\ BW\ “buckets”\ to\ tag\ configs\ in\ UI/logs\ (symbolic)}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00430}00430\ \textcolor{comment}{\ *\ Use\ these\ if\ you\ want\ a\ quick\ human-\/readable\ label\ for\ NBW\ tiers.}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00431}00431\ \textcolor{comment}{\ *\ Exact\ Hz\ depend\ on\ datasheet\ table;\ map\ per\ your\ implementation.}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00432}00432\ \textcolor{comment}{\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00433}\mbox{\hyperlink{ICM20948__regs_8h_a4a9b40e615f496a1c3171cf017c2f69e}{00433}}\ \textcolor{preprocessor}{\#define\ GYRO\_BW\_ULTRA\_WIDE\ \ \ 0\ \ \ }\textcolor{comment}{/*\ bypass\ path\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00434}\mbox{\hyperlink{ICM20948__regs_8h_af9704d740268edc361579ea8ea0b5259}{00434}}\ \textcolor{preprocessor}{\#define\ GYRO\_BW\_WIDE\ \ \ \ \ \ \ \ \ 1\ \ \ }\textcolor{comment}{/*\ e.g.,\ CFG\ 0/1\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00435}\mbox{\hyperlink{ICM20948__regs_8h_af8e76f1ab23c6832e4cc29ed4b04a368}{00435}}\ \textcolor{preprocessor}{\#define\ GYRO\_BW\_MEDIUM\ \ \ \ \ \ \ 2\ \ \ }\textcolor{comment}{/*\ e.g.,\ CFG\ 2/3\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00436}\mbox{\hyperlink{ICM20948__regs_8h_aeb4f3eba1796ad705ebaf74bef1ee77c}{00436}}\ \textcolor{preprocessor}{\#define\ GYRO\_BW\_NARROW\ \ \ \ \ \ \ 3\ \ \ }\textcolor{comment}{/*\ e.g.,\ CFG\ 4/5/6/7\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00437}00437\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00438}00438\ \textcolor{comment}{/*\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ Convenience:\ presets\ (symbolic)\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ */}\textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00439}00439\ \textcolor{comment}{/**\ -\/\ Friendly\ ODR\ presets\ you\ can\ map\ to\ dividers\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00440}\mbox{\hyperlink{ICM20948__regs_8h_a13057f8f19ef321dc6a4acc129ca2378}{00440}}\ \textcolor{preprocessor}{\#define\ Hz2\ \ \ \ 0}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00441}\mbox{\hyperlink{ICM20948__regs_8h_a4972b816435db38aad7f2b400af9c4bd}{00441}}\ \textcolor{preprocessor}{\#define\ Hz6\ \ \ \ 1}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00442}\mbox{\hyperlink{ICM20948__regs_8h_adf186b2d5cf19d290767c1c02f4961a0}{00442}}\ \textcolor{preprocessor}{\#define\ Hz8\ \ \ \ 2}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00443}\mbox{\hyperlink{ICM20948__regs_8h_a1b9719ad3e4e2848083174914caf6819}{00443}}\ \textcolor{preprocessor}{\#define\ Hz10\ \ \ 3}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00444}\mbox{\hyperlink{ICM20948__regs_8h_a2409235b924b9863c66db2ad6bdd1a38}{00444}}\ \textcolor{preprocessor}{\#define\ Hz15\ \ \ 4}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00445}\mbox{\hyperlink{ICM20948__regs_8h_a288a4f6e823a7aaed42e070edf9c0a0f}{00445}}\ \textcolor{preprocessor}{\#define\ Hz20\ \ \ 5}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00446}\mbox{\hyperlink{ICM20948__regs_8h_ad011d87232a3f038ba0d81d99992e6fb}{00446}}\ \textcolor{preprocessor}{\#define\ Hz25\ \ \ 6}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00447}\mbox{\hyperlink{ICM20948__regs_8h_a5b0085f2e99349cb987836acfb9c4864}{00447}}\ \textcolor{preprocessor}{\#define\ Hz30\ \ \ 7}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00448}00448\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00449}00449\ \textcolor{comment}{/*\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ Power\ /\ Fusion\ Modes\ -\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/\ */}\textcolor{comment}{}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00450}00450\ \textcolor{comment}{/**}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00451}00451\ \textcolor{comment}{\ *\ Generic\ power\ or\ fusion\ quality\ modes\ (BNO-\/style).}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00452}00452\ \textcolor{comment}{\ *\ Map\ to\ sensor-\/specific\ sequences\ inside\ your\ driver.}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00453}00453\ \textcolor{comment}{\ */}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00454}\mbox{\hyperlink{ICM20948__regs_8h_a9f6835b9f3334745e8a9a8a2d327ad2f}{00454}}\ \textcolor{preprocessor}{\#define\ LowPower\ \ \ \ \ \ \ \ \ \ 0}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00455}\mbox{\hyperlink{ICM20948__regs_8h_a18ef9411e7a892c8173ae19743ef9efd}{00455}}\ \textcolor{preprocessor}{\#define\ Regular\ \ \ \ \ \ \ \ \ \ \ 1}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00456}\mbox{\hyperlink{ICM20948__regs_8h_a49027e7bc4dc289f62dcf42326e6aabd}{00456}}\ \textcolor{preprocessor}{\#define\ EnhancedRegular\ \ \ 2}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00457}\mbox{\hyperlink{ICM20948__regs_8h_a94f211f9d2da0b918254ff23578797c2}{00457}}\ \textcolor{preprocessor}{\#define\ HighAccuracy\ \ \ \ \ \ 3}}
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00458}00458\ }
\DoxyCodeLine{\Hypertarget{ICM20948__regs_8h_source_l00459}00459\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ ICM20948\_REGS\_H\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
