Skip to content
Snippets Groups Projects
Commit d59e06cd authored by Neil Gershenfeld's avatar Neil Gershenfeld
Browse files

wip

parent c94e0030
No related branches found
No related tags found
No related merge requests found
Pipeline #9344 passed
//
// ring.ESP32.ino
//
// ESP32 ring oscillator test
//
// Neil Gershenfeld 12/6/20
//
// This work may be reproduced, modified, distributed,
// performed, and displayed for any purpose, but must
// acknowledge this project. Copyright is retained and
// must be preserved. The work is provided as is; no
// warranty is provided, and users accept all liability.
//
uint32_t input,output;
void setup() {
setCpuFrequencyMhz(240);
output = 1 << 16;
input = 1 << 17;
GPIO.enable_w1ts = output;
}
void loop() {
while (1) {
//
// GPIO: 3.81 MHz
//
if (GPIO.in & input)
GPIO.out_w1tc = output;
else
GPIO.out_w1ts = output;
}
}
...@@ -53,6 +53,13 @@ The GPIO test measures how quickly pins can communicate with a processor core; t ...@@ -53,6 +53,13 @@ The GPIO test measures how quickly pins can communicate with a processor core; t
<td>October, 2015</td> <td>October, 2015</td>
</tr> </tr>
<tr>
<td>3.810</td>
<td>ESP32-WROOM</td>
<td><a href=GPIO/ESP32/ring.ESP32.ino>GPIO</a></td>
<td>December, 2020</td>
</tr>
<tr> <tr>
<td>2.528</td> <td>2.528</td>
<td>ATSAMD11C</td> <td>ATSAMD11C</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment