ARMEBS4  revision-26.06.2015
bsp_armebs4.h File Reference

BSP for ARMEBS4. More...

#include <stdint.h>
#include "heivs/lightness_to_pwm.h"
#include "heivs/bsp_armebs4_eth.h"
Include dependency graph for bsp_armebs4.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define BSP_LED_NR
 Number of LEDs.
 
#define BSP_PWM_LED_STEPS
 Lightness correction.
 
#define BSP_BUTTON_NR
 Number of buttons.
 
#define BSP_I2C_BUS_COUNT
 Number of i2c buses.
 
#define BSP_I2C_BUS_LOCAL
 Bus name.
 
#define BSP_I2C_BUS0_CTRL
 On this controller.
 
#define BSP_I2C_BUS0_GPIO_SCL
 SCL on this pin.
 
#define BSP_I2C_BUS0_GPIO_SDA
 SDA on this pin.
 
#define BSP_I2C_BUS_EXTERN
 Bus name.
 
#define BSP_I2C_BUS1_CTRL
 On this controller.
 
#define BSP_I2C_BUS1_GPIO_SCL
 SCL on this pin.
 
#define BSP_I2C_BUS1_GPIO_SDA
 SDA on this pin.
 
#define BSP_SPI_BUS_COUNT
 Number of SPI buses.
 
#define BSP_SPI_BUS_EXTERN
 Bus name.
 
#define BSP_SPI_BUS0_CTRL
 On this controller.
 
#define BSP_SPI_BUS0_GPIO_MISO
 MISO on this pin.
 
#define BSP_SPI_BUS0_GPIO_MOSI
 MOSI on this pin.
 
#define BSP_SPI_BUS0_GPIO_SCK
 SCK on this pin.
 
#define BSP_SPI_BUS0_GPIO_CS
 CS on this pin.
 
#define BSP_USART_BUS_COUNT
 Usart buses count.
 
#define BSP_USART_BUS_DEBUG
 bus name
 
#define BSP_USART_BUS_EXTERN
 bus name
 
void bsp_lcd_backlight_set (uint32_t value)
 Set the brightness of the backlight. More...
 

Detailed Description

BSP for ARMEBS4.

Author
marc dot pignat at hevs dot ch

Definition in file bsp_armebs4.h.

Function Documentation

void bsp_lcd_backlight_set ( uint32_t  value)

Set the brightness of the backlight.

Parameters
valuethe value from 0 to BSP_PWM_LED_STEPS, 0 is off
See also
BSP_PWM_LED_STEPS

Definition at line 314 of file bsp_armebs4.c.