Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of IR_remote by
ReceiverIR Class Reference
IR receiver class. More...
#include <ReceiverIR.h>
Public Types | |
| enum | State |
State. More... | |
Public Member Functions | |
| ReceiverIR (PinName rxpin) | |
| Constructor. | |
| ~ReceiverIR () | |
| Destructor. | |
| State | getState () |
| Get state. | |
| int | getData (RemoteIR::Format *format, uint8_t *buf, int bitlength) |
| Get data. | |
Detailed Description
IR receiver class.
Definition at line 18 of file ReceiverIR.h.
Member Enumeration Documentation
| enum State |
State.
Definition at line 36 of file ReceiverIR.h.
Constructor & Destructor Documentation
| ReceiverIR | ( | PinName | rxpin ) | [explicit] |
Constructor.
- Parameters:
-
rxpin Pin for receive IR signal.
Definition at line 20 of file ReceiverIR.cpp.
| ~ReceiverIR | ( | ) |
Destructor.
Definition at line 31 of file ReceiverIR.cpp.
Member Function Documentation
| int getData | ( | RemoteIR::Format * | format, |
| uint8_t * | buf, | ||
| int | bitlength | ||
| ) |
Get data.
- Parameters:
-
format Pointer to format. buf Buffer of a data. bitlength Bit length of the buffer.
- Returns:
- Data bit length.
Definition at line 55 of file ReceiverIR.cpp.
| ReceiverIR::State getState | ( | ) |
Generated on Thu Jul 21 2022 09:28:40 by
1.7.2
