Expose method

This commit is contained in:
Crsarmv7l 2024-04-29 20:02:53 -04:00 committed by GitHub
parent f15ad42217
commit d6b3288c95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -447,6 +447,15 @@ class PhysicalLayer {
\returns Byte from direct mode buffer. \returns Byte from direct mode buffer.
*/ */
uint8_t read(bool drop = true); uint8_t read(bool drop = true);
/*!
\brief Get the direct mode buffer.
\param drop Drop synchronization on read - next reading will require waiting for the sync word again.
Defaults to true.
\returns direct mode buffer.
*/
uint8_t getDirectBuffer(bool drop = true);
#endif #endif
/*! /*!