Herzog Library 00.00.01
rel_libdev.herzog.00.00.01.10606
|
Go to the source code of this file.
Data Structures | |
struct | LED_Device_t |
A structure to represent LED device. More... | |
Typedefs | |
typedef const struct LED_Device_t | LED_Device_t |
A structure to represent LED device. More... | |
Functions | |
int32_t | LED_devInit (LED_Device_t *dev, uint8_t pos) |
Init LED mode for a pin. More... | |
int32_t | LED_devDeInit (LED_Device_t *dev, uint8_t pos) |
DeInit LED mode for a pin. More... | |
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... | |
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.
typedef const struct LED_Device_t LED_Device_t |
A structure to represent LED device.
int32_t LED_devDeInit | ( | LED_Device_t * | dev, |
uint8_t | pos | ||
) |
DeInit LED mode for a pin.
dev | The pointer to LED_Device |
pos | The pin position on LED port |
int32_t LED_devInit | ( | LED_Device_t * | dev, |
uint8_t | pos | ||
) |
Init LED mode for a pin.
dev | The pointer to LED_Device |
pos | The pin position on LED port |
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 |