1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074 |
- #ifndef NRFX_CONFIG_H__
- #define NRFX_CONFIG_H__
- /*
- * The MDK provides macros for accessing the peripheral register structures
- * by using their secure and non-secure address mappings (with the names containing
- * the suffix _S or _NS, respectively). Because the nrfx drivers use the macros without
- * any suffixes, you must translate the names. The following section provides configuration
- * for the name translation. It must be modified to reflect the actual configuration set in NRF_SPU.
- */
- #define NRF_CLOCK NRF_CLOCK_S
- #define NRF_DPPIC NRF_DPPIC_S
- #define NRF_EGU0 NRF_EGU0_S
- #define NRF_EGU1 NRF_EGU1_S
- #define NRF_EGU2 NRF_EGU2_S
- #define NRF_EGU3 NRF_EGU3_S
- #define NRF_EGU4 NRF_EGU4_S
- #define NRF_EGU5 NRF_EGU5_S
- #define NRF_FPU NRF_FPU_S
- #define NRF_P0 NRF_P0_S
- #define NRF_I2S NRF_I2S_S
- #define NRF_KMU NRF_KMU_S
- #define NRF_NVMC NRF_NVMC_S
- #define NRF_PDM NRF_PDM_S
- #define NRF_POWER NRF_POWER_S
- #define NRF_PWM0 NRF_PWM0_S
- #define NRF_PWM1 NRF_PWM1_S
- #define NRF_PWM2 NRF_PWM2_S
- #define NRF_PWM3 NRF_PWM3_S
- #define NRF_REGULATORS NRF_REGULATORS_S
- #define NRF_RTC0 NRF_RTC0_S
- #define NRF_RTC1 NRF_RTC1_S
- #define NRF_SAADC NRF_SAADC_S
- #define NRF_SPIM0 NRF_SPIM0_S
- #define NRF_SPIM1 NRF_SPIM1_S
- #define NRF_SPIM2 NRF_SPIM2_S
- #define NRF_SPIM3 NRF_SPIM3_S
- #define NRF_SPIS0 NRF_SPIS0_S
- #define NRF_SPIS1 NRF_SPIS1_S
- #define NRF_SPIS2 NRF_SPIS2_S
- #define NRF_SPIS3 NRF_SPIS3_S
- #define NRF_TIMER0 NRF_TIMER0_S
- #define NRF_TIMER1 NRF_TIMER1_S
- #define NRF_TIMER2 NRF_TIMER2_S
- #define NRF_TWIM0 NRF_TWIM0_S
- #define NRF_TWIM1 NRF_TWIM1_S
- #define NRF_TWIM2 NRF_TWIM2_S
- #define NRF_TWIM3 NRF_TWIM3_S
- #define NRF_TWIS0 NRF_TWIS0_S
- #define NRF_TWIS1 NRF_TWIS1_S
- #define NRF_TWIS2 NRF_TWIS2_S
- #define NRF_TWIS3 NRF_TWIS3_S
- #define NRF_UARTE0 NRF_UARTE0_S
- #define NRF_UARTE1 NRF_UARTE1_S
- #define NRF_UARTE2 NRF_UARTE2_S
- #define NRF_UARTE3 NRF_UARTE3_S
- #define NRF_VMC NRF_VMC_S
- #define NRF_WDT NRF_WDT_S
- /* Unchangable configuration. */
- #define NRF_CRYPTOCELL NRF_CRYPTOCELL_S
- #define NRF_FICR NRF_FICR_S
- #define NRF_GPIOTE0 NRF_GPIOTE0_S
- #define NRF_GPIOTE1 NRF_GPIOTE1_NS
- #define NRF_SPU NRF_SPU_S
- #define NRF_UICR NRF_UICR_S
- /* Fixups for GPIOTE HAL and driver. */
- #define NRF_GPIOTE NRF_GPIOTE0_S
- #define GPIOTE_IRQn GPIOTE0_IRQn
- #define GPIOTE_IRQHandler GPIOTE0_IRQHandler
- // <<< Use Configuration Wizard in Context Menu >>>\n
- // <h> nRF_Drivers
- // <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver.
- //==========================================================
- #ifndef NRFX_CLOCK_ENABLED
- #define NRFX_CLOCK_ENABLED 1
- #endif
- // <o> NRFX_CLOCK_CONFIG_LF_SRC - LF clock source.
- // <0=> RC
- // <1=> XTAL
- // <2=> Synth
- // <131073=> External Low Swing
- // <196609=> External Full Swing
- #ifndef NRFX_CLOCK_CONFIG_LF_SRC
- #define NRFX_CLOCK_CONFIG_LF_SRC 1
- #endif
- // <o> NRFX_CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_CLOCK_CONFIG_IRQ_PRIORITY
- #define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
- #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_CLOCK_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
- #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR
- #define NRFX_CLOCK_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR
- #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_DPPI_ENABLED - nrfx_dppi - DPPI allocator.
- //==========================================================
- #ifndef NRFX_DPPI_ENABLED
- #define NRFX_DPPI_ENABLED 1
- #endif
- // <e> NRFX_DPPI_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_DPPI_CONFIG_LOG_ENABLED
- #define NRFX_DPPI_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_DPPI_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_DPPI_CONFIG_LOG_LEVEL
- #define NRFX_DPPI_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_DPPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_DPPI_CONFIG_INFO_COLOR
- #define NRFX_DPPI_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_DPPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_DPPI_CONFIG_DEBUG_COLOR
- #define NRFX_DPPI_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver.
- //==========================================================
- #ifndef NRFX_GPIOTE_ENABLED
- #define NRFX_GPIOTE_ENABLED 1
- #endif
- // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins.
- #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
- #define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
- #endif
- // <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_GPIOTE_CONFIG_IRQ_PRIORITY
- #define NRFX_GPIOTE_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
- #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
- #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR
- #define NRFX_GPIOTE_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR
- #define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_I2S_ENABLED - nrfx_i2s - I2S peripheral driver.
- //==========================================================
- #ifndef NRFX_I2S_ENABLED
- #define NRFX_I2S_ENABLED 1
- #endif
- // <o> NRFX_I2S_CONFIG_SCK_PIN - SCK pin <0-31>
- #ifndef NRFX_I2S_CONFIG_SCK_PIN
- #define NRFX_I2S_CONFIG_SCK_PIN 31
- #endif
- // <o> NRFX_I2S_CONFIG_LRCK_PIN - LRCK pin <1-31>
- #ifndef NRFX_I2S_CONFIG_LRCK_PIN
- #define NRFX_I2S_CONFIG_LRCK_PIN 30
- #endif
- // <o> NRFX_I2S_CONFIG_MCK_PIN - MCK pin.
- #ifndef NRFX_I2S_CONFIG_MCK_PIN
- #define NRFX_I2S_CONFIG_MCK_PIN 255
- #endif
- // <o> NRFX_I2S_CONFIG_SDOUT_PIN - SDOUT pin <0-31>
- #ifndef NRFX_I2S_CONFIG_SDOUT_PIN
- #define NRFX_I2S_CONFIG_SDOUT_PIN 29
- #endif
- // <o> NRFX_I2S_CONFIG_SDIN_PIN - SDIN pin <0-31>
- #ifndef NRFX_I2S_CONFIG_SDIN_PIN
- #define NRFX_I2S_CONFIG_SDIN_PIN 28
- #endif
- // <o> NRFX_I2S_CONFIG_MASTER - Mode.
- // <0=> Master
- // <1=> Slave
- #ifndef NRFX_I2S_CONFIG_MASTER
- #define NRFX_I2S_CONFIG_MASTER 0
- #endif
- // <o> NRFX_I2S_CONFIG_FORMAT - Format.
- // <0=> I2S
- // <1=> Aligned
- #ifndef NRFX_I2S_CONFIG_FORMAT
- #define NRFX_I2S_CONFIG_FORMAT 0
- #endif
- // <o> NRFX_I2S_CONFIG_ALIGN - Alignment.
- // <0=> Left
- // <1=> Right
- #ifndef NRFX_I2S_CONFIG_ALIGN
- #define NRFX_I2S_CONFIG_ALIGN 0
- #endif
- // <o> NRFX_I2S_CONFIG_SWIDTH - Sample width (bits).
- // <0=> 8
- // <1=> 16
- // <2=> 24
- #ifndef NRFX_I2S_CONFIG_SWIDTH
- #define NRFX_I2S_CONFIG_SWIDTH 1
- #endif
- // <o> NRFX_I2S_CONFIG_CHANNELS - Channels.
- // <0=> Stereo
- // <1=> Left
- // <2=> Right
- #ifndef NRFX_I2S_CONFIG_CHANNELS
- #define NRFX_I2S_CONFIG_CHANNELS 1
- #endif
- // <o> NRFX_I2S_CONFIG_MCK_SETUP - MCK behavior.
- // <0=> Disabled
- // <536870912=> 32MHz/8
- // <402653184=> 32MHz/10
- // <369098752=> 32MHz/11
- // <285212672=> 32MHz/15
- // <268435456=> 32MHz/16
- // <201326592=> 32MHz/21
- // <184549376=> 32MHz/23
- // <142606336=> 32MHz/30
- // <138412032=> 32MHz/31
- // <134217728=> 32MHz/32
- // <100663296=> 32MHz/42
- // <68157440=> 32MHz/63
- // <34340864=> 32MHz/125
- #ifndef NRFX_I2S_CONFIG_MCK_SETUP
- #define NRFX_I2S_CONFIG_MCK_SETUP 536870912
- #endif
- // <o> NRFX_I2S_CONFIG_RATIO - MCK/LRCK ratio.
- // <0=> 32x
- // <1=> 48x
- // <2=> 64x
- // <3=> 96x
- // <4=> 128x
- // <5=> 192x
- // <6=> 256x
- // <7=> 384x
- // <8=> 512x
- #ifndef NRFX_I2S_CONFIG_RATIO
- #define NRFX_I2S_CONFIG_RATIO 5
- #endif
- // <o> NRFX_I2S_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_I2S_CONFIG_IRQ_PRIORITY
- #define NRFX_I2S_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_I2S_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_I2S_CONFIG_LOG_ENABLED
- #define NRFX_I2S_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_I2S_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_I2S_CONFIG_LOG_LEVEL
- #define NRFX_I2S_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_I2S_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_I2S_CONFIG_INFO_COLOR
- #define NRFX_I2S_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_I2S_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_I2S_CONFIG_DEBUG_COLOR
- #define NRFX_I2S_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_PDM_ENABLED - nrfx_pdm - PDM peripheral driver.
- //==========================================================
- #ifndef NRFX_PDM_ENABLED
- #define NRFX_PDM_ENABLED 1
- #endif
- // <o> NRFX_PDM_CONFIG_MODE - Mode.
- // <0=> Stereo
- // <1=> Mono
- #ifndef NRFX_PDM_CONFIG_MODE
- #define NRFX_PDM_CONFIG_MODE 1
- #endif
- // <o> NRFX_PDM_CONFIG_EDGE - Edge.
- // <0=> Left falling
- // <1=> Left rising
- #ifndef NRFX_PDM_CONFIG_EDGE
- #define NRFX_PDM_CONFIG_EDGE 0
- #endif
- // <o> NRFX_PDM_CONFIG_CLOCK_FREQ - Clock frequency.
- // <134217728=> 1000k
- // <138412032=> 1032k (default)
- // <142606336=> 1067k
- #ifndef NRFX_PDM_CONFIG_CLOCK_FREQ
- #define NRFX_PDM_CONFIG_CLOCK_FREQ 138412032
- #endif
- // <o> NRFX_PDM_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_PDM_CONFIG_IRQ_PRIORITY
- #define NRFX_PDM_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_PDM_CONFIG_LOG_ENABLED
- #define NRFX_PDM_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_PDM_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_PDM_CONFIG_LOG_LEVEL
- #define NRFX_PDM_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_PDM_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_PDM_CONFIG_INFO_COLOR
- #define NRFX_PDM_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_PDM_CONFIG_DEBUG_COLOR
- #define NRFX_PDM_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver.
- //==========================================================
- #ifndef NRFX_POWER_ENABLED
- #define NRFX_POWER_ENABLED 1
- #endif
- // <o> NRFX_POWER_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_POWER_CONFIG_IRQ_PRIORITY
- #define NRFX_POWER_CONFIG_IRQ_PRIORITY 7
- #endif
- // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCEN - The default configuration of the main DCDC regulator.
- // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
- #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCEN
- #define NRFX_POWER_CONFIG_DEFAULT_DCDCEN 0
- #endif
- // </e>
- // <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing (PRS) module.
- //==========================================================
- #ifndef NRFX_PRS_ENABLED
- #define NRFX_PRS_ENABLED 1
- #endif
- // <q> NRFX_PRS_BOX_0_ENABLED - Enables box 0 in the module.
- #ifndef NRFX_PRS_BOX_0_ENABLED
- #define NRFX_PRS_BOX_0_ENABLED 1
- #endif
- // <q> NRFX_PRS_BOX_1_ENABLED - Enables box 1 in the module.
- #ifndef NRFX_PRS_BOX_1_ENABLED
- #define NRFX_PRS_BOX_1_ENABLED 1
- #endif
- // <q> NRFX_PRS_BOX_2_ENABLED - Enables box 2 in the module.
- #ifndef NRFX_PRS_BOX_2_ENABLED
- #define NRFX_PRS_BOX_2_ENABLED 1
- #endif
- // <q> NRFX_PRS_BOX_3_ENABLED - Enables box 3 in the module.
- #ifndef NRFX_PRS_BOX_3_ENABLED
- #define NRFX_PRS_BOX_3_ENABLED 1
- #endif
- // <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_PRS_CONFIG_LOG_ENABLED
- #define NRFX_PRS_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_PRS_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_PRS_CONFIG_LOG_LEVEL
- #define NRFX_PRS_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_PRS_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_PRS_CONFIG_INFO_COLOR
- #define NRFX_PRS_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_PRS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_PRS_CONFIG_DEBUG_COLOR
- #define NRFX_PRS_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver.
- //==========================================================
- #ifndef NRFX_PWM_ENABLED
- #define NRFX_PWM_ENABLED 1
- #endif
- // <q> NRFX_PWM0_ENABLED - Enables PWM0 instance.
- #ifndef NRFX_PWM0_ENABLED
- #define NRFX_PWM0_ENABLED 1
- #endif
- // <q> NRFX_PWM1_ENABLED - Enables PWM1 instance.
- #ifndef NRFX_PWM1_ENABLED
- #define NRFX_PWM1_ENABLED 1
- #endif
- // <q> NRFX_PWM2_ENABLED - Enables PWM2 instance.
- #ifndef NRFX_PWM2_ENABLED
- #define NRFX_PWM2_ENABLED 1
- #endif
- // <q> NRFX_PWM3_ENABLED - Enables PWM3 instance.
- #ifndef NRFX_PWM3_ENABLED
- #define NRFX_PWM3_ENABLED 1
- #endif
- // <o> NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN - Out0 pin <0-31>
- #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN
- #define NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN 31
- #endif
- // <o> NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN - Out1 pin <0-31>
- #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN
- #define NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN 31
- #endif
- // <o> NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN - Out2 pin <0-31>
- #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN
- #define NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN 31
- #endif
- // <o> NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN - Out3 pin <0-31>
- #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN
- #define NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN 31
- #endif
- // <o> NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK - Base clock.
- // <0=> 16 MHz
- // <1=> 8 MHz
- // <2=> 4 MHz
- // <3=> 2 MHz
- // <4=> 1 MHz
- // <5=> 500 kHz
- // <6=> 250 kHz
- // <7=> 125 kHz
- #ifndef NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK
- #define NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK 4
- #endif
- // <o> NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE - Count mode.
- // <0=> Up
- // <1=> Up and Down
- #ifndef NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE
- #define NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE 0
- #endif
- // <o> NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE - Top value.
- #ifndef NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE
- #define NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE 1000
- #endif
- // <o> NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE - Load mode.
- // <0=> Common
- // <1=> Grouped
- // <2=> Individual
- // <3=> Waveform
- #ifndef NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE
- #define NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE 0
- #endif
- // <o> NRFX_PWM_DEFAULT_CONFIG_STEP_MODE - Step mode.
- // <0=> Auto
- // <1=> Triggered
- #ifndef NRFX_PWM_DEFAULT_CONFIG_STEP_MODE
- #define NRFX_PWM_DEFAULT_CONFIG_STEP_MODE 0
- #endif
- // <o> NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY
- #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_PWM_CONFIG_LOG_ENABLED
- #define NRFX_PWM_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_PWM_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_PWM_CONFIG_LOG_LEVEL
- #define NRFX_PWM_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_PWM_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_PWM_CONFIG_INFO_COLOR
- #define NRFX_PWM_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_PWM_CONFIG_DEBUG_COLOR
- #define NRFX_PWM_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver.
- //==========================================================
- #ifndef NRFX_RTC_ENABLED
- #define NRFX_RTC_ENABLED 1
- #endif
- // <q> NRFX_RTC0_ENABLED - Enables RTC0 instance.
- #ifndef NRFX_RTC0_ENABLED
- #define NRFX_RTC0_ENABLED 1
- #endif
- // <q> NRFX_RTC1_ENABLED - Enables RTC1 instance.
- #ifndef NRFX_RTC1_ENABLED
- #define NRFX_RTC1_ENABLED 1
- #endif
- // <o> NRFX_RTC_MAXIMUM_LATENCY_US - Maximum possible time in highest priority interrupt, in microseconds.
- #ifndef NRFX_RTC_MAXIMUM_LATENCY_US
- #define NRFX_RTC_MAXIMUM_LATENCY_US 2000
- #endif
- // <o> NRFX_RTC_DEFAULT_CONFIG_FREQUENCY - Frequency <16-32768>
- #ifndef NRFX_RTC_DEFAULT_CONFIG_FREQUENCY
- #define NRFX_RTC_DEFAULT_CONFIG_FREQUENCY 32768
- #endif
- // <q> NRFX_RTC_DEFAULT_CONFIG_RELIABLE - Ensures safe compare event triggering.
- #ifndef NRFX_RTC_DEFAULT_CONFIG_RELIABLE
- #define NRFX_RTC_DEFAULT_CONFIG_RELIABLE 0
- #endif
- // <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
- #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_RTC_CONFIG_LOG_ENABLED
- #define NRFX_RTC_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_RTC_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_RTC_CONFIG_LOG_LEVEL
- #define NRFX_RTC_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_RTC_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_RTC_CONFIG_INFO_COLOR
- #define NRFX_RTC_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_RTC_CONFIG_DEBUG_COLOR
- #define NRFX_RTC_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver.
- //==========================================================
- #ifndef NRFX_SAADC_ENABLED
- #define NRFX_SAADC_ENABLED 1
- #endif
- // <o> NRFX_SAADC_CONFIG_RESOLUTION - Resolution.
- // <0=> 8 bit
- // <1=> 10 bit
- // <2=> 12 bit
- // <3=> 14 bit
- #ifndef NRFX_SAADC_CONFIG_RESOLUTION
- #define NRFX_SAADC_CONFIG_RESOLUTION 1
- #endif
- // <o> NRFX_SAADC_CONFIG_OVERSAMPLE - Sample period.
- // <0=> Disabled
- // <1=> 2x
- // <2=> 4x
- // <3=> 8x
- // <4=> 16x
- // <5=> 32x
- // <6=> 64x
- // <7=> 128x
- // <8=> 256x
- #ifndef NRFX_SAADC_CONFIG_OVERSAMPLE
- #define NRFX_SAADC_CONFIG_OVERSAMPLE 0
- #endif
- // <q> NRFX_SAADC_CONFIG_LP_MODE - Enables low power mode.
- #ifndef NRFX_SAADC_CONFIG_LP_MODE
- #define NRFX_SAADC_CONFIG_LP_MODE 0
- #endif
- // <o> NRFX_SAADC_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_SAADC_CONFIG_IRQ_PRIORITY
- #define NRFX_SAADC_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED
- #define NRFX_SAADC_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_SAADC_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL
- #define NRFX_SAADC_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_SAADC_CONFIG_INFO_COLOR
- #define NRFX_SAADC_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_SAADC_CONFIG_DEBUG_COLOR
- #define NRFX_SAADC_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver.
- //==========================================================
- #ifndef NRFX_SPIM_ENABLED
- #define NRFX_SPIM_ENABLED 1
- #endif
- // <q> NRFX_SPIM0_ENABLED - Enables SPIM0 instance.
- #ifndef NRFX_SPIM0_ENABLED
- #define NRFX_SPIM0_ENABLED 1
- #endif
- // <q> NRFX_SPIM1_ENABLED - Enables SPIM1 instance.
- #ifndef NRFX_SPIM1_ENABLED
- #define NRFX_SPIM1_ENABLED 1
- #endif
- // <q> NRFX_SPIM2_ENABLED - Enables SPIM2 instance.
- #ifndef NRFX_SPIM2_ENABLED
- #define NRFX_SPIM2_ENABLED 1
- #endif
- // <q> NRFX_SPIM3_ENABLED - Enables SPIM3 instance.
- #ifndef NRFX_SPIM3_ENABLED
- #define NRFX_SPIM3_ENABLED 1
- #endif
- // <o> NRFX_SPIM_MISO_PULL_CFG - MISO pin pull configuration.
- // <0=> NRF_GPIO_PIN_NOPULL
- // <1=> NRF_GPIO_PIN_PULLDOWN
- // <3=> NRF_GPIO_PIN_PULLUP
- #ifndef NRFX_SPIM_MISO_PULL_CFG
- #define NRFX_SPIM_MISO_PULL_CFG 1
- #endif
- // <o> NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY
- #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED
- #define NRFX_SPIM_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_SPIM_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL
- #define NRFX_SPIM_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_SPIM_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_SPIM_CONFIG_INFO_COLOR
- #define NRFX_SPIM_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_SPIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_SPIM_CONFIG_DEBUG_COLOR
- #define NRFX_SPIM_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_SPIS_ENABLED - nrfx_spis - SPIS peripheral driver.
- //==========================================================
- #ifndef NRFX_SPIS_ENABLED
- #define NRFX_SPIS_ENABLED 1
- #endif
- // <q> NRFX_SPIS0_ENABLED - Enables SPIS0 instance.
- #ifndef NRFX_SPIS0_ENABLED
- #define NRFX_SPIS0_ENABLED 1
- #endif
- // <q> NRFX_SPIS1_ENABLED - Enables SPIS1 instance.
- #ifndef NRFX_SPIS1_ENABLED
- #define NRFX_SPIS1_ENABLED 1
- #endif
- // <q> NRFX_SPIS2_ENABLED - Enables SPIS2 instance.
- #ifndef NRFX_SPIS2_ENABLED
- #define NRFX_SPIS2_ENABLED 1
- #endif
- // <q> NRFX_SPIS3_ENABLED - Enables SPIS3 instance.
- #ifndef NRFX_SPIS3_ENABLED
- #define NRFX_SPIS3_ENABLED 1
- #endif
- // <o> NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
- #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 7
- #endif
- // <o> NRFX_SPIS_DEFAULT_DEF - SPIS default DEF character <0-255>
- #ifndef NRFX_SPIS_DEFAULT_DEF
- #define NRFX_SPIS_DEFAULT_DEF 255
- #endif
- // <o> NRFX_SPIS_DEFAULT_ORC - SPIS default ORC character <0-255>
- #ifndef NRFX_SPIS_DEFAULT_ORC
- #define NRFX_SPIS_DEFAULT_ORC 255
- #endif
- // <e> NRFX_SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED
- #define NRFX_SPIS_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_SPIS_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL
- #define NRFX_SPIS_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_SPIS_CONFIG_INFO_COLOR
- #define NRFX_SPIS_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_SPIS_CONFIG_DEBUG_COLOR
- #define NRFX_SPIS_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_SWI_ENABLED - nrfx_swi - SWI/EGU peripheral allocator.
- //==========================================================
- #ifndef NRFX_SWI_ENABLED
- #define NRFX_SWI_ENABLED 1
- #endif
- // <q> NRFX_EGU_ENABLED - Enables EGU support.
- #ifndef NRFX_EGU_ENABLED
- #define NRFX_EGU_ENABLED 1
- #endif
- // <q> NRFX_SWI0_DISABLED - Excludes SWI0 from being utilized by the driver.
- #ifndef NRFX_SWI0_DISABLED
- #define NRFX_SWI0_DISABLED 0
- #endif
- // <q> NRFX_SWI1_DISABLED - Excludes SWI1 from being utilized by the driver.
- #ifndef NRFX_SWI1_DISABLED
- #define NRFX_SWI1_DISABLED 0
- #endif
- // <q> NRFX_SWI2_DISABLED - Excludes SWI2 from being utilized by the driver.
- #ifndef NRFX_SWI2_DISABLED
- #define NRFX_SWI2_DISABLED 0
- #endif
- // <q> NRFX_SWI3_DISABLED - Excludes SWI3 from being utilized by the driver.
- #ifndef NRFX_SWI3_DISABLED
- #define NRFX_SWI3_DISABLED 0
- #endif
- // <q> NRFX_SWI4_DISABLED - Excludes SWI4 from being utilized by the driver.
- #ifndef NRFX_SWI4_DISABLED
- #define NRFX_SWI4_DISABLED 0
- #endif
- // <q> NRFX_SWI5_DISABLED - Excludes SWI5 from being utilized by the driver.
- #ifndef NRFX_SWI5_DISABLED
- #define NRFX_SWI5_DISABLED 0
- #endif
- // <e> NRFX_SWI_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_SWI_CONFIG_LOG_ENABLED
- #define NRFX_SWI_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_SWI_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_SWI_CONFIG_LOG_LEVEL
- #define NRFX_SWI_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_SWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_SWI_CONFIG_INFO_COLOR
- #define NRFX_SWI_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_SWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_SWI_CONFIG_DEBUG_COLOR
- #define NRFX_SWI_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <q> NRFX_SYSTICK_ENABLED - nrfx_systick - ARM(R) SysTick driver.
- #ifndef NRFX_SYSTICK_ENABLED
- #define NRFX_SYSTICK_ENABLED 1
- #endif
- // <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver.
- //==========================================================
- #ifndef NRFX_TIMER_ENABLED
- #define NRFX_TIMER_ENABLED 1
- #endif
- // <q> NRFX_TIMER0_ENABLED - Enables TIMER0 instance.
- #ifndef NRFX_TIMER0_ENABLED
- #define NRFX_TIMER0_ENABLED 1
- #endif
- // <q> NRFX_TIMER1_ENABLED - Enables TIMER1 instance.
- #ifndef NRFX_TIMER1_ENABLED
- #define NRFX_TIMER1_ENABLED 1
- #endif
- // <q> NRFX_TIMER2_ENABLED - Enables TIMER2 instance.
- #ifndef NRFX_TIMER2_ENABLED
- #define NRFX_TIMER2_ENABLED 1
- #endif
- // <o> NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY - Timer frequency if in Timer mode.
- // <0=> 16 MHz
- // <1=> 8 MHz
- // <2=> 4 MHz
- // <3=> 2 MHz
- // <4=> 1 MHz
- // <5=> 500 kHz
- // <6=> 250 kHz
- // <7=> 125 kHz
- // <8=> 62.5 kHz
- // <9=> 31.25 kHz
- #ifndef NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY
- #define NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY 0
- #endif
- // <o> NRFX_TIMER_DEFAULT_CONFIG_MODE - Timer mode or operation.
- // <0=> Timer
- // <1=> Counter
- #ifndef NRFX_TIMER_DEFAULT_CONFIG_MODE
- #define NRFX_TIMER_DEFAULT_CONFIG_MODE 0
- #endif
- // <o> NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH - Timer counter bit width.
- // <0=> 16 bit
- // <1=> 8 bit
- // <2=> 24 bit
- // <3=> 32 bit
- #ifndef NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH
- #define NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH 0
- #endif
- // <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
- #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED
- #define NRFX_TIMER_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_TIMER_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL
- #define NRFX_TIMER_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_TIMER_CONFIG_INFO_COLOR
- #define NRFX_TIMER_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_TIMER_CONFIG_DEBUG_COLOR
- #define NRFX_TIMER_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver.
- //==========================================================
- #ifndef NRFX_TWIM_ENABLED
- #define NRFX_TWIM_ENABLED 1
- #endif
- // <q> NRFX_TWIM0_ENABLED - Enables TWIM0 instance.
- #ifndef NRFX_TWIM0_ENABLED
- #define NRFX_TWIM0_ENABLED 1
- #endif
- // <q> NRFX_TWIM1_ENABLED - Enables TWIM1 instance.
- #ifndef NRFX_TWIM1_ENABLED
- #define NRFX_TWIM1_ENABLED 1
- #endif
- // <q> NRFX_TWIM2_ENABLED - Enables TWIM2 instance.
- #ifndef NRFX_TWIM2_ENABLED
- #define NRFX_TWIM2_ENABLED 1
- #endif
- // <q> NRFX_TWIM3_ENABLED - Enables TWIM3 instance.
- #ifndef NRFX_TWIM3_ENABLED
- #define NRFX_TWIM3_ENABLED 1
- #endif
- // <o> NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY - Frequency.
- // <26738688=> 100k
- // <67108864=> 250k
- // <104857600=> 400k
- #ifndef NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY
- #define NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY 26738688
- #endif
- // <q> NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT - Enables bus holding after uninit.
- #ifndef NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT
- #define NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
- #endif
- // <o> NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY
- #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_TWIM_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED
- #define NRFX_TWIM_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_TWIM_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL
- #define NRFX_TWIM_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_TWIM_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_TWIM_CONFIG_INFO_COLOR
- #define NRFX_TWIM_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_TWIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_TWIM_CONFIG_DEBUG_COLOR
- #define NRFX_TWIM_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_TWIS_ENABLED - nrfx_twis - TWIS peripheral driver.
- //==========================================================
- #ifndef NRFX_TWIS_ENABLED
- #define NRFX_TWIS_ENABLED 1
- #endif
- // <q> NRFX_TWIS0_ENABLED - Enables TWIS0 instance.
- #ifndef NRFX_TWIS0_ENABLED
- #define NRFX_TWIS0_ENABLED 1
- #endif
- // <q> NRFX_TWIS1_ENABLED - Enables TWIS1 instance.
- #ifndef NRFX_TWIS1_ENABLED
- #define NRFX_TWIS1_ENABLED 1
- #endif
- // <q> NRFX_TWIS2_ENABLED - Enables TWIS2 instance.
- #ifndef NRFX_TWIS2_ENABLED
- #define NRFX_TWIS2_ENABLED 1
- #endif
- // <q> NRFX_TWIS3_ENABLED - Enables TWIS3 instance.
- #ifndef NRFX_TWIS3_ENABLED
- #define NRFX_TWIS3_ENABLED 1
- #endif
- // <q> NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assumes that any instance would be initialized only once.
- // <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.
- #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY
- #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
- #endif
- // <q> NRFX_TWIS_NO_SYNC_MODE - Removes support for synchronous mode.
- // <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.
- #ifndef NRFX_TWIS_NO_SYNC_MODE
- #define NRFX_TWIS_NO_SYNC_MODE 0
- #endif
- // <o> NRFX_TWIS_DEFAULT_CONFIG_ADDR0 - Address0.
- #ifndef NRFX_TWIS_DEFAULT_CONFIG_ADDR0
- #define NRFX_TWIS_DEFAULT_CONFIG_ADDR0 0
- #endif
- // <o> NRFX_TWIS_DEFAULT_CONFIG_ADDR1 - Address1.
- #ifndef NRFX_TWIS_DEFAULT_CONFIG_ADDR1
- #define NRFX_TWIS_DEFAULT_CONFIG_ADDR1 0
- #endif
- // <o> NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL - SCL pin pull configuration.
- // <0=> Disabled
- // <1=> Pull down
- // <3=> Pull up
- #ifndef NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL
- #define NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL 0
- #endif
- // <o> NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL - SDA pin pull configuration.
- // <0=> Disabled
- // <1=> Pull down
- // <3=> Pull up
- #ifndef NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL
- #define NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL 0
- #endif
- // <o> NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
- #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED
- #define NRFX_TWIS_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_TWIS_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL
- #define NRFX_TWIS_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_TWIS_CONFIG_INFO_COLOR
- #define NRFX_TWIS_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_TWIS_CONFIG_DEBUG_COLOR
- #define NRFX_TWIS_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver.
- //==========================================================
- #ifndef NRFX_UARTE_ENABLED
- #define NRFX_UARTE_ENABLED 1
- #endif
- // <o> NRFX_UARTE0_ENABLED - Enables UARTE0 instances
- #ifndef NRFX_UARTE0_ENABLED
- #define NRFX_UARTE0_ENABLED 1
- #endif
- // <o> NRFX_UARTE1_ENABLED - Enables UARTE1 instance.
- #ifndef NRFX_UARTE1_ENABLED
- #define NRFX_UARTE1_ENABLED 1
- #endif
- // <o> NRFX_UARTE2_ENABLED - Enables UARTE2 instance.
- #ifndef NRFX_UARTE2_ENABLED
- #define NRFX_UARTE2_ENABLED 1
- #endif
- // <o> NRFX_UARTE3_ENABLED - Enables UARTE3 instance.
- #ifndef NRFX_UARTE3_ENABLED
- #define NRFX_UARTE3_ENABLED 1
- #endif
- // <o> NRFX_UARTE_DEFAULT_CONFIG_HWFC - Hardware Flow Control.
- // <0=> Disabled
- // <1=> Enabled
- #ifndef NRFX_UARTE_DEFAULT_CONFIG_HWFC
- #define NRFX_UARTE_DEFAULT_CONFIG_HWFC 0
- #endif
- // <o> NRFX_UARTE_DEFAULT_CONFIG_PARITY - Parity.
- // <0=> Excluded
- // <14=> Included
- #ifndef NRFX_UARTE_DEFAULT_CONFIG_PARITY
- #define NRFX_UARTE_DEFAULT_CONFIG_PARITY 0
- #endif
- // <o> NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE - Default baud rate.
- // <323584=> 1200 baud
- // <643072=> 2400 baud
- // <1290240=> 4800 baud
- // <2576384=> 9600 baud
- // <3862528=> 14400 baud
- // <5152768=> 19200 baud
- // <7716864=> 28800 baud
- // <8388608=> 31250 baud
- // <10289152=> 38400 baud
- // <15007744=> 56000 baud
- // <15400960=> 57600 baud
- // <20615168=> 76800 baud
- // <30801920=> 115200 baud
- // <61865984=> 230400 baud
- // <67108864=> 250000 baud
- // <121634816=> 460800 baud
- // <251658240=> 921600 baud
- // <268435456=> 1000000 baud
- #ifndef NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE
- #define NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE 30801920
- #endif
- // <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
- #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED
- #define NRFX_UARTE_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_UARTE_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL
- #define NRFX_UARTE_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_UARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_UARTE_CONFIG_INFO_COLOR
- #define NRFX_UARTE_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_UARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_UARTE_CONFIG_DEBUG_COLOR
- #define NRFX_UARTE_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver.
- //==========================================================
- #ifndef NRFX_WDT_ENABLED
- #define NRFX_WDT_ENABLED 1
- #endif
- // <o> NRFX_WDT_CONFIG_BEHAVIOUR - WDT behavior in CPU SLEEP or HALT mode.
- // <1=> Run in SLEEP, Pause in HALT
- // <8=> Pause in SLEEP, Run in HALT
- // <9=> Run in SLEEP and HALT
- // <0=> Pause in SLEEP and HALT
- #ifndef NRFX_WDT_CONFIG_BEHAVIOUR
- #define NRFX_WDT_CONFIG_BEHAVIOUR 1
- #endif
- // <o> NRFX_WDT_CONFIG_RELOAD_VALUE - Reload value <15-4294967295>
- #ifndef NRFX_WDT_CONFIG_RELOAD_VALUE
- #define NRFX_WDT_CONFIG_RELOAD_VALUE 2000
- #endif
- // <o> NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver
- // <0=> Include WDT IRQ handling
- // <1=> Remove WDT IRQ handling
- #ifndef NRFX_WDT_CONFIG_NO_IRQ
- #define NRFX_WDT_CONFIG_NO_IRQ 0
- #endif
- // <o> NRFX_WDT_CONFIG_IRQ_PRIORITY - Interrupt priority.
- // <0=> 0 (highest)
- // <1=> 1
- // <2=> 2
- // <3=> 3
- // <4=> 4
- // <5=> 5
- // <6=> 6
- // <7=> 7
- #ifndef NRFX_WDT_CONFIG_IRQ_PRIORITY
- #define NRFX_WDT_CONFIG_IRQ_PRIORITY 7
- #endif
- // <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
- //==========================================================
- #ifndef NRFX_WDT_CONFIG_LOG_ENABLED
- #define NRFX_WDT_CONFIG_LOG_ENABLED 0
- #endif
- // <o> NRFX_WDT_CONFIG_LOG_LEVEL - Default severity level.
- // <0=> Off
- // <1=> Error
- // <2=> Warning
- // <3=> Info
- // <4=> Debug
- #ifndef NRFX_WDT_CONFIG_LOG_LEVEL
- #define NRFX_WDT_CONFIG_LOG_LEVEL 3
- #endif
- // <o> NRFX_WDT_CONFIG_INFO_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_WDT_CONFIG_INFO_COLOR
- #define NRFX_WDT_CONFIG_INFO_COLOR 0
- #endif
- // <o> NRFX_WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
- // <0=> Default
- // <1=> Black
- // <2=> Red
- // <3=> Green
- // <4=> Yellow
- // <5=> Blue
- // <6=> Magenta
- // <7=> Cyan
- // <8=> White
- #ifndef NRFX_WDT_CONFIG_DEBUG_COLOR
- #define NRFX_WDT_CONFIG_DEBUG_COLOR 0
- #endif
- // </e>
- // </e>
- // </h>
- #endif // NRFX_CONFIG_H__
|