Select Git revision
-
Paul Fertser authored
Change-Id: I93203717f9096880298c10efebf05d59f888f34b Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/3954 Tested-by: jenkins
Paul Fertser authoredChange-Id: I93203717f9096880298c10efebf05d59f888f34b Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/3954 Tested-by: jenkins
To find the state of this project's repository at the time of any of these versions, check out the tags.
XL_as_gpio.ino 343 B
//sec 2017
void setup() {
//Need to switch to internal LFCLK to disconnect from XL1 and XL2
NRF_CLOCK->LFCLKSRC = 0; //disconnect XL1 AND XL2 FROM LFCLK
NRF_CLOCK->EVENTS_LFCLKSTARTED = 0;
NRF_CLOCK->TASKS_LFCLKSTART = 1;
while (NRF_CLOCK->EVENTS_LFCLKSTARTED == 0){}
//now can use XL1 and XL2 as usual gpio
}
void loop() {}