Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement IRQ mask #29

Open
bjarne-hansen opened this issue Apr 8, 2021 · 0 comments
Open

Implement IRQ mask #29

bjarne-hansen opened this issue Apr 8, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@bjarne-hansen
Copy link
Owner

bjarne-hansen commented Apr 8, 2021

Implement methods to set/get the IRQ mask of the NRF24L01+ module.

set_irq_mask(mask)
get_irq_mask()

enable_rx_irq()
disable_rx_irq()

enable_tx_irq()
disable_tx_irq()

enable_rt_irq()
disable_rt_irq()

CONFIG
MASK_RX_DR     1 << 6 
MASK_TX_DS     1 << 5 
MASK_MAX_RT    1 << 4 
EN_CRC         1 << 3
CRCO           1 << 2
PWR_UP         1 << 1
PRIM_RX        1 << 0
@bjarne-hansen bjarne-hansen added the enhancement New feature or request label Apr 8, 2021
@bjarne-hansen bjarne-hansen self-assigned this Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant