Releases: MCU-ZHISHAN-IoT/HML_FwLib_8051
V0R3
Basic Info
Date: 2019-02-03
Page: HML_FwLib_8051 - HML - ZHISHAN-IoT
Release-version: V0R3
Require-complier: SDCC v3.6.0 or later version
Change
- rename name of member inside enumeration type
TIM_function
- update
Makefile
to v0.1.1
V0R2
Basic Info
Date: 2018-11-04
Page: HML_FwLib_8051 - HML - ZHISHAN-IoT
Release-version: V0R2
Require-complier: SDCC v3.6.0 or later version
Feature
-
Bus fixing
- fix a bug about code order in uart.c; correct spelling mistakes in uart.c
- correct note and fix a bug of function
TIM_setValue
in tim.c - rewrite mem.h, fix a fatal bug!
- modify data type of member variable of
baudrate
in structUART_configTypeDef
(unsigned int -> uint32_t)
-
Add new data type
byte
-
Code style improvement
- improve header information of example source files
- rename
EXTI_MOD
asEXTI_mode
- rename
UART_MODE
asUART_mode
, and modify name of related enumeration member value - rename
TIM_MODE
asTIM_mode
, and modify name of related enumeration member value - rename function
unsigned int UART_getTimerInitValue(unsigned int baud)
asunsigned int UART_getBaudGeneratorInitValue(uint32_t baud)
in uart.h - rename macro
__PDATA
as__PBYTE
in mem.h
-
The conditional compilation mechanism is introduced into the source code(select expected compilation part in macro.h)
-
Modify function
void GPIO_configPort(PERIPH_GPIO gpio,u8 val)
asvoid GPIO_configPort(PERIPH_GPIO gpio,byte val)
in gpio.h -
Modify function
void GPIO_configPortValue(PERIPH_GPIO gpio,unsigned char val)
asvoid GPIO_configPortValue(PERIPH_GPIO gpio,byte val)
in gpio.h -
Modify function
void TIM_setValue(PERIPH_TIM tim,unsigned int val)
asvoid TIM_setValue(PERIPH_TIM tim,word val)
in tim.h -
Update Makefile
What's working
- GPIO
- extern interrupt
- extern bus (Intel-8080) transceiver
- timer
- UART
Developer
- 💝Director/Developer: Weilun Fong - [email protected]