GE-115 Emulator
An Emulator of the General Electrics GE-115 computer
Functions
channel.c File Reference
#include "channel.h"

Go to the source code of this file.

Functions

void channel_offer_input (struct ge *ge, struct ge_channel *ch, uint8_t data, uint8_t end)
 
void channel_clear_input (struct ge *ge, struct ge_channel *ch)
 
void channel_accept_output (struct ge *ge, struct ge_channel *ch, uint8_t c)
 
uint8_t channel_get_req (struct ge_channel *ch)
 
uint8_t channel_get_data (struct ge_channel *ch)
 
uint8_t channel_get_fini (struct ge_channel *ch)
 

Function Documentation

◆ channel_accept_output()

void channel_accept_output ( struct ge ge,
struct ge_channel ch,
uint8_t  c 
)

Definition at line 31 of file channel.c.

◆ channel_clear_input()

void channel_clear_input ( struct ge ge,
struct ge_channel ch 
)

Definition at line 22 of file channel.c.

◆ channel_get_data()

uint8_t channel_get_data ( struct ge_channel ch)

Definition at line 38 of file channel.c.

◆ channel_get_fini()

uint8_t channel_get_fini ( struct ge_channel ch)

Definition at line 39 of file channel.c.

◆ channel_get_req()

uint8_t channel_get_req ( struct ge_channel ch)

Definition at line 37 of file channel.c.

◆ channel_offer_input()

void channel_offer_input ( struct ge ge,
struct ge_channel ch,
uint8_t  data,
uint8_t  end 
)

Definition at line 12 of file channel.c.