Projekte
workwind
NIBObee BKit3 Demo
rc5.h
Projekte
Forum
Doku
Öffentliche Projekte
Startseite
Beispielprogramme
Projekte von anderen
Welcome
Username
Passwort
Eingeloggt bleiben
Zugangsdaten vergessen?
Registrieren
Projektverwaltung
⇨ Please choose! ⇦
——————————————————
✎ Create new project...
★ Browse existing projects...
——————————————————
⚬ MotorTest#1
⚬ C Tutorial 8#1
⚬ NIBO2 C Project#1
⚙ C Tutorial 15#1
⚬ 2010_11_18_el_test001#1
NIBObee BKit3 Demo
main.c
rc5.c
rc5.h
Project details
Compiler settings
Nachrichten
Sie sind nicht eingeloggt.
Neuigkeiten
★
NiboRoboLib 3.6
2017-01-17: Neue Version 3.6
★
NiboRoboLib 3.4.1
2016-04-16: Neue Version 3.4.1
★
Coding Tutorial
2015-11-22: Jetzt auch für den NIBO burger!
Site-Statistic
7433 private projects
378 public projects
16180353 lines compiled
58212 builds
NIBO
@
nibobee_bkit3_demo/rc5.h [read only]
/* BSD-License: Copyright (c) 2011 by Nils Springob, nicai-systems, Germany All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name nicai-systems nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /*! @file rc5.h * @brief Routinen fuer die Dekodierung von RC5-Fernbedienungs-Codes * @author Nils Springob (nils.springob@nicai-systems.de) * @date 2011-06-05 */ #ifndef _NIBOBEE_RC5_H_ #define _NIBOBEE_RC5_H_ #include <nibobee/iodefs.h> extern uint8_t ir_state; /*! * RC5-Code senden * @param code zu übertragener RC5 Code. */ void rc5_tx_start(uint16_t code); /*! * Aktuelle Übertragung abbrechen */ void rc5_tx_abort(); /*! * Empfang von RC5 Codes ermöglichen */ void rc5_rx_enable(); /*! * Empfang von RC5 Codes beenden */ void rc5_rx_disable(); /*! * RC5-Daten lesen * @return Empfangener RC5 Code, oder 0 falls seit dem letzten Aufruf kein neuer Code übertragen wurde. */ uint16_t rc5_rx_read(); #endif
Compiler results:
Werbung
Online
Victorepo
Victorlnh
warrenhinder6456