Skip to content

Add Function to Link Watermark and batch counter to interrupt #12

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

Closed
Jimbonio opened this issue Jul 19, 2024 · 2 comments
Closed

Add Function to Link Watermark and batch counter to interrupt #12

Jimbonio opened this issue Jul 19, 2024 · 2 comments

Comments

@Jimbonio
Copy link

Hi,

is it possible to implement a function in the lib to link FIFO threshold interrupt or Batch counter (FIFO COUNTER_BDR_IA) to Interrupt? (Setting bits in INT1_CTRL and INT1_CTRL registers)

Or maybe it is already and I don't find it? :)

Best regards,

Patrick

@edspark
Copy link
Collaborator

edspark commented Jul 19, 2024

Yeah, it does not exist! Give me a business day or two to get that added.

@edspark
Copy link
Collaborator

edspark commented Jul 19, 2024

Added two new functions listed below:

    bool setFIFOThresholdInt1(bool enable);
    bool setBatchCounterInt1(bool enable);

Let me know if that works for you, closing this out.

@edspark edspark closed this as completed Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants