Kamcho Library 02.00.03
lib.kamcho.02.00.03.287
|
Go to the source code of this file.
Data Structures | |
struct | LED_SFRS_t |
A structure to represent Special Function Registers for LED. More... | |
Macros | |
#define | LED_SFRS ((__IO LED_SFRS_t *) (0x50000064)) |
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 LED_SFRS ((__IO LED_SFRS_t *) (0x50000064)) |
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. |