Skip to content
Snippets Groups Projects
Commit 547458d2 authored by Will Langford's avatar Will Langford
Browse files

adding max32660

parent ec9e7a1b
No related branches found
No related tags found
No related merge requests found
Pipeline #3263 passed
gpio/max32660/fast_ring.JPG

2.14 MiB

<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>
gpio/max32660/slow_ring.jpg

2.03 MiB

......@@ -274,6 +274,16 @@
"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":[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment