Skip to content

Releases: MCU-ZHISHAN-IoT/HML_FwLib_8051

V0R3

03 Feb 15:49
Compare
Choose a tag to compare

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

03 Feb 11:39
Compare
Choose a tag to compare

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 struct UART_configTypeDef (unsigned int -> uint32_t)
  • Add new data type byte

  • Code style improvement

    • improve header information of example source files
    • rename EXTI_MOD as EXTI_mode
    • rename UART_MODE as UART_mode, and modify name of related enumeration member value
    • rename TIM_MODE as TIM_mode, and modify name of related enumeration member value
    • rename function unsigned int UART_getTimerInitValue(unsigned int baud) as unsigned 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) as void GPIO_configPort(PERIPH_GPIO gpio,byte val) in gpio.h

  • Modify function void GPIO_configPortValue(PERIPH_GPIO gpio,unsigned char val) as void GPIO_configPortValue(PERIPH_GPIO gpio,byte val) in gpio.h

  • Modify function void TIM_setValue(PERIPH_TIM tim,unsigned int val) as void TIM_setValue(PERIPH_TIM tim,word val) in tim.h

  • Update Makefile

What's working

  1. GPIO
  2. extern interrupt
  3. extern bus (Intel-8080) transceiver
  4. timer
  5. UART

Developer