File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212- changed: apply trimming values from FICR.TRIMCNF on nrf53/54l
1313- changed: do not panic on BufferedUarte overrun
1414- added: allow direct access to the input pin of ` gpiote::InputChannel `
15+ - bugfix: use DETECTMODE_SEC in GPIOTE in secure mode
1516
1617## 0.8.0 - 2025-09-30
1718
Original file line number Diff line number Diff line change @@ -77,6 +77,9 @@ pub(crate) fn init(irq_prio: crate::interrupt::Priority) {
7777
7878 for & p in ports {
7979 // Enable latched detection
80+ #[ cfg( feature = "_s" ) ]
81+ p. detectmode_sec ( ) . write ( |w| w. set_detectmode ( Detectmode :: LDETECT ) ) ;
82+ #[ cfg( not( feature = "_s" ) ) ]
8083 p. detectmode ( ) . write ( |w| w. set_detectmode ( Detectmode :: LDETECT ) ) ;
8184 // Clear latch
8285 p. latch ( ) . write ( |w| w. 0 = 0xFFFFFFFF )
You can’t perform that action at this time.
0 commit comments