Skip to content

Thanks and a fix #11

Description

@porcinus

First, a huge thanks for you library.
I never used a STC8 MCU before and your work greatly helped me :)

I made a "helper" file to compute and reverse compute some values related to prescalers.
If you are interested, you can borrow the file or any parts of it ;)
https://github.com/porcinus/NNS-Ambiclone-Mono/blob/main/code/src/FwLib_STC8_helper.h

During coding, I also notice an error (I think, haven't tried but this generate a error) in https://github.com/IOsetting/FwLib_STC8/blob/master/include/fw_rcc.h
In macro RCC_SetPowerDownWakeupTimerCountdown(16BIT_COUNT):
(16BIT_COUNT << 8) should be (16BIT_COUNT >> 8)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions