Browse Source

Add parameter "force" to allow runtime PLL-freq change

dds
Frank 5 years ago
parent
commit
bbd51d9535
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      utility/imxrt_hw.h

+ 2
- 2
utility/imxrt_hw.h View File

* THE SOFTWARE. * THE SOFTWARE.
*/ */
/* /*
(c) Frank b
(c) Frank B
*/ */


#if defined(__IMXRT1052__) || defined(__IMXRT1062__) #if defined(__IMXRT1052__) || defined(__IMXRT1062__)
#include <Arduino.h> #include <Arduino.h>
#include <imxrt.h> #include <imxrt.h>


void set_audioClock(int nfact, int32_t nmult, uint32_t ndiv); // sets PLL4
void set_audioClock(int nfact, int32_t nmult, uint32_t ndiv, bool force = false); // sets PLL4


#endif #endif



Loading…
Cancel
Save