no-OS
Loading...
Searching...
No Matches
maxim_irq.h File Reference

Header file for maxim irq specifics. More...

#include "max32665.h"
#include "no_os_irq.h"
#include "no_os_list.h"
#include "uart.h"
Include dependency graph for maxim_irq.h:

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.
 
int32_t irq_action_cmp (void *data1, void *data2)
 irq_action compare function
 

Variables

const struct no_os_irq_platform_ops max_irq_ops
 maxim platform specific irq platform ops structure
 

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.

SPDX-License-Identifier: BSD-3-Clause

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
extern

maxim platform specific irq platform ops structure

maxim platform specific irq platform ops structure