MOS Source Code
Loading...
Searching...
No Matches
serial_driver_t Struct Reference

#include <serial.h>

Public Attributes

u8(* read_data )(serial_device_t *dev)
 
void(* write_data )(serial_device_t *dev, u8 data)
 
u8(* read_register )(serial_device_t *dev, serial_register_t offset)
 
void(* write_register )(serial_device_t *dev, serial_register_t offset, u8 value)
 

Detailed Description

Definition at line 71 of file serial.h.

Member Data Documentation

◆ read_data

u8(* read_data) (serial_device_t *dev)

Definition at line 73 of file serial.h.

Referenced by serial_device_read().

◆ write_data

void(* write_data) (serial_device_t *dev, u8 data)

Definition at line 74 of file serial.h.

Referenced by serial_device_write().

◆ read_register

◆ write_register


The documentation for this struct was generated from the following file: