mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
arch/nrf53/Kconfig: move GPIO configuration menu to match nrf52
This commit is contained in:
committed by
Petro Karashchenko
parent
5f814b1da8
commit
66c2d2ecc4
+21
-21
@@ -447,6 +447,27 @@ config NRF53_PROGMEM
|
|||||||
---help---
|
---help---
|
||||||
Enable support FLASH interfaces as defined in include/nuttx/progmem.h
|
Enable support FLASH interfaces as defined in include/nuttx/progmem.h
|
||||||
|
|
||||||
|
menu "GPIO Interrupt Configuration"
|
||||||
|
|
||||||
|
config NRF53_PER_PIN_INTERRUPTS
|
||||||
|
bool "Per-pin interrupt callbacks"
|
||||||
|
default !DEFAULT_SMALL
|
||||||
|
depends on NRF53_GPIOTE
|
||||||
|
---help---
|
||||||
|
The GPIOTE peripheral supports a limited number of channels which can
|
||||||
|
be set to EVENT mode and thus generate interrupts on pin state changes.
|
||||||
|
Another mechanism offered by the GPIO/GPIOTE peripherals is the PORT
|
||||||
|
event. This event is generated from a signal shared by all pins in
|
||||||
|
the GPIO port.
|
||||||
|
|
||||||
|
This option enables the ability to set per-pin callbacks that will
|
||||||
|
be invoked from the main GPIOTE ISR when a PORT event is generated.
|
||||||
|
As this involves extra storage to store each callback, this option can
|
||||||
|
be disabled to save space. In such case, it is possible to set a callback
|
||||||
|
for the whole PORT event directly.
|
||||||
|
|
||||||
|
endmenu # GPIO Interrupt Configuration
|
||||||
|
|
||||||
menu "PWM configuration"
|
menu "PWM configuration"
|
||||||
|
|
||||||
if NRF53_PWM
|
if NRF53_PWM
|
||||||
@@ -627,27 +648,6 @@ endif # NRF53_SAADC
|
|||||||
|
|
||||||
endmenu # SAADC Configuration
|
endmenu # SAADC Configuration
|
||||||
|
|
||||||
menu "GPIO Interrupt Configuration"
|
|
||||||
|
|
||||||
config NRF53_PER_PIN_INTERRUPTS
|
|
||||||
bool "Per-pin interrupt callbacks"
|
|
||||||
default !DEFAULT_SMALL
|
|
||||||
depends on NRF53_GPIOTE
|
|
||||||
---help---
|
|
||||||
The GPIOTE peripheral supports a limited number of channels which can
|
|
||||||
be set to EVENT mode and thus generate interrupts on pin state changes.
|
|
||||||
Another mechanism offered by the GPIO/GPIOTE peripherals is the PORT
|
|
||||||
event. This event is generated from a signal shared by all pins in
|
|
||||||
the GPIO port.
|
|
||||||
|
|
||||||
This option enables the ability to set per-pin callbacks that will
|
|
||||||
be invoked from the main GPIOTE ISR when a PORT event is generated.
|
|
||||||
As this involves extra storage to store each callback, this option can
|
|
||||||
be disabled to save space. In such case, it is possible to set a callback
|
|
||||||
for the whole PORT event directly.
|
|
||||||
|
|
||||||
endmenu # GPIO Interrupt Configuration
|
|
||||||
|
|
||||||
menu "SPI Configuration"
|
menu "SPI Configuration"
|
||||||
|
|
||||||
if NRF53_SPI_MASTER
|
if NRF53_SPI_MASTER
|
||||||
|
|||||||
Reference in New Issue
Block a user