no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
interrupt.h File Reference
#include "no_os_irq.h"
Include dependency graph for interrupt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int get_drdy_flag_state (void)
 Get data ready flag value.
 
void reset_drdy_low_flag_state (void)
 Reset data ready low flag value.
 
int inter_init (struct ade7978_dev *dev)
 Initialize interrupt.
 

Function Documentation

◆ get_drdy_flag_state()

int get_drdy_flag_state ( void )

Get data ready flag value.

Get GPIO flag value.

Returns
flag value
Here is the caller graph for this function:

◆ inter_init()

int inter_init ( struct ade7978_dev * dev)

Initialize interrupt.

Initialize interrupt phase

Parameters
dev- device structure
Returns
0 in case of success, error code otherwise

Callback to be called when the event occurs.

Parameter to be passed when the callback is called

Event that triggers the calling of the callback.

Interrupt source peripheral specifier.

Not used in the case of a GPIO IRQ controller

◆ reset_drdy_low_flag_state()

void reset_drdy_low_flag_state ( void )

Reset data ready low flag value.

Reset GPIO flag value.

Here is the caller graph for this function: