no-OS
Classes | Functions | Variables
maxim_irq.h File Reference

Header file for maxim irq specifics. More...

#include "max32655.h"
#include "no_os_irq.h"
#include "no_os_list.h"
#include "uart.h"
Include dependency graph for maxim_irq.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  irq_action
 Struct used to store a (peripheral, callback) pair. More...
 
struct  event_list
 Struct that stores all the actions for a specific event. More...
 

Functions

void max_uart_callback (mxc_uart_req_t *, int)
 Platform specific uart callback function. More...
 
int32_t irq_action_cmp (void *data1, void *data2)
 irq_action compare function More...
 

Variables

const struct no_os_irq_platform_ops max_irq_ops
 maxim platform specific irq platform ops structure More...
 

Detailed Description

Header file for maxim irq specifics.

Author
Ciprian Regus (cipri.nosp@m.an.r.nosp@m.egus@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2022(c) Analog Devices, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Function Documentation

◆ irq_action_cmp()

int32_t irq_action_cmp ( void *  data1,
void *  data2 
)

irq_action compare function

irq_action compare function

Parameters
data1- List element
data2- Key
Returns
0 if the two are equal, any other integer otherwise

irq_action compare function

Parameters
data1- List element.
data2- Key.
Returns
0 if the two are equal, any other integer otherwise.

◆ max_uart_callback()

void max_uart_callback ( mxc_uart_req_t *  req,
int  result 
)

Platform specific uart callback function.

Platform specific uart callback function.

Parameters
req- UART request struct
result- status of the request (error code)

Variable Documentation

◆ max_irq_ops

const struct no_os_irq_platform_ops max_irq_ops

maxim platform specific irq platform ops structure

maxim platform specific irq platform ops structure