xref: /btstack/platform/embedded/hal_led.h (revision 2fca4dad957cd7b88f4657ed51e89c12615dda72)
1a705b1a2SMatthias Ringwald /*
2a705b1a2SMatthias Ringwald  * Copyright (C) 2014 BlueKitchen GmbH
3a705b1a2SMatthias Ringwald  *
4a705b1a2SMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
5a705b1a2SMatthias Ringwald  * modification, are permitted provided that the following conditions
6a705b1a2SMatthias Ringwald  * are met:
7a705b1a2SMatthias Ringwald  *
8a705b1a2SMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
9a705b1a2SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
10a705b1a2SMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
11a705b1a2SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
12a705b1a2SMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
13a705b1a2SMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
14a705b1a2SMatthias Ringwald  *    contributors may be used to endorse or promote products derived
15a705b1a2SMatthias Ringwald  *    from this software without specific prior written permission.
16a705b1a2SMatthias Ringwald  *
17*2fca4dadSMilanka Ringwald  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
18a705b1a2SMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19a705b1a2SMatthias Ringwald  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
20*2fca4dadSMilanka Ringwald  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BLUEKITCHEN
21*2fca4dadSMilanka Ringwald  * GMBH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22a705b1a2SMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23a705b1a2SMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
24a705b1a2SMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
25a705b1a2SMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26a705b1a2SMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
27a705b1a2SMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28a705b1a2SMatthias Ringwald  * SUCH DAMAGE.
29a705b1a2SMatthias Ringwald  *
30a705b1a2SMatthias Ringwald  */
31a705b1a2SMatthias Ringwald 
32a705b1a2SMatthias Ringwald /*
33a705b1a2SMatthias Ringwald  *  hal_led.h
34a705b1a2SMatthias Ringwald  *
35a705b1a2SMatthias Ringwald  *  Support for hello world embedded tests
36a705b1a2SMatthias Ringwald  */
37a705b1a2SMatthias Ringwald 
3880e33422SMatthias Ringwald #ifndef HAL_LED_H
3980e33422SMatthias Ringwald #define HAL_LED_H
40a705b1a2SMatthias Ringwald 
41a705b1a2SMatthias Ringwald #if defined __cplusplus
42a705b1a2SMatthias Ringwald extern "C" {
43a705b1a2SMatthias Ringwald #endif
44a705b1a2SMatthias Ringwald 
45a705b1a2SMatthias Ringwald void hal_led_toggle(void);
46a705b1a2SMatthias Ringwald 
47a705b1a2SMatthias Ringwald #if defined __cplusplus
48a705b1a2SMatthias Ringwald }
49a705b1a2SMatthias Ringwald #endif
5080e33422SMatthias Ringwald  #endif // HAL_LED_H
51