no-OS
Loading...
Searching...
No Matches
iio_dac_demo_trig.c File Reference

Implementation of iio_dac_demo_trig.c. More...

#include <stdlib.h>
#include <string.h>
#include "no_os_error.h"
#include "iio.h"
#include "iio_trigger.h"
#include "iio_dac_demo.h"
Include dependency graph for iio_dac_demo_trig.c:

Variables

struct iio_trigger dac_iio_sw_trig_desc
 
struct iio_trigger dac_iio_timer_trig_desc
 

Detailed Description

Implementation of iio_dac_demo_trig.c.

Author
RBolboac (ramon.nosp@m.a.bo.nosp@m.lboac.nosp@m.a@an.nosp@m.alog..nosp@m.com)

Copyright 2022(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Variable Documentation

◆ dac_iio_sw_trig_desc

struct iio_trigger dac_iio_sw_trig_desc
Initial value:
= {
.is_synchronous = true,
.attributes = trig_attr,
}

◆ dac_iio_timer_trig_desc

struct iio_trigger dac_iio_timer_trig_desc
Initial value:
= {
.is_synchronous = true,
.enable = iio_trig_enable,
.disable = iio_trig_disable,
}
int iio_trig_enable(void *trig)
Enable system interrupt which is linked to the given trigger.
Definition iio_trigger.c:79
int iio_trig_disable(void *trig)
Disable system interrupt which is linked to the given trigger.
Definition iio_trigger.c:96