Skip to content

Releases: mgoblin/STC15lib

0.14.0

21 Feb 15:26

Choose a tag to compare

  • Add ADC (analog to digital convertion) support.
  • Electrical schema for adc examples added
  • Build examples using cmake
  • Generate docs during cmake build

0.13.1

20 Dec 08:18

Choose a tag to compare

0.13.1

  • Add eeprom_data.hex with eeprom data used for examples
  • Fix issue #3 Mactro to check if timer0 is running has to be fixed

0.13.0

22 Nov 10:59

Choose a tag to compare

  • Build library with cmake (but not examples)
  • Fix delay_ms. On small ms delays it works correctly, but on seconds delay it doubled.
  • Rename pin.h to gpio.h
  • Power management low voltage flag routines implemented
  • Read byte from EEPROM via IAP registers implemented
  • Erase EEPROM page routine implemented
  • Write byte to EEPROM routine implemented

0.12.0

12 Oct 11:45

Choose a tag to compare

  • Fix UART1 mode 0 docs and examples. UART1 interrupt is supported
  • Fix UART1 mode 0 docs. Baud rate is biased by frequency divider.
  • Fix README content in subfolders
  • UART1 mode2 routines implemented
  • UART1 mode3 timer2 (1T and 12T) routines implemented
  • UART1 support 2 stop bits on tx/rx in mode 2, 3 (8-N-2)

0.11.0

03 Oct 18:19

Choose a tag to compare

0.11.0

  • Counter0 mode0 routines implemented
  • Counter2 mode0 routines implemented
  • Counter0 mode1 routines implemented
  • Counter0 mode2 routines implemented
  • Counter0 mode3 routines implemented
  • UART1 mode0 send routines implemented
  • UART1 mode1 with Timer2 (12T and 1T) as baud rate generator send routines implemented
  • Timer2 as baudrate generator routines removed from timer2_mode0.h
  • uart1 module use uart1_mode1_timer2_1T routines

0.10.0

31 Aug 08:32

Choose a tag to compare

  • Fix compilation on Windows OS. Rename folder from aux to auxiliary
  • Fix doxygen warnings
  • Build examples hex
    • bits_example
    • chip_id_example
    • delay
    • frequency
    • interrupt
    • memory dumper
    • pin mode
    • pin value
    • power management
    • reset
    • timer
      • aux timer0
      • aux timer2
      • common
      • mode0
        • timer0
          • async
          • sync
      • mode1
        • async
        • sync
      • mode2
        • async
        • sync
      • mode3
        • async
        • sync
    • uart
    • wdt
  • Wrap multiline macro with do .. while(0)
    • chip_id.h
    • delay.h
    • frequency.h
    • pin.h
    • power_management.h
    • timer0_mode0.h
    • timer0_mode1.h
    • timer0_mode2.h
    • timer0_mode3.h
    • timer2_mode0.h
    • uart.h
    • wdt.h
  • Fix timer0 mode2 timer0_mode2_delay(ticks). timer0_mode2_delay(ticks) disable timer0 interrupts.
  • Fix examples/timer/auxiliary/timer0/timer0_12T_freq_uint16_example.c. Its was print garbage.
  • Update lib version in README.md

0.9.0

25 Dec 03:22

Choose a tag to compare

  • Pin module set port mode routines implemented
  • Fix examples/mode0/timer2 compilation
  • Fix timer0_mode2_reload - TH0 value should be set, now used TL0
  • Fix INT0 should be defined in timer0 modes
  • timerX_modeX_direct_{reload, start}(TxH, TxL) for direct set TLx, THx registers implemented
  • Does not recompile examples every time. Compile only when it changed
  • Compiler output suppressed for examples building in non verbose mode

0.8.0

19 Dec 18:08

Choose a tag to compare

  • Add memory dump example
  • WakeUp timer implemented
  • Times to ticks part of aux module implemented
  • Docs are included to platformio package
  • Examples compilation is a step of build
  • Enhanced description of project for indexing in google/yandex and so on search engines
  • Pin module implemented

0.7.0

01 Dec 15:07

Choose a tag to compare

  • Fix: remove variables from delay module
  • Reset routine implemented
  • Watchdog timer routines implemented
  • delay_ms now is define again
  • Idle power managment routine implemented
  • Power down mode implemented with initial wakeup timer support
  • Use bitmask as a constant in bits.h to avoid unnessary bit operations in bit_set and bit_clr
  • Use bitmask as a constant in bits.h to avoid unnessary bit operations in test_if_bit_set and test_if_bit_cleared

0.6.0

23 Nov 17:55

Choose a tag to compare

  • timer0 mode 0,1,2,3 module full implementation
  • timer2 mode0 module full implementation
  • Aux module convert ticks to frequency implemented
  • Aux module unsafe convert frequency to ticks
  • timer_all.h to timer_common.h renamed
  • delay_ms partially rewrited to asm to decrease size
  • UART to UART1 renamed
  • Fix: UART bias timer0 1T by setting AUXR.7 value to 1.
  • timer2 baud rate ticks calculation implemented
  • UART1 use timer2_mode0 and timer2 aux modules routines now
  • Implement ticks to times part of aux module for timer0, timer2