Hi,
I am a big fan of ble and nimble is a lovely project for guys like me. When I
was playing nimble, I had some problems and hoped that someone could help me
with the answer.
file path: apache-mynewt-nimble-1.2.0\nimble\drivers\nrf52\src\ble_phy.c
static void
ble_phy_isr(void)
{
/* Read irq register to determine which interrupts are enabled */
irq_en = NRF_RADIO->INTENCLR;
...
/* Ensures IRQ is cleared */
irq_en = NRF_RADIO->SHORTS;
...
}
why clear irq_en with NRF_RADIO->SHORTS , i check the registers in
nrf52832_PS_v1.4, INTENCLR and SHORTS is so different, is it a trick here?