Commit 547458d2 authored by Will Langford's avatar Will Langford

adding max32660

parent ec9e7a1b
Pipeline #3263 passed with stage
in 2 seconds
<html>
<head>
<style>
pre code {
background-color: #eee;
border: 1px solid #999;
display: block;
padding: 20px;
}
</style>
</head>
<body>
<h1>MAX32660</h1>
<figure>
<img src='slow_ring.jpg' height=50%>
<figcaption>380kHz ring oscillator with the default drivers</figcaption>
</figure>
<pre>
<code>
while (1) {
if (GPIO_InGet(&gpio_in)) {
GPIO_OutClr(&gpio_out);
} else {
GPIO_OutSet(&gpio_out);
}
}
</code>
</pre>
<figure>
<img src='fast_ring.jpg' height=50%>
<figcaption>3.21MHz ring oscillator with port manipulation</figcaption>
</figure>
<pre>
<code>
/***** Includes *****/
#include <stdio.h>
#include <stdint.h>
#include "gpio.h"
#include "max32660.h"
/***** Definitions *****/
#define GPIO_PORT_IN PORT_0
#define GPIO_PIN_IN PIN_12
#define GPIO_PORT_OUT PORT_0
#define GPIO_PIN_OUT PIN_10
int main(void)
{
while(1) {
if (MXC_GPIO0->in & GPIO_PIN_IN) {
MXC_GPIO0->out_clr = GPIO_PIN_OUT;
} else {
MXC_GPIO0->out_set = GPIO_PIN_OUT;
}
}
}
</code>
</pre>
<p><a href='../../index.html'>Back</a></p>
</body>
</html>
......@@ -144,4 +144,4 @@ make_graph("#wildwest","wildwest",["dev board price ($)", "ring frequency (MHz)"
</body>
</html>
\ No newline at end of file
</html>
......@@ -274,7 +274,17 @@
"ic_price":3.00,
"ic_sales_link":"",
"ring_period":0.218
}
},
{
"name":"MAX32660",
"serial_number":"",
"subdirectory_path":"gpio/max32660",
"dev_board_price":15.96,
"dev_board_sales_link":"https://www.digikey.com/product-detail/en/maxim-integrated/MAX32660-EVSYS/MAX32660-EVSYS-ND/9666375",
"ic_price":4.48,
"ic_sales_link":"https://www.digikey.com/product-detail/en/maxim-integrated/MAX32660GWE-T/MAX32660GWE-TCT-ND/9655833",
"ring_period":0.3115
}
],
"wildwest":[
{
......@@ -298,4 +308,4 @@
"ring_period":0.169
}
]
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment