We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 694b1d2 commit d1157c1Copy full SHA for d1157c1
1 file changed
libraries/Wire/Wire.h
@@ -80,6 +80,8 @@ class TwoWire : public Stream
80
void resetRxBuffer(void);
81
uint8_t* getRxBuffer(void);
82
size_t getRxLength(void) const;
83
+ inline SERCOM *getSercom(void) { return sercom; }
84
+ inline const SERCOM *getSercom(void) const { return sercom; }
85
86
inline size_t write(unsigned long n) { return write((uint8_t)n); }
87
inline size_t write(long n) { return write((uint8_t)n); }
0 commit comments