|
HP85 GPIB Disk Emulator
1.0
HP85GPIBDiskEmulator
|
HPGL printer capture code for HP85 disk emulator project for AVR. More...
#include <user_config.h>Go to the source code of this file.
Functions | |
| void | printer_open (char *name) |
| Open a file to receive plot data using POSIX functions. More... | |
| void | printer_init (void) |
| Initialize plotter structures and state. More... | |
| void | printer_close (void) |
| Close current plot file and reset states. More... | |
| int | receive_plot_flush (void) |
| Write Plotter data and flush. More... | |
| void | printer_buffer (uint16_t val) |
| Buffer Plotter data and flush when buffer is full. More... | |
| int | PRINTER_COMMANDS (uint8_t ch) |
| GPIB Secondary Command Printer commands. More... | |
| void | plot_echo (int gpib_address) |
HPGL printer capture code for HP85 disk emulator project for AVR.
Definition in file printer.h.
| void plot_echo | ( | int | gpib_address | ) |
| void printer_buffer | ( | uint16_t | val | ) |
Buffer Plotter data and flush when buffer is full.
Definition at line 186 of file printer.c.
Referenced by gpib_task().
| void printer_close | ( | ) |
Close current plot file and reset states.
Definition at line 118 of file printer.c.
Referenced by free_device(), GPIB(), gpib_init_devices(), listen_cleanup(), and printer_open().
| int PRINTER_COMMANDS | ( | uint8_t | ch | ) |
GPIB Secondary Command Printer commands.
Definition at line 227 of file printer.c.
Referenced by GPIB_COMMANDS().
| void printer_init | ( | ) |
Initialize plotter structures and state.
Definition at line 98 of file printer.c.
Referenced by main(), and printer_close().
| void printer_open | ( | char * | name | ) |
Open a file to receive plot data using POSIX functions.
Definition at line 43 of file printer.c.
Referenced by GPIB_LISTEN(), and GPIB_TALK().
| int receive_plot_flush | ( | ) |
Write Plotter data and flush.
sync filesystem after every write
Definition at line 151 of file printer.c.
Referenced by printer_buffer(), and printer_close().
1.8.17