nrfx_config_nrf5340_application.h 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133
  1. /*
  2. * Copyright (c) 2019 - 2020, Nordic Semiconductor ASA
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #ifndef NRFX_CONFIG_NRF5340_APPLICATION_H__
  7. #define NRFX_CONFIG_NRF5340_APPLICATION_H__
  8. #ifndef NRFX_CONFIG_H__
  9. #error "This file should not be included directly. Include nrfx_config.h instead."
  10. #endif
  11. #define NRF_CLOCK NRF_PERIPH(NRF_CLOCK)
  12. #define NRF_COMP NRF_PERIPH(NRF_COMP)
  13. #define NRF_CTRLAP NRF_PERIPH(NRF_CTRLAP)
  14. #define NRF_DCNF NRF_PERIPH(NRF_DCNF)
  15. #define NRF_DPPIC NRF_PERIPH(NRF_DPPIC)
  16. #define NRF_EGU0 NRF_PERIPH(NRF_EGU0)
  17. #define NRF_EGU1 NRF_PERIPH(NRF_EGU1)
  18. #define NRF_EGU2 NRF_PERIPH(NRF_EGU2)
  19. #define NRF_EGU3 NRF_PERIPH(NRF_EGU3)
  20. #define NRF_EGU4 NRF_PERIPH(NRF_EGU4)
  21. #define NRF_EGU5 NRF_PERIPH(NRF_EGU5)
  22. #define NRF_FPU NRF_PERIPH(NRF_FPU)
  23. #define NRF_I2S0 NRF_PERIPH(NRF_I2S0)
  24. #define NRF_IPC NRF_PERIPH(NRF_IPC)
  25. #define NRF_KMU NRF_PERIPH(NRF_KMU)
  26. #define NRF_LPCOMP NRF_PERIPH(NRF_LPCOMP)
  27. #define NRF_MUTEX NRF_PERIPH(NRF_MUTEX)
  28. #define NRF_NFCT NRF_PERIPH(NRF_NFCT)
  29. #define NRF_NVMC NRF_PERIPH(NRF_NVMC)
  30. #define NRF_OSCILLATORS NRF_PERIPH(NRF_OSCILLATORS)
  31. #define NRF_P0 NRF_PERIPH(NRF_P0)
  32. #define NRF_P1 NRF_PERIPH(NRF_P1)
  33. #define NRF_PDM0 NRF_PERIPH(NRF_PDM0)
  34. #define NRF_POWER NRF_PERIPH(NRF_POWER)
  35. #define NRF_PWM0 NRF_PERIPH(NRF_PWM0)
  36. #define NRF_PWM1 NRF_PERIPH(NRF_PWM1)
  37. #define NRF_PWM2 NRF_PERIPH(NRF_PWM2)
  38. #define NRF_PWM3 NRF_PERIPH(NRF_PWM3)
  39. #define NRF_QDEC0 NRF_PERIPH(NRF_QDEC0)
  40. #define NRF_QDEC1 NRF_PERIPH(NRF_QDEC1)
  41. #define NRF_QSPI NRF_PERIPH(NRF_QSPI)
  42. #define NRF_REGULATORS NRF_PERIPH(NRF_REGULATORS)
  43. #define NRF_RESET NRF_PERIPH(NRF_RESET)
  44. #define NRF_RTC0 NRF_PERIPH(NRF_RTC0)
  45. #define NRF_RTC1 NRF_PERIPH(NRF_RTC1)
  46. #define NRF_SAADC NRF_PERIPH(NRF_SAADC)
  47. #define NRF_SPIM0 NRF_PERIPH(NRF_SPIM0)
  48. #define NRF_SPIM1 NRF_PERIPH(NRF_SPIM1)
  49. #define NRF_SPIM2 NRF_PERIPH(NRF_SPIM2)
  50. #define NRF_SPIM3 NRF_PERIPH(NRF_SPIM3)
  51. #define NRF_SPIM4 NRF_PERIPH(NRF_SPIM4)
  52. #define NRF_SPIS0 NRF_PERIPH(NRF_SPIS0)
  53. #define NRF_SPIS1 NRF_PERIPH(NRF_SPIS1)
  54. #define NRF_SPIS2 NRF_PERIPH(NRF_SPIS2)
  55. #define NRF_SPIS3 NRF_PERIPH(NRF_SPIS3)
  56. #define NRF_TIMER0 NRF_PERIPH(NRF_TIMER0)
  57. #define NRF_TIMER1 NRF_PERIPH(NRF_TIMER1)
  58. #define NRF_TIMER2 NRF_PERIPH(NRF_TIMER2)
  59. #define NRF_TWIM0 NRF_PERIPH(NRF_TWIM0)
  60. #define NRF_TWIM1 NRF_PERIPH(NRF_TWIM1)
  61. #define NRF_TWIM2 NRF_PERIPH(NRF_TWIM2)
  62. #define NRF_TWIM3 NRF_PERIPH(NRF_TWIM3)
  63. #define NRF_TWIS0 NRF_PERIPH(NRF_TWIS0)
  64. #define NRF_TWIS1 NRF_PERIPH(NRF_TWIS1)
  65. #define NRF_TWIS2 NRF_PERIPH(NRF_TWIS2)
  66. #define NRF_TWIS3 NRF_PERIPH(NRF_TWIS3)
  67. #define NRF_UARTE0 NRF_PERIPH(NRF_UARTE0)
  68. #define NRF_UARTE1 NRF_PERIPH(NRF_UARTE1)
  69. #define NRF_UARTE2 NRF_PERIPH(NRF_UARTE2)
  70. #define NRF_UARTE3 NRF_PERIPH(NRF_UARTE3)
  71. #define NRF_USBD NRF_PERIPH(NRF_USBD)
  72. #define NRF_USBREGULATOR NRF_PERIPH(NRF_USBREGULATOR)
  73. #define NRF_VMC NRF_PERIPH(NRF_VMC)
  74. #define NRF_WDT0 NRF_PERIPH(NRF_WDT0)
  75. #define NRF_WDT1 NRF_PERIPH(NRF_WDT1)
  76. /*
  77. * The following section provides the name translation for peripherals with
  78. * only one type of access available. For these peripherals, you cannot choose
  79. * between secure and non-secure mapping.
  80. */
  81. #if defined(NRF_TRUSTZONE_NONSECURE)
  82. #define NRF_GPIOTE1 NRF_GPIOTE1_NS
  83. #else
  84. #define NRF_CACHE NRF_CACHE_S
  85. #define NRF_CACHEINFO NRF_CACHEINFO_S
  86. #define NRF_CACHEDATA NRF_CACHEDATA_S
  87. #define NRF_CRYPTOCELL NRF_CRYPTOCELL_S
  88. #define NRF_CTI NRF_CTI_S
  89. #define NRF_FICR NRF_FICR_S
  90. #define NRF_GPIOTE0 NRF_GPIOTE0_S
  91. #define NRF_SPU NRF_SPU_S
  92. #define NRF_TAD NRF_TAD_S
  93. #define NRF_UICR NRF_UICR_S
  94. #endif
  95. /* Fixup for the QDEC driver. */
  96. #define NRF_QDEC NRF_QDEC0
  97. /* Fixup for the GPIOTE driver. */
  98. #if defined(NRF_TRUSTZONE_NONSECURE)
  99. #define NRF_GPIOTE NRF_GPIOTE1
  100. #else
  101. #define NRF_GPIOTE NRF_GPIOTE0
  102. #endif
  103. // <<< Use Configuration Wizard in Context Menu >>>\n
  104. // <h> nRF_Drivers
  105. // <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver.
  106. //==========================================================
  107. #ifndef NRFX_CLOCK_ENABLED
  108. #define NRFX_CLOCK_ENABLED 0
  109. #endif
  110. // <o> NRFX_CLOCK_CONFIG_LF_SRC - LF clock source.
  111. // <0=> ULP
  112. // <1=> RC
  113. // <2=> XTAL
  114. // <3=> Synth
  115. #ifndef NRFX_CLOCK_CONFIG_LF_SRC
  116. #define NRFX_CLOCK_CONFIG_LF_SRC 2
  117. #endif
  118. // <q> NRFX_CLOCK_CONFIG_LF_CAL_ENABLED - Enables LF Clock Calibration Support
  119. #ifndef NRFX_CLOCK_CONFIG_LF_CAL_ENABLED
  120. #define NRFX_CLOCK_CONFIG_LF_CAL_ENABLED 0
  121. #endif
  122. // <q> NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED - Enables two-stage LFXO start procedure
  123. // <i> If set to a non-zero value, LFRC will be started before LFXO and corresponding
  124. // <i> event will be generated. It means that CPU will be woken up when LFRC
  125. // <i> oscillator starts, but user callback will be invoked only after LFXO
  126. // <i> finally starts.
  127. #ifndef NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED
  128. #define NRFX_CLOCK_CONFIG_LFXO_TWO_STAGE_ENABLED 0
  129. #endif
  130. // <o> NRFX_CLOCK_CONFIG_HFCLK192M_SRC - HFCLK192M source.
  131. // <0=> HFINT
  132. // <1=> HFXO
  133. #ifndef NRFX_CLOCK_CONFIG_HFCLK192M_SRC
  134. #define NRFX_CLOCK_CONFIG_HFCLK192M_SRC 1
  135. #endif
  136. // <o> NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  137. // <0=> 0 (highest)
  138. // <1=> 1
  139. // <2=> 2
  140. // <3=> 3
  141. // <4=> 4
  142. // <5=> 5
  143. // <6=> 6
  144. // <7=> 7
  145. #ifndef NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY
  146. #define NRFX_CLOCK_DEFAULT_CONFIG_IRQ_PRIORITY 7
  147. #endif
  148. // <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
  149. //==========================================================
  150. #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
  151. #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
  152. #endif
  153. // <o> NRFX_CLOCK_CONFIG_LOG_LEVEL - Default severity level.
  154. // <0=> Off
  155. // <1=> Error
  156. // <2=> Warning
  157. // <3=> Info
  158. // <4=> Debug
  159. #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
  160. #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
  161. #endif
  162. // <o> NRFX_CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
  163. // <0=> Default
  164. // <1=> Black
  165. // <2=> Red
  166. // <3=> Green
  167. // <4=> Yellow
  168. // <5=> Blue
  169. // <6=> Magenta
  170. // <7=> Cyan
  171. // <8=> White
  172. #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR
  173. #define NRFX_CLOCK_CONFIG_INFO_COLOR 0
  174. #endif
  175. // <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  176. // <0=> Default
  177. // <1=> Black
  178. // <2=> Red
  179. // <3=> Green
  180. // <4=> Yellow
  181. // <5=> Blue
  182. // <6=> Magenta
  183. // <7=> Cyan
  184. // <8=> White
  185. #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR
  186. #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0
  187. #endif
  188. // </e>
  189. // </e>
  190. // <e> NRFX_COMP_ENABLED - nrfx_comp - COMP peripheral driver
  191. //==========================================================
  192. #ifndef NRFX_COMP_ENABLED
  193. #define NRFX_COMP_ENABLED 0
  194. #endif
  195. // <o> NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  196. // <0=> 0 (highest)
  197. // <1=> 1
  198. // <2=> 2
  199. // <3=> 3
  200. // <4=> 4
  201. // <5=> 5
  202. // <6=> 6
  203. // <7=> 7
  204. #ifndef NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY
  205. #define NRFX_COMP_DEFAULT_CONFIG_IRQ_PRIORITY 7
  206. #endif
  207. // <e> NRFX_COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
  208. //==========================================================
  209. #ifndef NRFX_COMP_CONFIG_LOG_ENABLED
  210. #define NRFX_COMP_CONFIG_LOG_ENABLED 0
  211. #endif
  212. // <o> NRFX_COMP_CONFIG_LOG_LEVEL - Default Severity level
  213. // <0=> Off
  214. // <1=> Error
  215. // <2=> Warning
  216. // <3=> Info
  217. // <4=> Debug
  218. #ifndef NRFX_COMP_CONFIG_LOG_LEVEL
  219. #define NRFX_COMP_CONFIG_LOG_LEVEL 3
  220. #endif
  221. // <o> NRFX_COMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
  222. // <0=> Default
  223. // <1=> Black
  224. // <2=> Red
  225. // <3=> Green
  226. // <4=> Yellow
  227. // <5=> Blue
  228. // <6=> Magenta
  229. // <7=> Cyan
  230. // <8=> White
  231. #ifndef NRFX_COMP_CONFIG_INFO_COLOR
  232. #define NRFX_COMP_CONFIG_INFO_COLOR 0
  233. #endif
  234. // <o> NRFX_COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  235. // <0=> Default
  236. // <1=> Black
  237. // <2=> Red
  238. // <3=> Green
  239. // <4=> Yellow
  240. // <5=> Blue
  241. // <6=> Magenta
  242. // <7=> Cyan
  243. // <8=> White
  244. #ifndef NRFX_COMP_CONFIG_DEBUG_COLOR
  245. #define NRFX_COMP_CONFIG_DEBUG_COLOR 0
  246. #endif
  247. // </e>
  248. // </e>
  249. // <e> NRFX_DPPI_ENABLED - nrfx_dppi - DPPI allocator.
  250. //==========================================================
  251. #ifndef NRFX_DPPI_ENABLED
  252. #define NRFX_DPPI_ENABLED 0
  253. #endif
  254. // <e> NRFX_DPPI_CONFIG_LOG_ENABLED - Enables logging in the module.
  255. //==========================================================
  256. #ifndef NRFX_DPPI_CONFIG_LOG_ENABLED
  257. #define NRFX_DPPI_CONFIG_LOG_ENABLED 0
  258. #endif
  259. // <o> NRFX_DPPI_CONFIG_LOG_LEVEL - Default severity level.
  260. // <0=> Off
  261. // <1=> Error
  262. // <2=> Warning
  263. // <3=> Info
  264. // <4=> Debug
  265. #ifndef NRFX_DPPI_CONFIG_LOG_LEVEL
  266. #define NRFX_DPPI_CONFIG_LOG_LEVEL 3
  267. #endif
  268. // <o> NRFX_DPPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  269. // <0=> Default
  270. // <1=> Black
  271. // <2=> Red
  272. // <3=> Green
  273. // <4=> Yellow
  274. // <5=> Blue
  275. // <6=> Magenta
  276. // <7=> Cyan
  277. // <8=> White
  278. #ifndef NRFX_DPPI_CONFIG_INFO_COLOR
  279. #define NRFX_DPPI_CONFIG_INFO_COLOR 0
  280. #endif
  281. // <o> NRFX_DPPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  282. // <0=> Default
  283. // <1=> Black
  284. // <2=> Red
  285. // <3=> Green
  286. // <4=> Yellow
  287. // <5=> Blue
  288. // <6=> Magenta
  289. // <7=> Cyan
  290. // <8=> White
  291. #ifndef NRFX_DPPI_CONFIG_DEBUG_COLOR
  292. #define NRFX_DPPI_CONFIG_DEBUG_COLOR 0
  293. #endif
  294. // </e>
  295. // </e>
  296. // <e> NRFX_EGU_ENABLED - nrfx_egu - EGU peripheral driver.
  297. //==========================================================
  298. #ifndef NRFX_EGU_ENABLED
  299. #define NRFX_EGU_ENABLED 0
  300. #endif
  301. // <q> NRFX_EGU0_ENABLED - Enable EGU0 instance.
  302. #ifndef NRFX_EGU0_ENABLED
  303. #define NRFX_EGU0_ENABLED 0
  304. #endif
  305. // <q> NRFX_EGU1_ENABLED - Enable EGU1 instance.
  306. #ifndef NRFX_EGU1_ENABLED
  307. #define NRFX_EGU1_ENABLED 0
  308. #endif
  309. // <q> NRFX_EGU2_ENABLED - Enable EGU2 instance.
  310. #ifndef NRFX_EGU2_ENABLED
  311. #define NRFX_EGU2_ENABLED 0
  312. #endif
  313. // <q> NRFX_EGU3_ENABLED - Enable EGU3 instance.
  314. #ifndef NRFX_EGU3_ENABLED
  315. #define NRFX_EGU3_ENABLED 0
  316. #endif
  317. // <q> NRFX_EGU4_ENABLED - Enable EGU4 instance.
  318. #ifndef NRFX_EGU4_ENABLED
  319. #define NRFX_EGU4_ENABLED 0
  320. #endif
  321. // <q> NRFX_EGU5_ENABLED - Enable EGU5 instance.
  322. #ifndef NRFX_EGU5_ENABLED
  323. #define NRFX_EGU5_ENABLED 0
  324. #endif
  325. // <o> NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  326. // <0=> 0 (highest)
  327. // <1=> 1
  328. // <2=> 2
  329. // <3=> 3
  330. // <4=> 4
  331. // <5=> 5
  332. // <6=> 6
  333. // <7=> 7
  334. #ifndef NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY
  335. #define NRFX_EGU_DEFAULT_CONFIG_IRQ_PRIORITY 7
  336. #endif
  337. // </e>
  338. // <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver.
  339. //==========================================================
  340. #ifndef NRFX_GPIOTE_ENABLED
  341. #define NRFX_GPIOTE_ENABLED 0
  342. #endif
  343. // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins.
  344. #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
  345. #define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
  346. #endif
  347. // <o> NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  348. // <0=> 0 (highest)
  349. // <1=> 1
  350. // <2=> 2
  351. // <3=> 3
  352. // <4=> 4
  353. // <5=> 5
  354. // <6=> 6
  355. // <7=> 7
  356. #ifndef NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY
  357. #define NRFX_GPIOTE_DEFAULT_CONFIG_IRQ_PRIORITY 7
  358. #endif
  359. // <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  360. //==========================================================
  361. #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
  362. #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
  363. #endif
  364. // <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL - Default severity level.
  365. // <0=> Off
  366. // <1=> Error
  367. // <2=> Warning
  368. // <3=> Info
  369. // <4=> Debug
  370. #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
  371. #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
  372. #endif
  373. // <o> NRFX_GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  374. // <0=> Default
  375. // <1=> Black
  376. // <2=> Red
  377. // <3=> Green
  378. // <4=> Yellow
  379. // <5=> Blue
  380. // <6=> Magenta
  381. // <7=> Cyan
  382. // <8=> White
  383. #ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR
  384. #define NRFX_GPIOTE_CONFIG_INFO_COLOR 0
  385. #endif
  386. // <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  387. // <0=> Default
  388. // <1=> Black
  389. // <2=> Red
  390. // <3=> Green
  391. // <4=> Yellow
  392. // <5=> Blue
  393. // <6=> Magenta
  394. // <7=> Cyan
  395. // <8=> White
  396. #ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR
  397. #define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0
  398. #endif
  399. // </e>
  400. // </e>
  401. // <e> NRFX_I2S_ENABLED - nrfx_i2s - I2S peripheral driver.
  402. //==========================================================
  403. #ifndef NRFX_I2S_ENABLED
  404. #define NRFX_I2S_ENABLED 0
  405. #endif
  406. // <o> NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  407. // <0=> 0 (highest)
  408. // <1=> 1
  409. // <2=> 2
  410. // <3=> 3
  411. // <4=> 4
  412. // <5=> 5
  413. // <6=> 6
  414. // <7=> 7
  415. #ifndef NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY
  416. #define NRFX_I2S_DEFAULT_CONFIG_IRQ_PRIORITY 7
  417. #endif
  418. // <e> NRFX_I2S_CONFIG_LOG_ENABLED - Enables logging in the module.
  419. //==========================================================
  420. #ifndef NRFX_I2S_CONFIG_LOG_ENABLED
  421. #define NRFX_I2S_CONFIG_LOG_ENABLED 0
  422. #endif
  423. // <o> NRFX_I2S_CONFIG_LOG_LEVEL - Default severity level.
  424. // <0=> Off
  425. // <1=> Error
  426. // <2=> Warning
  427. // <3=> Info
  428. // <4=> Debug
  429. #ifndef NRFX_I2S_CONFIG_LOG_LEVEL
  430. #define NRFX_I2S_CONFIG_LOG_LEVEL 3
  431. #endif
  432. // <o> NRFX_I2S_CONFIG_INFO_COLOR - ANSI escape code prefix.
  433. // <0=> Default
  434. // <1=> Black
  435. // <2=> Red
  436. // <3=> Green
  437. // <4=> Yellow
  438. // <5=> Blue
  439. // <6=> Magenta
  440. // <7=> Cyan
  441. // <8=> White
  442. #ifndef NRFX_I2S_CONFIG_INFO_COLOR
  443. #define NRFX_I2S_CONFIG_INFO_COLOR 0
  444. #endif
  445. // <o> NRFX_I2S_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  446. // <0=> Default
  447. // <1=> Black
  448. // <2=> Red
  449. // <3=> Green
  450. // <4=> Yellow
  451. // <5=> Blue
  452. // <6=> Magenta
  453. // <7=> Cyan
  454. // <8=> White
  455. #ifndef NRFX_I2S_CONFIG_DEBUG_COLOR
  456. #define NRFX_I2S_CONFIG_DEBUG_COLOR 0
  457. #endif
  458. // </e>
  459. // </e>
  460. // <e> NRFX_IPC_ENABLED - nrfx_ipc - IPC peripheral driver
  461. //==========================================================
  462. #ifndef NRFX_IPC_ENABLED
  463. #define NRFX_IPC_ENABLED 0
  464. #endif
  465. // </e>
  466. // <e> NRFX_LPCOMP_ENABLED - nrfx_lpcomp - LPCOMP peripheral driver
  467. //==========================================================
  468. #ifndef NRFX_LPCOMP_ENABLED
  469. #define NRFX_LPCOMP_ENABLED 0
  470. #endif
  471. // <o> NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  472. // <0=> 0 (highest)
  473. // <1=> 1
  474. // <2=> 2
  475. // <3=> 3
  476. // <4=> 4
  477. // <5=> 5
  478. // <6=> 6
  479. // <7=> 7
  480. #ifndef NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY
  481. #define NRFX_LPCOMP_DEFAULT_CONFIG_IRQ_PRIORITY 7
  482. #endif
  483. // <e> NRFX_LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
  484. //==========================================================
  485. #ifndef NRFX_LPCOMP_CONFIG_LOG_ENABLED
  486. #define NRFX_LPCOMP_CONFIG_LOG_ENABLED 0
  487. #endif
  488. // <o> NRFX_LPCOMP_CONFIG_LOG_LEVEL - Default Severity level
  489. // <0=> Off
  490. // <1=> Error
  491. // <2=> Warning
  492. // <3=> Info
  493. // <4=> Debug
  494. #ifndef NRFX_LPCOMP_CONFIG_LOG_LEVEL
  495. #define NRFX_LPCOMP_CONFIG_LOG_LEVEL 3
  496. #endif
  497. // <o> NRFX_LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
  498. // <0=> Default
  499. // <1=> Black
  500. // <2=> Red
  501. // <3=> Green
  502. // <4=> Yellow
  503. // <5=> Blue
  504. // <6=> Magenta
  505. // <7=> Cyan
  506. // <8=> White
  507. #ifndef NRFX_LPCOMP_CONFIG_INFO_COLOR
  508. #define NRFX_LPCOMP_CONFIG_INFO_COLOR 0
  509. #endif
  510. // <o> NRFX_LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  511. // <0=> Default
  512. // <1=> Black
  513. // <2=> Red
  514. // <3=> Green
  515. // <4=> Yellow
  516. // <5=> Blue
  517. // <6=> Magenta
  518. // <7=> Cyan
  519. // <8=> White
  520. #ifndef NRFX_LPCOMP_CONFIG_DEBUG_COLOR
  521. #define NRFX_LPCOMP_CONFIG_DEBUG_COLOR 0
  522. #endif
  523. // </e>
  524. // </e>
  525. // <e> NRFX_NFCT_ENABLED - nrfx_nfct - NFCT peripheral driver
  526. //==========================================================
  527. #ifndef NRFX_NFCT_ENABLED
  528. #define NRFX_NFCT_ENABLED 0
  529. #endif
  530. // <o> NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  531. // <0=> 0 (highest)
  532. // <1=> 1
  533. // <2=> 2
  534. // <3=> 3
  535. // <4=> 4
  536. // <5=> 5
  537. // <6=> 6
  538. // <7=> 7
  539. #ifndef NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY
  540. #define NRFX_NFCT_DEFAULT_CONFIG_IRQ_PRIORITY 7
  541. #endif
  542. // <o> NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID - Timer instance used for workarounds in the driver.
  543. // <0=> 0
  544. // <1=> 1
  545. // <2=> 2
  546. #ifndef NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID
  547. #define NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID 2
  548. #endif
  549. // <e> NRFX_NFCT_CONFIG_LOG_ENABLED - Enables logging in the module.
  550. //==========================================================
  551. #ifndef NRFX_NFCT_CONFIG_LOG_ENABLED
  552. #define NRFX_NFCT_CONFIG_LOG_ENABLED 0
  553. #endif
  554. // <o> NRFX_NFCT_CONFIG_LOG_LEVEL - Default Severity level
  555. // <0=> Off
  556. // <1=> Error
  557. // <2=> Warning
  558. // <3=> Info
  559. // <4=> Debug
  560. #ifndef NRFX_NFCT_CONFIG_LOG_LEVEL
  561. #define NRFX_NFCT_CONFIG_LOG_LEVEL 3
  562. #endif
  563. // <o> NRFX_NFCT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  564. // <0=> Default
  565. // <1=> Black
  566. // <2=> Red
  567. // <3=> Green
  568. // <4=> Yellow
  569. // <5=> Blue
  570. // <6=> Magenta
  571. // <7=> Cyan
  572. // <8=> White
  573. #ifndef NRFX_NFCT_CONFIG_INFO_COLOR
  574. #define NRFX_NFCT_CONFIG_INFO_COLOR 0
  575. #endif
  576. // <o> NRFX_NFCT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  577. // <0=> Default
  578. // <1=> Black
  579. // <2=> Red
  580. // <3=> Green
  581. // <4=> Yellow
  582. // <5=> Blue
  583. // <6=> Magenta
  584. // <7=> Cyan
  585. // <8=> White
  586. #ifndef NRFX_NFCT_CONFIG_DEBUG_COLOR
  587. #define NRFX_NFCT_CONFIG_DEBUG_COLOR 0
  588. #endif
  589. // </e>
  590. // </e>
  591. // <e> NRFX_NVMC_ENABLED - nrfx_nvmc - NVMC peripheral driver
  592. //==========================================================
  593. #ifndef NRFX_NVMC_ENABLED
  594. #define NRFX_NVMC_ENABLED 0
  595. #endif
  596. // </e>
  597. // <e> NRFX_PDM_ENABLED - nrfx_pdm - PDM peripheral driver.
  598. //==========================================================
  599. #ifndef NRFX_PDM_ENABLED
  600. #define NRFX_PDM_ENABLED 0
  601. #endif
  602. // <o> NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  603. // <0=> 0 (highest)
  604. // <1=> 1
  605. // <2=> 2
  606. // <3=> 3
  607. // <4=> 4
  608. // <5=> 5
  609. // <6=> 6
  610. // <7=> 7
  611. #ifndef NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY
  612. #define NRFX_PDM_DEFAULT_CONFIG_IRQ_PRIORITY 7
  613. #endif
  614. // <e> NRFX_PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
  615. //==========================================================
  616. #ifndef NRFX_PDM_CONFIG_LOG_ENABLED
  617. #define NRFX_PDM_CONFIG_LOG_ENABLED 0
  618. #endif
  619. // <o> NRFX_PDM_CONFIG_LOG_LEVEL - Default severity level.
  620. // <0=> Off
  621. // <1=> Error
  622. // <2=> Warning
  623. // <3=> Info
  624. // <4=> Debug
  625. #ifndef NRFX_PDM_CONFIG_LOG_LEVEL
  626. #define NRFX_PDM_CONFIG_LOG_LEVEL 3
  627. #endif
  628. // <o> NRFX_PDM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  629. // <0=> Default
  630. // <1=> Black
  631. // <2=> Red
  632. // <3=> Green
  633. // <4=> Yellow
  634. // <5=> Blue
  635. // <6=> Magenta
  636. // <7=> Cyan
  637. // <8=> White
  638. #ifndef NRFX_PDM_CONFIG_INFO_COLOR
  639. #define NRFX_PDM_CONFIG_INFO_COLOR 0
  640. #endif
  641. // <o> NRFX_PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  642. // <0=> Default
  643. // <1=> Black
  644. // <2=> Red
  645. // <3=> Green
  646. // <4=> Yellow
  647. // <5=> Blue
  648. // <6=> Magenta
  649. // <7=> Cyan
  650. // <8=> White
  651. #ifndef NRFX_PDM_CONFIG_DEBUG_COLOR
  652. #define NRFX_PDM_CONFIG_DEBUG_COLOR 0
  653. #endif
  654. // </e>
  655. // </e>
  656. // <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver.
  657. //==========================================================
  658. #ifndef NRFX_POWER_ENABLED
  659. #define NRFX_POWER_ENABLED 0
  660. #endif
  661. // <o> NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  662. // <0=> 0 (highest)
  663. // <1=> 1
  664. // <2=> 2
  665. // <3=> 3
  666. // <4=> 4
  667. // <5=> 5
  668. // <6=> 6
  669. // <7=> 7
  670. #ifndef NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY
  671. #define NRFX_POWER_DEFAULT_CONFIG_IRQ_PRIORITY 7
  672. #endif
  673. // </e>
  674. // <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing (PRS) module.
  675. //==========================================================
  676. #ifndef NRFX_PRS_ENABLED
  677. #define NRFX_PRS_ENABLED 0
  678. #endif
  679. // <q> NRFX_PRS_BOX_0_ENABLED - Enables box 0 in the module.
  680. #ifndef NRFX_PRS_BOX_0_ENABLED
  681. #define NRFX_PRS_BOX_0_ENABLED 0
  682. #endif
  683. // <q> NRFX_PRS_BOX_1_ENABLED - Enables box 1 in the module.
  684. #ifndef NRFX_PRS_BOX_1_ENABLED
  685. #define NRFX_PRS_BOX_1_ENABLED 0
  686. #endif
  687. // <q> NRFX_PRS_BOX_2_ENABLED - Enables box 2 in the module.
  688. #ifndef NRFX_PRS_BOX_2_ENABLED
  689. #define NRFX_PRS_BOX_2_ENABLED 0
  690. #endif
  691. // <q> NRFX_PRS_BOX_3_ENABLED - Enables box 3 in the module.
  692. #ifndef NRFX_PRS_BOX_3_ENABLED
  693. #define NRFX_PRS_BOX_3_ENABLED 0
  694. #endif
  695. // <q> NRFX_PRS_BOX_4_ENABLED - Enables box 4 in the module.
  696. #ifndef NRFX_PRS_BOX_4_ENABLED
  697. #define NRFX_PRS_BOX_4_ENABLED 0
  698. #endif
  699. // <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module.
  700. //==========================================================
  701. #ifndef NRFX_PRS_CONFIG_LOG_ENABLED
  702. #define NRFX_PRS_CONFIG_LOG_ENABLED 0
  703. #endif
  704. // <o> NRFX_PRS_CONFIG_LOG_LEVEL - Default severity level.
  705. // <0=> Off
  706. // <1=> Error
  707. // <2=> Warning
  708. // <3=> Info
  709. // <4=> Debug
  710. #ifndef NRFX_PRS_CONFIG_LOG_LEVEL
  711. #define NRFX_PRS_CONFIG_LOG_LEVEL 3
  712. #endif
  713. // <o> NRFX_PRS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  714. // <0=> Default
  715. // <1=> Black
  716. // <2=> Red
  717. // <3=> Green
  718. // <4=> Yellow
  719. // <5=> Blue
  720. // <6=> Magenta
  721. // <7=> Cyan
  722. // <8=> White
  723. #ifndef NRFX_PRS_CONFIG_INFO_COLOR
  724. #define NRFX_PRS_CONFIG_INFO_COLOR 0
  725. #endif
  726. // <o> NRFX_PRS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  727. // <0=> Default
  728. // <1=> Black
  729. // <2=> Red
  730. // <3=> Green
  731. // <4=> Yellow
  732. // <5=> Blue
  733. // <6=> Magenta
  734. // <7=> Cyan
  735. // <8=> White
  736. #ifndef NRFX_PRS_CONFIG_DEBUG_COLOR
  737. #define NRFX_PRS_CONFIG_DEBUG_COLOR 0
  738. #endif
  739. // </e>
  740. // </e>
  741. // <e> NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver.
  742. //==========================================================
  743. #ifndef NRFX_PWM_ENABLED
  744. #define NRFX_PWM_ENABLED 0
  745. #endif
  746. // <q> NRFX_PWM0_ENABLED - Enables PWM0 instance.
  747. #ifndef NRFX_PWM0_ENABLED
  748. #define NRFX_PWM0_ENABLED 0
  749. #endif
  750. // <q> NRFX_PWM1_ENABLED - Enables PWM1 instance.
  751. #ifndef NRFX_PWM1_ENABLED
  752. #define NRFX_PWM1_ENABLED 0
  753. #endif
  754. // <q> NRFX_PWM2_ENABLED - Enables PWM2 instance.
  755. #ifndef NRFX_PWM2_ENABLED
  756. #define NRFX_PWM2_ENABLED 0
  757. #endif
  758. // <q> NRFX_PWM3_ENABLED - Enables PWM3 instance.
  759. #ifndef NRFX_PWM3_ENABLED
  760. #define NRFX_PWM3_ENABLED 0
  761. #endif
  762. // <o> NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  763. // <0=> 0 (highest)
  764. // <1=> 1
  765. // <2=> 2
  766. // <3=> 3
  767. // <4=> 4
  768. // <5=> 5
  769. // <6=> 6
  770. // <7=> 7
  771. #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY
  772. #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 7
  773. #endif
  774. // <e> NRFX_PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
  775. //==========================================================
  776. #ifndef NRFX_PWM_CONFIG_LOG_ENABLED
  777. #define NRFX_PWM_CONFIG_LOG_ENABLED 0
  778. #endif
  779. // <o> NRFX_PWM_CONFIG_LOG_LEVEL - Default severity level.
  780. // <0=> Off
  781. // <1=> Error
  782. // <2=> Warning
  783. // <3=> Info
  784. // <4=> Debug
  785. #ifndef NRFX_PWM_CONFIG_LOG_LEVEL
  786. #define NRFX_PWM_CONFIG_LOG_LEVEL 3
  787. #endif
  788. // <o> NRFX_PWM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  789. // <0=> Default
  790. // <1=> Black
  791. // <2=> Red
  792. // <3=> Green
  793. // <4=> Yellow
  794. // <5=> Blue
  795. // <6=> Magenta
  796. // <7=> Cyan
  797. // <8=> White
  798. #ifndef NRFX_PWM_CONFIG_INFO_COLOR
  799. #define NRFX_PWM_CONFIG_INFO_COLOR 0
  800. #endif
  801. // <o> NRFX_PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  802. // <0=> Default
  803. // <1=> Black
  804. // <2=> Red
  805. // <3=> Green
  806. // <4=> Yellow
  807. // <5=> Blue
  808. // <6=> Magenta
  809. // <7=> Cyan
  810. // <8=> White
  811. #ifndef NRFX_PWM_CONFIG_DEBUG_COLOR
  812. #define NRFX_PWM_CONFIG_DEBUG_COLOR 0
  813. #endif
  814. // </e>
  815. // </e>
  816. // <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
  817. //==========================================================
  818. #ifndef NRFX_QDEC_ENABLED
  819. #define NRFX_QDEC_ENABLED 0
  820. #endif
  821. // <o> NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  822. // <0=> 0 (highest)
  823. // <1=> 1
  824. // <2=> 2
  825. // <3=> 3
  826. // <4=> 4
  827. // <5=> 5
  828. // <6=> 6
  829. // <7=> 7
  830. #ifndef NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY
  831. #define NRFX_QDEC_DEFAULT_CONFIG_IRQ_PRIORITY 7
  832. #endif
  833. // <e> NRFX_QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
  834. //==========================================================
  835. #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED
  836. #define NRFX_QDEC_CONFIG_LOG_ENABLED 0
  837. #endif
  838. // <o> NRFX_QDEC_CONFIG_LOG_LEVEL - Default Severity level
  839. // <0=> Off
  840. // <1=> Error
  841. // <2=> Warning
  842. // <3=> Info
  843. // <4=> Debug
  844. #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL
  845. #define NRFX_QDEC_CONFIG_LOG_LEVEL 3
  846. #endif
  847. // <o> NRFX_QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  848. // <0=> Default
  849. // <1=> Black
  850. // <2=> Red
  851. // <3=> Green
  852. // <4=> Yellow
  853. // <5=> Blue
  854. // <6=> Magenta
  855. // <7=> Cyan
  856. // <8=> White
  857. #ifndef NRFX_QDEC_CONFIG_INFO_COLOR
  858. #define NRFX_QDEC_CONFIG_INFO_COLOR 0
  859. #endif
  860. // <o> NRFX_QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  861. // <0=> Default
  862. // <1=> Black
  863. // <2=> Red
  864. // <3=> Green
  865. // <4=> Yellow
  866. // <5=> Blue
  867. // <6=> Magenta
  868. // <7=> Cyan
  869. // <8=> White
  870. #ifndef NRFX_QDEC_CONFIG_DEBUG_COLOR
  871. #define NRFX_QDEC_CONFIG_DEBUG_COLOR 0
  872. #endif
  873. // </e>
  874. // </e>
  875. // <e> NRFX_QSPI_ENABLED - nrfx_qspi - QSPI peripheral driver
  876. //==========================================================
  877. #ifndef NRFX_QSPI_ENABLED
  878. #define NRFX_QSPI_ENABLED 0
  879. #endif
  880. // <o> NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  881. // <0=> 0 (highest)
  882. // <1=> 1
  883. // <2=> 2
  884. // <3=> 3
  885. // <4=> 4
  886. // <5=> 5
  887. // <6=> 6
  888. // <7=> 7
  889. #ifndef NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY
  890. #define NRFX_QSPI_DEFAULT_CONFIG_IRQ_PRIORITY 7
  891. #endif
  892. // </e>
  893. // <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver.
  894. //==========================================================
  895. #ifndef NRFX_RTC_ENABLED
  896. #define NRFX_RTC_ENABLED 0
  897. #endif
  898. // <q> NRFX_RTC0_ENABLED - Enables RTC0 instance.
  899. #ifndef NRFX_RTC0_ENABLED
  900. #define NRFX_RTC0_ENABLED 0
  901. #endif
  902. // <q> NRFX_RTC1_ENABLED - Enables RTC1 instance.
  903. #ifndef NRFX_RTC1_ENABLED
  904. #define NRFX_RTC1_ENABLED 0
  905. #endif
  906. // <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  907. // <0=> 0 (highest)
  908. // <1=> 1
  909. // <2=> 2
  910. // <3=> 3
  911. // <4=> 4
  912. // <5=> 5
  913. // <6=> 6
  914. // <7=> 7
  915. #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
  916. #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 7
  917. #endif
  918. // <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
  919. //==========================================================
  920. #ifndef NRFX_RTC_CONFIG_LOG_ENABLED
  921. #define NRFX_RTC_CONFIG_LOG_ENABLED 0
  922. #endif
  923. // <o> NRFX_RTC_CONFIG_LOG_LEVEL - Default severity level.
  924. // <0=> Off
  925. // <1=> Error
  926. // <2=> Warning
  927. // <3=> Info
  928. // <4=> Debug
  929. #ifndef NRFX_RTC_CONFIG_LOG_LEVEL
  930. #define NRFX_RTC_CONFIG_LOG_LEVEL 3
  931. #endif
  932. // <o> NRFX_RTC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  933. // <0=> Default
  934. // <1=> Black
  935. // <2=> Red
  936. // <3=> Green
  937. // <4=> Yellow
  938. // <5=> Blue
  939. // <6=> Magenta
  940. // <7=> Cyan
  941. // <8=> White
  942. #ifndef NRFX_RTC_CONFIG_INFO_COLOR
  943. #define NRFX_RTC_CONFIG_INFO_COLOR 0
  944. #endif
  945. // <o> NRFX_RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  946. // <0=> Default
  947. // <1=> Black
  948. // <2=> Red
  949. // <3=> Green
  950. // <4=> Yellow
  951. // <5=> Blue
  952. // <6=> Magenta
  953. // <7=> Cyan
  954. // <8=> White
  955. #ifndef NRFX_RTC_CONFIG_DEBUG_COLOR
  956. #define NRFX_RTC_CONFIG_DEBUG_COLOR 0
  957. #endif
  958. // </e>
  959. // </e>
  960. // <e> NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver.
  961. //==========================================================
  962. #ifndef NRFX_SAADC_ENABLED
  963. #define NRFX_SAADC_ENABLED 0
  964. #endif
  965. // <o> NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  966. // <0=> 0 (highest)
  967. // <1=> 1
  968. // <2=> 2
  969. // <3=> 3
  970. // <4=> 4
  971. // <5=> 5
  972. // <6=> 6
  973. // <7=> 7
  974. #ifndef NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY
  975. #define NRFX_SAADC_DEFAULT_CONFIG_IRQ_PRIORITY 7
  976. #endif
  977. // <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
  978. //==========================================================
  979. #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED
  980. #define NRFX_SAADC_CONFIG_LOG_ENABLED 0
  981. #endif
  982. // <o> NRFX_SAADC_CONFIG_LOG_LEVEL - Default severity level.
  983. // <0=> Off
  984. // <1=> Error
  985. // <2=> Warning
  986. // <3=> Info
  987. // <4=> Debug
  988. #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL
  989. #define NRFX_SAADC_CONFIG_LOG_LEVEL 3
  990. #endif
  991. // <o> NRFX_SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  992. // <0=> Default
  993. // <1=> Black
  994. // <2=> Red
  995. // <3=> Green
  996. // <4=> Yellow
  997. // <5=> Blue
  998. // <6=> Magenta
  999. // <7=> Cyan
  1000. // <8=> White
  1001. #ifndef NRFX_SAADC_CONFIG_INFO_COLOR
  1002. #define NRFX_SAADC_CONFIG_INFO_COLOR 0
  1003. #endif
  1004. // <o> NRFX_SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1005. // <0=> Default
  1006. // <1=> Black
  1007. // <2=> Red
  1008. // <3=> Green
  1009. // <4=> Yellow
  1010. // <5=> Blue
  1011. // <6=> Magenta
  1012. // <7=> Cyan
  1013. // <8=> White
  1014. #ifndef NRFX_SAADC_CONFIG_DEBUG_COLOR
  1015. #define NRFX_SAADC_CONFIG_DEBUG_COLOR 0
  1016. #endif
  1017. // </e>
  1018. // </e>
  1019. // <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver.
  1020. //==========================================================
  1021. #ifndef NRFX_SPIM_ENABLED
  1022. #define NRFX_SPIM_ENABLED 0
  1023. #endif
  1024. // <q> NRFX_SPIM0_ENABLED - Enables SPIM0 instance.
  1025. #ifndef NRFX_SPIM0_ENABLED
  1026. #define NRFX_SPIM0_ENABLED 0
  1027. #endif
  1028. // <q> NRFX_SPIM1_ENABLED - Enables SPIM1 instance.
  1029. #ifndef NRFX_SPIM1_ENABLED
  1030. #define NRFX_SPIM1_ENABLED 0
  1031. #endif
  1032. // <q> NRFX_SPIM2_ENABLED - Enables SPIM2 instance.
  1033. #ifndef NRFX_SPIM2_ENABLED
  1034. #define NRFX_SPIM2_ENABLED 0
  1035. #endif
  1036. // <q> NRFX_SPIM3_ENABLED - Enables SPIM3 instance.
  1037. #ifndef NRFX_SPIM3_ENABLED
  1038. #define NRFX_SPIM3_ENABLED 0
  1039. #endif
  1040. // <q> NRFX_SPIM4_ENABLED - Enables SPIM4 instance.
  1041. #ifndef NRFX_SPIM4_ENABLED
  1042. #define NRFX_SPIM4_ENABLED 0
  1043. #endif
  1044. // <q> NRFX_SPIM_EXTENDED_ENABLED - Enable extended SPIM features
  1045. #ifndef NRFX_SPIM_EXTENDED_ENABLED
  1046. #define NRFX_SPIM_EXTENDED_ENABLED 0
  1047. #endif
  1048. // <o> NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  1049. // <0=> 0 (highest)
  1050. // <1=> 1
  1051. // <2=> 2
  1052. // <3=> 3
  1053. // <4=> 4
  1054. // <5=> 5
  1055. // <6=> 6
  1056. // <7=> 7
  1057. #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY
  1058. #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 7
  1059. #endif
  1060. // <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module.
  1061. //==========================================================
  1062. #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED
  1063. #define NRFX_SPIM_CONFIG_LOG_ENABLED 0
  1064. #endif
  1065. // <o> NRFX_SPIM_CONFIG_LOG_LEVEL - Default severity level.
  1066. // <0=> Off
  1067. // <1=> Error
  1068. // <2=> Warning
  1069. // <3=> Info
  1070. // <4=> Debug
  1071. #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL
  1072. #define NRFX_SPIM_CONFIG_LOG_LEVEL 3
  1073. #endif
  1074. // <o> NRFX_SPIM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1075. // <0=> Default
  1076. // <1=> Black
  1077. // <2=> Red
  1078. // <3=> Green
  1079. // <4=> Yellow
  1080. // <5=> Blue
  1081. // <6=> Magenta
  1082. // <7=> Cyan
  1083. // <8=> White
  1084. #ifndef NRFX_SPIM_CONFIG_INFO_COLOR
  1085. #define NRFX_SPIM_CONFIG_INFO_COLOR 0
  1086. #endif
  1087. // <o> NRFX_SPIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1088. // <0=> Default
  1089. // <1=> Black
  1090. // <2=> Red
  1091. // <3=> Green
  1092. // <4=> Yellow
  1093. // <5=> Blue
  1094. // <6=> Magenta
  1095. // <7=> Cyan
  1096. // <8=> White
  1097. #ifndef NRFX_SPIM_CONFIG_DEBUG_COLOR
  1098. #define NRFX_SPIM_CONFIG_DEBUG_COLOR 0
  1099. #endif
  1100. // </e>
  1101. // </e>
  1102. // <e> NRFX_SPIS_ENABLED - nrfx_spis - SPIS peripheral driver.
  1103. //==========================================================
  1104. #ifndef NRFX_SPIS_ENABLED
  1105. #define NRFX_SPIS_ENABLED 0
  1106. #endif
  1107. // <q> NRFX_SPIS0_ENABLED - Enables SPIS0 instance.
  1108. #ifndef NRFX_SPIS0_ENABLED
  1109. #define NRFX_SPIS0_ENABLED 0
  1110. #endif
  1111. // <q> NRFX_SPIS1_ENABLED - Enables SPIS1 instance.
  1112. #ifndef NRFX_SPIS1_ENABLED
  1113. #define NRFX_SPIS1_ENABLED 0
  1114. #endif
  1115. // <q> NRFX_SPIS2_ENABLED - Enables SPIS2 instance.
  1116. #ifndef NRFX_SPIS2_ENABLED
  1117. #define NRFX_SPIS2_ENABLED 0
  1118. #endif
  1119. // <q> NRFX_SPIS3_ENABLED - Enables SPIS3 instance.
  1120. #ifndef NRFX_SPIS3_ENABLED
  1121. #define NRFX_SPIS3_ENABLED 0
  1122. #endif
  1123. // <o> NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  1124. // <0=> 0 (highest)
  1125. // <1=> 1
  1126. // <2=> 2
  1127. // <3=> 3
  1128. // <4=> 4
  1129. // <5=> 5
  1130. // <6=> 6
  1131. // <7=> 7
  1132. #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
  1133. #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 7
  1134. #endif
  1135. // <e> NRFX_SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
  1136. //==========================================================
  1137. #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED
  1138. #define NRFX_SPIS_CONFIG_LOG_ENABLED 0
  1139. #endif
  1140. // <o> NRFX_SPIS_CONFIG_LOG_LEVEL - Default severity level.
  1141. // <0=> Off
  1142. // <1=> Error
  1143. // <2=> Warning
  1144. // <3=> Info
  1145. // <4=> Debug
  1146. #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL
  1147. #define NRFX_SPIS_CONFIG_LOG_LEVEL 3
  1148. #endif
  1149. // <o> NRFX_SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1150. // <0=> Default
  1151. // <1=> Black
  1152. // <2=> Red
  1153. // <3=> Green
  1154. // <4=> Yellow
  1155. // <5=> Blue
  1156. // <6=> Magenta
  1157. // <7=> Cyan
  1158. // <8=> White
  1159. #ifndef NRFX_SPIS_CONFIG_INFO_COLOR
  1160. #define NRFX_SPIS_CONFIG_INFO_COLOR 0
  1161. #endif
  1162. // <o> NRFX_SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1163. // <0=> Default
  1164. // <1=> Black
  1165. // <2=> Red
  1166. // <3=> Green
  1167. // <4=> Yellow
  1168. // <5=> Blue
  1169. // <6=> Magenta
  1170. // <7=> Cyan
  1171. // <8=> White
  1172. #ifndef NRFX_SPIS_CONFIG_DEBUG_COLOR
  1173. #define NRFX_SPIS_CONFIG_DEBUG_COLOR 0
  1174. #endif
  1175. // </e>
  1176. // </e>
  1177. // <q> NRFX_SYSTICK_ENABLED - nrfx_systick - ARM(R) SysTick driver.
  1178. #ifndef NRFX_SYSTICK_ENABLED
  1179. #define NRFX_SYSTICK_ENABLED 0
  1180. #endif
  1181. // <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver.
  1182. //==========================================================
  1183. #ifndef NRFX_TIMER_ENABLED
  1184. #define NRFX_TIMER_ENABLED 0
  1185. #endif
  1186. // <q> NRFX_TIMER0_ENABLED - Enables TIMER0 instance.
  1187. #ifndef NRFX_TIMER0_ENABLED
  1188. #define NRFX_TIMER0_ENABLED 0
  1189. #endif
  1190. // <q> NRFX_TIMER1_ENABLED - Enables TIMER1 instance.
  1191. #ifndef NRFX_TIMER1_ENABLED
  1192. #define NRFX_TIMER1_ENABLED 0
  1193. #endif
  1194. // <q> NRFX_TIMER2_ENABLED - Enables TIMER2 instance.
  1195. #ifndef NRFX_TIMER2_ENABLED
  1196. #define NRFX_TIMER2_ENABLED 0
  1197. #endif
  1198. // <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  1199. // <0=> 0 (highest)
  1200. // <1=> 1
  1201. // <2=> 2
  1202. // <3=> 3
  1203. // <4=> 4
  1204. // <5=> 5
  1205. // <6=> 6
  1206. // <7=> 7
  1207. #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
  1208. #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 7
  1209. #endif
  1210. // <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
  1211. //==========================================================
  1212. #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED
  1213. #define NRFX_TIMER_CONFIG_LOG_ENABLED 0
  1214. #endif
  1215. // <o> NRFX_TIMER_CONFIG_LOG_LEVEL - Default severity level.
  1216. // <0=> Off
  1217. // <1=> Error
  1218. // <2=> Warning
  1219. // <3=> Info
  1220. // <4=> Debug
  1221. #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL
  1222. #define NRFX_TIMER_CONFIG_LOG_LEVEL 3
  1223. #endif
  1224. // <o> NRFX_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1225. // <0=> Default
  1226. // <1=> Black
  1227. // <2=> Red
  1228. // <3=> Green
  1229. // <4=> Yellow
  1230. // <5=> Blue
  1231. // <6=> Magenta
  1232. // <7=> Cyan
  1233. // <8=> White
  1234. #ifndef NRFX_TIMER_CONFIG_INFO_COLOR
  1235. #define NRFX_TIMER_CONFIG_INFO_COLOR 0
  1236. #endif
  1237. // <o> NRFX_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1238. // <0=> Default
  1239. // <1=> Black
  1240. // <2=> Red
  1241. // <3=> Green
  1242. // <4=> Yellow
  1243. // <5=> Blue
  1244. // <6=> Magenta
  1245. // <7=> Cyan
  1246. // <8=> White
  1247. #ifndef NRFX_TIMER_CONFIG_DEBUG_COLOR
  1248. #define NRFX_TIMER_CONFIG_DEBUG_COLOR 0
  1249. #endif
  1250. // </e>
  1251. // </e>
  1252. // <e> NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver.
  1253. //==========================================================
  1254. #ifndef NRFX_TWIM_ENABLED
  1255. #define NRFX_TWIM_ENABLED 0
  1256. #endif
  1257. // <q> NRFX_TWIM0_ENABLED - Enables TWIM0 instance.
  1258. #ifndef NRFX_TWIM0_ENABLED
  1259. #define NRFX_TWIM0_ENABLED 0
  1260. #endif
  1261. // <q> NRFX_TWIM1_ENABLED - Enables TWIM1 instance.
  1262. #ifndef NRFX_TWIM1_ENABLED
  1263. #define NRFX_TWIM1_ENABLED 0
  1264. #endif
  1265. // <q> NRFX_TWIM2_ENABLED - Enables TWIM2 instance.
  1266. #ifndef NRFX_TWIM2_ENABLED
  1267. #define NRFX_TWIM2_ENABLED 0
  1268. #endif
  1269. // <q> NRFX_TWIM3_ENABLED - Enables TWIM3 instance.
  1270. #ifndef NRFX_TWIM3_ENABLED
  1271. #define NRFX_TWIM3_ENABLED 0
  1272. #endif
  1273. // <o> NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  1274. // <0=> 0 (highest)
  1275. // <1=> 1
  1276. // <2=> 2
  1277. // <3=> 3
  1278. // <4=> 4
  1279. // <5=> 5
  1280. // <6=> 6
  1281. // <7=> 7
  1282. #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY
  1283. #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 7
  1284. #endif
  1285. // <e> NRFX_TWIM_CONFIG_LOG_ENABLED - Enables logging in the module.
  1286. //==========================================================
  1287. #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED
  1288. #define NRFX_TWIM_CONFIG_LOG_ENABLED 0
  1289. #endif
  1290. // <o> NRFX_TWIM_CONFIG_LOG_LEVEL - Default severity level.
  1291. // <0=> Off
  1292. // <1=> Error
  1293. // <2=> Warning
  1294. // <3=> Info
  1295. // <4=> Debug
  1296. #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL
  1297. #define NRFX_TWIM_CONFIG_LOG_LEVEL 3
  1298. #endif
  1299. // <o> NRFX_TWIM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1300. // <0=> Default
  1301. // <1=> Black
  1302. // <2=> Red
  1303. // <3=> Green
  1304. // <4=> Yellow
  1305. // <5=> Blue
  1306. // <6=> Magenta
  1307. // <7=> Cyan
  1308. // <8=> White
  1309. #ifndef NRFX_TWIM_CONFIG_INFO_COLOR
  1310. #define NRFX_TWIM_CONFIG_INFO_COLOR 0
  1311. #endif
  1312. // <o> NRFX_TWIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1313. // <0=> Default
  1314. // <1=> Black
  1315. // <2=> Red
  1316. // <3=> Green
  1317. // <4=> Yellow
  1318. // <5=> Blue
  1319. // <6=> Magenta
  1320. // <7=> Cyan
  1321. // <8=> White
  1322. #ifndef NRFX_TWIM_CONFIG_DEBUG_COLOR
  1323. #define NRFX_TWIM_CONFIG_DEBUG_COLOR 0
  1324. #endif
  1325. // </e>
  1326. // </e>
  1327. // <e> NRFX_TWIS_ENABLED - nrfx_twis - TWIS peripheral driver.
  1328. //==========================================================
  1329. #ifndef NRFX_TWIS_ENABLED
  1330. #define NRFX_TWIS_ENABLED 0
  1331. #endif
  1332. // <q> NRFX_TWIS0_ENABLED - Enables TWIS0 instance.
  1333. #ifndef NRFX_TWIS0_ENABLED
  1334. #define NRFX_TWIS0_ENABLED 0
  1335. #endif
  1336. // <q> NRFX_TWIS1_ENABLED - Enables TWIS1 instance.
  1337. #ifndef NRFX_TWIS1_ENABLED
  1338. #define NRFX_TWIS1_ENABLED 0
  1339. #endif
  1340. // <q> NRFX_TWIS2_ENABLED - Enables TWIS2 instance.
  1341. #ifndef NRFX_TWIS2_ENABLED
  1342. #define NRFX_TWIS2_ENABLED 0
  1343. #endif
  1344. // <q> NRFX_TWIS3_ENABLED - Enables TWIS3 instance.
  1345. #ifndef NRFX_TWIS3_ENABLED
  1346. #define NRFX_TWIS3_ENABLED 0
  1347. #endif
  1348. // <q> NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assumes that any instance would be initialized only once.
  1349. // <i> Optimization flag. Registers used by TWIS are shared by other peripherals. Normally, during initialization driver tries to clear all registers to known state before doing the initialization itself. This gives initialization safe procedure, no matter when it would be called. If you activate TWIS only once and do never uninitialize it - set this flag to 1 what gives more optimal code.
  1350. #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY
  1351. #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
  1352. #endif
  1353. // <q> NRFX_TWIS_NO_SYNC_MODE - Removes support for synchronous mode.
  1354. // <i> Synchronous mode would be used in specific situations. And it uses some additional code and data memory to safely process state machine by polling it in status functions. If this functionality is not required it may be disabled to free some resources.
  1355. #ifndef NRFX_TWIS_NO_SYNC_MODE
  1356. #define NRFX_TWIS_NO_SYNC_MODE 0
  1357. #endif
  1358. // <o> NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  1359. // <0=> 0 (highest)
  1360. // <1=> 1
  1361. // <2=> 2
  1362. // <3=> 3
  1363. // <4=> 4
  1364. // <5=> 5
  1365. // <6=> 6
  1366. // <7=> 7
  1367. #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
  1368. #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 7
  1369. #endif
  1370. // <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
  1371. //==========================================================
  1372. #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED
  1373. #define NRFX_TWIS_CONFIG_LOG_ENABLED 0
  1374. #endif
  1375. // <o> NRFX_TWIS_CONFIG_LOG_LEVEL - Default severity level.
  1376. // <0=> Off
  1377. // <1=> Error
  1378. // <2=> Warning
  1379. // <3=> Info
  1380. // <4=> Debug
  1381. #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL
  1382. #define NRFX_TWIS_CONFIG_LOG_LEVEL 3
  1383. #endif
  1384. // <o> NRFX_TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1385. // <0=> Default
  1386. // <1=> Black
  1387. // <2=> Red
  1388. // <3=> Green
  1389. // <4=> Yellow
  1390. // <5=> Blue
  1391. // <6=> Magenta
  1392. // <7=> Cyan
  1393. // <8=> White
  1394. #ifndef NRFX_TWIS_CONFIG_INFO_COLOR
  1395. #define NRFX_TWIS_CONFIG_INFO_COLOR 0
  1396. #endif
  1397. // <o> NRFX_TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1398. // <0=> Default
  1399. // <1=> Black
  1400. // <2=> Red
  1401. // <3=> Green
  1402. // <4=> Yellow
  1403. // <5=> Blue
  1404. // <6=> Magenta
  1405. // <7=> Cyan
  1406. // <8=> White
  1407. #ifndef NRFX_TWIS_CONFIG_DEBUG_COLOR
  1408. #define NRFX_TWIS_CONFIG_DEBUG_COLOR 0
  1409. #endif
  1410. // </e>
  1411. // </e>
  1412. // <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver.
  1413. //==========================================================
  1414. #ifndef NRFX_UARTE_ENABLED
  1415. #define NRFX_UARTE_ENABLED 0
  1416. #endif
  1417. // <o> NRFX_UARTE0_ENABLED - Enables UARTE0 instances
  1418. #ifndef NRFX_UARTE0_ENABLED
  1419. #define NRFX_UARTE0_ENABLED 0
  1420. #endif
  1421. // <o> NRFX_UARTE1_ENABLED - Enables UARTE1 instance.
  1422. #ifndef NRFX_UARTE1_ENABLED
  1423. #define NRFX_UARTE1_ENABLED 0
  1424. #endif
  1425. // <o> NRFX_UARTE2_ENABLED - Enables UARTE2 instance.
  1426. #ifndef NRFX_UARTE2_ENABLED
  1427. #define NRFX_UARTE2_ENABLED 0
  1428. #endif
  1429. // <o> NRFX_UARTE3_ENABLED - Enables UARTE3 instance.
  1430. #ifndef NRFX_UARTE3_ENABLED
  1431. #define NRFX_UARTE3_ENABLED 0
  1432. #endif
  1433. // <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  1434. // <0=> 0 (highest)
  1435. // <1=> 1
  1436. // <2=> 2
  1437. // <3=> 3
  1438. // <4=> 4
  1439. // <5=> 5
  1440. // <6=> 6
  1441. // <7=> 7
  1442. #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
  1443. #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 7
  1444. #endif
  1445. // <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  1446. //==========================================================
  1447. #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED
  1448. #define NRFX_UARTE_CONFIG_LOG_ENABLED 0
  1449. #endif
  1450. // <o> NRFX_UARTE_CONFIG_LOG_LEVEL - Default severity level.
  1451. // <0=> Off
  1452. // <1=> Error
  1453. // <2=> Warning
  1454. // <3=> Info
  1455. // <4=> Debug
  1456. #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL
  1457. #define NRFX_UARTE_CONFIG_LOG_LEVEL 3
  1458. #endif
  1459. // <o> NRFX_UARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1460. // <0=> Default
  1461. // <1=> Black
  1462. // <2=> Red
  1463. // <3=> Green
  1464. // <4=> Yellow
  1465. // <5=> Blue
  1466. // <6=> Magenta
  1467. // <7=> Cyan
  1468. // <8=> White
  1469. #ifndef NRFX_UARTE_CONFIG_INFO_COLOR
  1470. #define NRFX_UARTE_CONFIG_INFO_COLOR 0
  1471. #endif
  1472. // <o> NRFX_UARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1473. // <0=> Default
  1474. // <1=> Black
  1475. // <2=> Red
  1476. // <3=> Green
  1477. // <4=> Yellow
  1478. // <5=> Blue
  1479. // <6=> Magenta
  1480. // <7=> Cyan
  1481. // <8=> White
  1482. #ifndef NRFX_UARTE_CONFIG_DEBUG_COLOR
  1483. #define NRFX_UARTE_CONFIG_DEBUG_COLOR 0
  1484. #endif
  1485. // </e>
  1486. // </e>
  1487. // <e> NRFX_USBD_ENABLED - nrfx_usbd - USBD peripheral driver
  1488. //==========================================================
  1489. #ifndef NRFX_USBD_ENABLED
  1490. #define NRFX_USBD_ENABLED 0
  1491. #endif
  1492. // <o> NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  1493. // <0=> 0 (highest)
  1494. // <1=> 1
  1495. // <2=> 2
  1496. // <3=> 3
  1497. // <4=> 4
  1498. // <5=> 5
  1499. // <6=> 6
  1500. // <7=> 7
  1501. #ifndef NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY
  1502. #define NRFX_USBD_DEFAULT_CONFIG_IRQ_PRIORITY 7
  1503. #endif
  1504. // <q> USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers
  1505. // <i> This option gives priority to isochronous transfers.
  1506. // <i> Enabling it assures that isochronous transfers are always processed,
  1507. // <i> even if multiple other transfers are pending.
  1508. // <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm
  1509. // <i> function is called, so the option is independent of the algorithm chosen.
  1510. #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST
  1511. #define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
  1512. #endif
  1513. // <q> USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready
  1514. // <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent.
  1515. // <i> Else, there will be no response.
  1516. #ifndef NRFX_USBD_CONFIG_ISO_IN_ZLP
  1517. #define NRFX_USBD_CONFIG_ISO_IN_ZLP 0
  1518. #endif
  1519. // <e> NRFX_USBD_CONFIG_LOG_ENABLED - Enable logging in the module
  1520. //==========================================================
  1521. #ifndef NRFX_USBD_CONFIG_LOG_ENABLED
  1522. #define NRFX_USBD_CONFIG_LOG_ENABLED 0
  1523. #endif
  1524. // <o> NRFX_USBD_CONFIG_LOG_LEVEL - Default Severity level
  1525. // <0=> Off
  1526. // <1=> Error
  1527. // <2=> Warning
  1528. // <3=> Info
  1529. // <4=> Debug
  1530. #ifndef NRFX_USBD_CONFIG_LOG_LEVEL
  1531. #define NRFX_USBD_CONFIG_LOG_LEVEL 3
  1532. #endif
  1533. // <o> NRFX_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1534. // <0=> Default
  1535. // <1=> Black
  1536. // <2=> Red
  1537. // <3=> Green
  1538. // <4=> Yellow
  1539. // <5=> Blue
  1540. // <6=> Magenta
  1541. // <7=> Cyan
  1542. // <8=> White
  1543. #ifndef NRFX_USBD_CONFIG_INFO_COLOR
  1544. #define NRFX_USBD_CONFIG_INFO_COLOR 0
  1545. #endif
  1546. // <o> NRFX_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1547. // <0=> Default
  1548. // <1=> Black
  1549. // <2=> Red
  1550. // <3=> Green
  1551. // <4=> Yellow
  1552. // <5=> Blue
  1553. // <6=> Magenta
  1554. // <7=> Cyan
  1555. // <8=> White
  1556. #ifndef NRFX_USBD_CONFIG_DEBUG_COLOR
  1557. #define NRFX_USBD_CONFIG_DEBUG_COLOR 0
  1558. #endif
  1559. // </e>
  1560. // </e>
  1561. // <e> NRFX_USBREG_ENABLED - nrfx_usbreg - USBREG peripheral driver
  1562. //==========================================================
  1563. #ifndef NRFX_USBREG_ENABLED
  1564. #define NRFX_USBREG_ENABLED 0
  1565. #endif
  1566. // <o> NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  1567. // <0=> 0 (highest)
  1568. // <1=> 1
  1569. // <2=> 2
  1570. // <3=> 3
  1571. // <4=> 4
  1572. // <5=> 5
  1573. // <6=> 6
  1574. // <7=> 7
  1575. #ifndef NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY
  1576. #define NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY 7
  1577. #endif
  1578. // </e>
  1579. // </e>
  1580. // <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver.
  1581. //==========================================================
  1582. #ifndef NRFX_WDT_ENABLED
  1583. #define NRFX_WDT_ENABLED 0
  1584. #endif
  1585. // <q> NRFX_WDT0_ENABLED - Enable WDT0 instance.
  1586. #ifndef NRFX_WDT0_ENABLED
  1587. #define NRFX_WDT0_ENABLED 0
  1588. #endif
  1589. // <q> NRFX_WDT1_ENABLED - Enable WDT1 instance.
  1590. #ifndef NRFX_WDT1_ENABLED
  1591. #define NRFX_WDT1_ENABLED 0
  1592. #endif
  1593. // <o> NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver.
  1594. // <0=> Include WDT IRQ handling
  1595. // <1=> Remove WDT IRQ handling
  1596. #ifndef NRFX_WDT_CONFIG_NO_IRQ
  1597. #define NRFX_WDT_CONFIG_NO_IRQ 0
  1598. #endif
  1599. // <o> NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
  1600. // <0=> 0 (highest)
  1601. // <1=> 1
  1602. // <2=> 2
  1603. // <3=> 3
  1604. // <4=> 4
  1605. // <5=> 5
  1606. // <6=> 6
  1607. // <7=> 7
  1608. #ifndef NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY
  1609. #define NRFX_WDT_DEFAULT_CONFIG_IRQ_PRIORITY 7
  1610. #endif
  1611. // <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
  1612. //==========================================================
  1613. #ifndef NRFX_WDT_CONFIG_LOG_ENABLED
  1614. #define NRFX_WDT_CONFIG_LOG_ENABLED 0
  1615. #endif
  1616. // <o> NRFX_WDT_CONFIG_LOG_LEVEL - Default severity level.
  1617. // <0=> Off
  1618. // <1=> Error
  1619. // <2=> Warning
  1620. // <3=> Info
  1621. // <4=> Debug
  1622. #ifndef NRFX_WDT_CONFIG_LOG_LEVEL
  1623. #define NRFX_WDT_CONFIG_LOG_LEVEL 3
  1624. #endif
  1625. // <o> NRFX_WDT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1626. // <0=> Default
  1627. // <1=> Black
  1628. // <2=> Red
  1629. // <3=> Green
  1630. // <4=> Yellow
  1631. // <5=> Blue
  1632. // <6=> Magenta
  1633. // <7=> Cyan
  1634. // <8=> White
  1635. #ifndef NRFX_WDT_CONFIG_INFO_COLOR
  1636. #define NRFX_WDT_CONFIG_INFO_COLOR 0
  1637. #endif
  1638. // <o> NRFX_WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1639. // <0=> Default
  1640. // <1=> Black
  1641. // <2=> Red
  1642. // <3=> Green
  1643. // <4=> Yellow
  1644. // <5=> Blue
  1645. // <6=> Magenta
  1646. // <7=> Cyan
  1647. // <8=> White
  1648. #ifndef NRFX_WDT_CONFIG_DEBUG_COLOR
  1649. #define NRFX_WDT_CONFIG_DEBUG_COLOR 0
  1650. #endif
  1651. // </e>
  1652. // </e>
  1653. // </h>
  1654. #endif // NRFX_CONFIG_NRF5340_APPLICATION_H__