no-OS
Functions
interrupt.c File Reference
#include "no_os_print_log.h"
#include "common_data.h"
#include "platform.h"
#include "interrupt.h"
Include dependency graph for interrupt.c:

Functions

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

Function Documentation

◆ get_drdy_flag_state()

int get_drdy_flag_state ( void  )

Get data ready flag value.

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

◆ inter_init()

int inter_init ( struct ade7913_dev dev)

Initialize data ready interrupt.

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.

Returns
none
Here is the caller graph for this function: