Herzog Library 00.00.01
rel_libdev.herzog.00.00.01.10606
|
Go to the source code of this file.
Data Structures | |
struct | LED_CONFIG_t |
A structure to represent LED configuration. More... | |
struct | LED_SFRS_t |
A structure to represent Special Function Registers for LED. More... | |
Macros | |
#define | E_LED_BITWIDTH 2 |
#define | LED_SFRS ((__IO LED_SFRS_t *) (0x50000062)) |
The starting address of LED SFRS. More... | |
Functions | |
void | f_LED_On (uint8_t pos) |
Turn on LED. More... | |
void | f_LED_Off (uint8_t pos) |
Turn off LED. More... | |
void | f_LED_SetLightLevel (uint8_t pos, uint8_t level) |
Set LED light level. 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.
#define E_LED_BITWIDTH 2 |
#define LED_SFRS ((__IO LED_SFRS_t *) (0x50000062)) |
The starting address of LED SFRS.
void f_LED_Off | ( | uint8_t | pos | ) |
Turn off LED.
pos | The pin position on the LED port. |
void f_LED_On | ( | uint8_t | pos | ) |
Turn on LED.
pos | The pin position on the LED port. |
void f_LED_SetLightLevel | ( | uint8_t | pos, |
uint8_t | level | ||
) |
Set LED light level.
pos | The pin position on the LED port. |
level | The light level. |