I want to mask ble interrupt(only ble interrup other is work)for temporary time and then to enabled ble interrupt ?
how to do it?
thanks for everyone answers!
I want to mask ble interrupt(only ble interrup other is work)for temporary time and then to enabled ble interrupt ?
how to do it?
thanks for everyone answers!
Why do you want to do that?
The SoftDevice has strict timing requirements to maintain the BLE link, and compliance with BLE specs - you can' just go disabling its interrupt willy-nilly!!
Almost certainly, this approach won't work - so please describe What is your goal; what are you trying to achieve?
There is probably a better way ...
Why do you want to do that?
The SoftDevice has strict timing requirements to maintain the BLE link, and compliance with BLE specs - you can' just go disabling its interrupt willy-nilly!!
Almost certainly, this approach won't work - so please describe What is your goal; what are you trying to achieve?
There is probably a better way ...
you can tell how to do it?
You can disable the SoftDevice interrupt sources (such as RADIO, TIMER0 etc.) like you would any other interrupt. However, unless we are talking about very short times, this will not work. The SoftDevice will assert if it losses timing. Please provide more information about what you actually want to achieve as awneil wrote, as that will make it easier to point to another (possibly better) approach.