Improved HFCLK management for nRF5x#2070
Conversation
hathach
left a comment
There was a problem hiding this comment.
- Adding new .c and .h are not accepted, please put them all under current dcd file. dcd_* callback name also need changes as well (but that can wait for later).
- For this minor changes, please remove your name from the copy right list as well as CONTRIBUTORs.rst. Instead put an comment note at the end of the license term with for your name and the changes.
|
Hi @hathach, Do you have any suggestions for callback function names? Does the dcd_ or another prefix should be used? I have removed my name from the copyright list and the CONTRIBUTORS.rst file. Sorry for the misunderstanding, this is my first pull request on github. |
* Slight tweak to the config-extraction scripts. A small logic bug meant they were reporting more false-positive warnings than they should have been. * Small code tidy-up
Improved HFCLK management for nRF5x with weak functions, the user can override and implement it's own HFCLK management, when other peripherials, such as Radio needs it.
Usage
User can override those functions:
void dcd_enable_hfclk(void);- called, when dcd requests HFCLK activationvoid dcd_disable_hfclk(void);- called, when dcd requests HFCLK deactivationIf the functions are not overridden, HFCLK will be activated and deactivated by TinyUSB.