![]() |
Mood_lamp
|
This file consists hardware-depended calls interface. More...
#include <stm8s.h>
Go to the source code of this file.
Functions | |
void | gpio_init () |
GPIO initialization. More... | |
void | clk_init () |
MCU clock initialization. More... | |
void | pwm_init () |
PWM timer initialization. More... | |
void | set_rgbw_output_value (uint8_t channel, uint16_t value) |
PWM level changing. More... | |
void | eeprom_init () |
EEPROM memory initialization. More... | |
uint16_t | get_saved_xorshift_value () |
Extracts random number generator initialization value from EEPROM memory. More... | |
void | save_xorshift_value (uint16_t value) |
Saves random number generator initialization value into EEPROM memory. More... | |
void | eeprom_deinit () |
EEPROM memory deinitialization. More... | |
This file consists hardware-depended calls interface.
This file is part of Mood_lamp. Mood_lamp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Mood_lamp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Mood_lamp. If not, see <http://www.gnu.org/licenses/>.