ARMEBS4  revision-26.06.2015
bsp_armebs4_eth.h
Go to the documentation of this file.
1 /************************************************************************//**
2  * \file bsp_armebs4_eth.h
3  * \brief BSP for ARMEBS4 Ethernet
4  * \author marc dot pignat at hevs dot ch
5  * \ingroup bsp
6  * @{
7  ***************************************************************************/
8 #ifndef HEIVS_BSP_ARMEBS4_ETH_H
9 #define HEIVS_BSP_ARMEBS4_ETH_H
10 
11 #include <stdint.h>
12 #include "heivs/lightness_to_pwm.h"
13 
14 #ifndef BOARD_ARMEBS4
15 #error this file should not be included by hand
16 #endif
17 
18 #ifdef __cplusplus
19  extern "C" {
20 #endif
21 
22 /**
23  * \brief configure the Ethernet interface
24  */
25 void bsp_eth_config(void);
26 
27 /**
28  * \brief Shutdown the Ethernet interface
29  */
30 void bsp_eth_powerdown(void);
31 
32 /**
33  * \brief Get the status (link, ...) of the Ethernet
34  */
35 uint32_t bsp_eth_status(void);
36 
37 #ifdef __cplusplus
38  }
39 #endif
40 
41 /**
42  * @}
43  */
44 #endif /* HEIVS_BSP_ARMEBS4_ETH_H */
Handle non-linearity in human eye brightness sensitivity.
uint32_t bsp_eth_status(void)
Get the status (link, ...) of the Ethernet.
void bsp_eth_config(void)
configure the Ethernet interface
void bsp_eth_powerdown(void)
Shutdown the Ethernet interface.