|
Prusa MINI Firmware overview
|
#include <WebSocketSerial.h>
Public Member Functions | |
| RingBuffer (ring_buffer_pos_t size) | |
| ~RingBuffer () | |
| int | available () |
| int | peek () |
| int | read () |
| ring_buffer_pos_t | read (uint8_t *buffer) |
| void | flush () |
| ring_buffer_pos_t | write (const uint8_t c) |
| ring_buffer_pos_t | write (const uint8_t *buffer, ring_buffer_pos_t size) |
| RingBuffer () | |
| uint32_t | available () volatile |
| uint32_t | free () volatile |
| bool | empty () volatile |
| bool | full () volatile |
| void | clear () volatile |
| bool | peek (T *value) volatile |
| int | read () volatile |
| bool | write (T value) volatile |
Marlin 3D Printer Firmware Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
Based on Sprinter and grbl. Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
This program 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 program 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/. Generic RingBuffer T type of the buffer array S size of the buffer (must be power of 2)
| RingBuffer< T, S >::RingBuffer | ( | ring_buffer_pos_t | size | ) |
| RingBuffer< T, S >::~RingBuffer | ( | ) |
| RingBuffer< T, S >::RingBuffer | ( | ) |
| int RingBuffer< T, S >::available | ( | ) |

| int RingBuffer< T, S >::peek | ( | ) |

| int RingBuffer< T, S >::read | ( | ) |

| ring_buffer_pos_t RingBuffer< T, S >::read | ( | uint8_t * | buffer | ) |
| void RingBuffer< T, S >::flush | ( | ) |
| ring_buffer_pos_t RingBuffer< T, S >::write | ( | const uint8_t | c | ) |

| ring_buffer_pos_t RingBuffer< T, S >::write | ( | const uint8_t * | buffer, |
| ring_buffer_pos_t | size | ||
| ) |
| uint32_t RingBuffer< T, S >::available | ( | void | ) | volatile |
| uint32_t RingBuffer< T, S >::free | ( | ) | volatile |
| bool RingBuffer< T, S >::empty | ( | ) | volatile |
| bool RingBuffer< T, S >::full | ( | ) | volatile |
| void RingBuffer< T, S >::clear | ( | ) | volatile |
| bool RingBuffer< T, S >::peek | ( | T * | value | ) | volatile |
| int RingBuffer< T, S >::read | ( | void | ) | volatile |
| bool RingBuffer< T, S >::write | ( | T | value | ) | volatile |