PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
com.c File Reference
#include <kernel/cpu/io.h>
#include <kernel/drivers/com.h>
Include dependency graph for com.c:

Go to the source code of this file.

Functions

void com_init (com_port_t port)
 
uint8_t com_read (com_port_t port)
 
void com_write (com_port_t port, uint8_t value)
 
uint8_t com_reg_read (com_port_t port, com_reg_t reg)
 
void com_reg_write (com_port_t port, com_reg_t reg, uint8_t value)
 

Function Documentation

◆ com_init()

void com_init ( com_port_t  port)

Definition at line 4 of file com.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ com_read()

uint8_t com_read ( com_port_t  port)

Definition at line 14 of file com.c.

Here is the call graph for this function:

◆ com_write()

void com_write ( com_port_t  port,
uint8_t  value 
)

Definition at line 23 of file com.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ com_reg_read()

uint8_t com_reg_read ( com_port_t  port,
com_reg_t  reg 
)

Definition at line 32 of file com.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ com_reg_write()

void com_reg_write ( com_port_t  port,
com_reg_t  reg,
uint8_t  value 
)

Definition at line 37 of file com.c.

Here is the call graph for this function:
Here is the caller graph for this function: