|
HP85 GPIB Disk Emulator
1.0
HP85GPIBDiskEmulator
|
character read buffering wrappers for FatFS WHY? Character at a time operation is in FatFS are VERY slow More...
Go to the source code of this file.
Data Structures | |
| struct | buffer_t |
Functions | |
| buffer_t * | buffer_read_open (char *name, uint8_t *buf, int size) |
| FatFS does not have a f_fgetc() function Using f_read() of just 1 byte is VERY VERY SLOW. More... | |
| void | buffer_read_close (buffer_t *p) |
| buffered read close FatFS does not have a f_fgetc() and using f_read() of just 1 byte is VERY SLOW More... | |
| void | buffer_ungetc (buffer_t *p, int c) |
| buffered ungetc More... | |
| int | buffer_getc (buffer_t *p) |
| buffered getc More... | |
| uint8_t * | buffer_gets (uint8_t *str, int size, buffer_t *p) |
| buffered getc More... | |
character read buffering wrappers for FatFS WHY? Character at a time operation is in FatFS are VERY slow
character read buffering wrappers for FatFS Character at a time operation is FatFS are VERY slow
This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file buffer.h.
| int buffer_getc | ( | buffer_t * | p | ) |
buffered getc
| [in] | p | buffer structure ppointer |
Definition at line 98 of file buffer.c.
Referenced by buffer_gets().
| uint8_t* buffer_gets | ( | uint8_t * | str, |
| int | size, | ||
| buffer_t * | p | ||
| ) |
| void buffer_read_close | ( | buffer_t * | p | ) |
buffered read close FatFS does not have a f_fgetc() and using f_read() of just 1 byte is VERY SLOW
| [in] | p | buffer structure ppointer |
Definition at line 72 of file buffer.c.
Referenced by buffer_read_open().
| buffer_t* buffer_read_open | ( | char * | name, |
| uint8_t * | buf, | ||
| int | size | ||
| ) |
| void buffer_ungetc | ( | buffer_t * | p, |
| int | c | ||
| ) |
buffered ungetc
| [in] | p | buffer structure ppointer |
| [in] | c | character to unget |
Definition at line 88 of file buffer.c.
Referenced by buffer_gets().
1.8.17