Macros |
|
| #define | COMP_ENABLED |
|
Enable COMP driver.
More...
|
|
| #define | COMP_CONFIG_REF |
|
Reference voltage.
More...
|
|
| #define | COMP_CONFIG_MAIN_MODE |
|
Main mode.
More...
|
|
| #define | COMP_CONFIG_SPEED_MODE |
|
Speed mode.
More...
|
|
| #define | COMP_CONFIG_HYST |
|
Hystheresis.
More...
|
|
| #define | COMP_CONFIG_ISOURCE |
|
Current Source.
More...
|
|
| #define | COMP_CONFIG_INPUT |
|
Analog input.
More...
|
|
| #define | COMP_CONFIG_IRQ_PRIORITY |
|
Interrupt priority.
More...
|
|
Detailed Description
Macro Definition Documentation
| #define COMP_CONFIG_HYST |
Hystheresis.
Following options are available:
- 0 - No
- 1 - 50mV
- Note
- This is an NRF_CONFIG macro.
| #define COMP_CONFIG_INPUT |
Analog input.
Following options are available:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- Note
- This is an NRF_CONFIG macro.
| #define COMP_CONFIG_IRQ_PRIORITY |
Interrupt priority.
Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
Following options are available:
- 0 - 0 (highest)
- 1 - 1
- 2 - 2
- 3 - 3
- 4 - 4 (except nRF51 family)
- 5 - 5 (except nRF51 family)
- 6 - 6 (except nRF51 family)
- 7 - 7 (except nRF51 family)
- Note
- This is an NRF_CONFIG macro.
| #define COMP_CONFIG_ISOURCE |
Current Source.
Following options are available:
- 0 - Off
- 1 - 2.5 uA
- 2 - 5 uA
- 3 - 10 uA
- Note
- This is an NRF_CONFIG macro.
| #define COMP_CONFIG_MAIN_MODE |
Main mode.
Following options are available:
- 0 - Single ended
- 1 - Differential
- Note
- This is an NRF_CONFIG macro.
| #define COMP_CONFIG_REF |
Reference voltage.
Following options are available:
- 0 - Internal 1.2V
- 1 - Internal 1.8V
- 2 - Internal 2.4V
- 4 - VDD
- 7 - ARef
- Note
- This is an NRF_CONFIG macro.
| #define COMP_CONFIG_SPEED_MODE |
Speed mode.
Following options are available:
- 0 - Low power
- 1 - Normal
- 2 - High speed
- Note
- This is an NRF_CONFIG macro.
| #define COMP_ENABLED |
Enable COMP driver.
Set to 1 to activate.
- Note
- This is an NRF_CONFIG macro.