no-OS
Functions
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_gpio_flag_state (void)
 Get GPIO flag value. More...
 
void reset_gpio_low_flag_state (void)
 Reset GPIO low flag value. More...
 
int inter_init (struct ade7913_dev *dev)
 Initialize data ready interrupt. More...
 

Function Documentation

◆ get_gpio_flag_state()

int get_gpio_flag_state ( void  )

Get GPIO flag value.

Get GPIO 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.

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_gpio_low_flag_state()

void reset_gpio_low_flag_state ( void  )

Reset GPIO low flag value.

Reset GPIO flag value.

Returns
none