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

Implementation of Mac platform UART Driver. More...

#include "no_os_error.h"
#include "no_os_alloc.h"
#include "mac_uart.h"
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <termios.h>
#include <unistd.h>
#include <sys/ioctl.h>
Include dependency graph for mac_uart.c:

Classes

struct  mac_uart_desc
 Mac platform specific UART descriptor. More...
 

Variables

const struct no_os_uart_platform_ops mac_uart_ops
 mac platform specific UART platform ops structure
 

Detailed Description

Implementation of Mac platform UART Driver.

Author
Radu Sabau (radu..nosp@m.saba.nosp@m.u@ana.nosp@m.log..nosp@m.com)

Copyright 2025(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Variable Documentation

◆ mac_uart_ops

const struct no_os_uart_platform_ops mac_uart_ops
Initial value:
= {
.init = &mac_uart_init,
.read = &mac_uart_read,
.write = &mac_uart_write,
.remove = &mac_uart_remove
}

mac platform specific UART platform ops structure

Mac platform specific UART platform ops structure.