no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
interface.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef __INTERFACE_H__
34#define __INTERFACE_H__
35
36#include "state_machine.h"
37#include "parameters.h"
38#include "no_os_gpio.h"
39
41int interface_init(struct no_os_gpio_desc **gpio_led_desc);
42
44int interface_led_on(struct no_os_gpio_desc *gpio_led_desc);
45
47int interface_led_off(struct no_os_gpio_desc *gpio_led_desc);
48
50int interface_toggle_led(struct no_os_gpio_desc *gpio_led_desc);
51
53int interface_disp(struct stout *stout);
54
57
58#endif /* __INTERFACE_H__ */
int interface_led_on(struct no_os_gpio_desc *gpio_led_desc)
Turn LED on.
Definition interface.c:75
int interface_led_off(struct no_os_gpio_desc *gpio_led_desc)
Turn LED off.
Definition interface.c:85
int interface_init(struct no_os_gpio_desc **gpio_led_desc)
Interface initialization routines.
Definition interface.c:45
int interface_blink_time(struct stout *stout)
Get interface blink time (multimple of 20ms)
Definition interface.c:195
int interface_toggle_led(struct no_os_gpio_desc *gpio_led_desc)
Toggle LED.
Definition interface.c:95
int interface_disp(struct stout *stout)
Display error code.
Definition interface.c:117
Header file of GPIO Interface.
STOUT state machine header file.
Structure holding the GPIO descriptor.
Definition no_os_gpio.h:84
Structure for Stout machine.
Definition state_machine.h:172