Herzog Library 00.00.01
rel_libdev.herzog.00.00.01.10606
|
Functions | |
int32_t | LED_devOn (LED_Device_t *dev, uint8_t pos) |
Turn On a LED. More... | |
int32_t | LED_devOff (LED_Device_t *dev, uint8_t pos) |
Turn off LED. More... | |
int32_t | LED_devSetLightLevel (LED_Device_t *dev, uint8_t pos, uint8_t level) |
Set LED light level. More... | |
LED_Device_t * | LED_devRequest (const char *name) |
Request a LED Device. More... | |
Variables | |
static const LED_Device_t * | LED_DeviceTable [] |
The table of LED device instances supported by the platform. More... | |
This file is proprietary to Indie Semiconductor. All rights reserved. Reproduction or distribution, in whole or in part, is forbidden except by express written permission of Indie Semiconductor.
int32_t LED_devOff | ( | LED_Device_t * | dev, |
uint8_t | pos | ||
) |
Turn off LED.
dev | The pointer to LED_Device |
pos | The pin position on LED port |
int32_t LED_devOn | ( | LED_Device_t * | dev, |
uint8_t | pos | ||
) |
Turn On a LED.
dev | The pointer to LED_Device |
pos | The pin position on LED port |
LED_Device_t* LED_devRequest | ( | const char * | name | ) |
Request a LED Device.
name | The name string of LED device. |
int32_t LED_devSetLightLevel | ( | LED_Device_t * | dev, |
uint8_t | pos, | ||
uint8_t | level | ||
) |
Set LED light level.
dev | The pointer to LED_Device |
pos | The pin position on LED port |
level | The light level |
|
static |
The table of LED device instances supported by the platform.