Skip to content
Snippets Groups Projects
Commit 5bcd1242 authored by Bengt Ragnemalm's avatar Bengt Ragnemalm
Browse files

Comments. Re-added adc

parent 63dd0fec
No related branches found
No related tags found
No related merge requests found
......@@ -32,13 +32,13 @@
<framework-data>
<options>
<option id="common.boards" value="Add" config="" content-id="Atmel.ASF" />
<option id="sam0.drivers.adc" value="Add" config="polled" content-id="Atmel.ASF" />
<option id="sam0.drivers.dac" value="Add" config="polled" content-id="Atmel.ASF" />
<option id="sam0.drivers.port" value="Add" config="" content-id="Atmel.ASF" />
<option id="sam0.drivers.rtc" value="Add" config="count_polled" content-id="Atmel.ASF" />
<option id="sam0.drivers.sercom.usart" value="Add" config="callback" content-id="Atmel.ASF" />
<option id="sam0.drivers.system" value="Add" config="" content-id="Atmel.ASF" />
<option id="sam0.drivers.system.clock" value="Add" config="" content-id="Atmel.ASF" />
<option id="sam0.drivers.adc" value="Add" config="polled" content-id="Atmel.ASF" />
<option id="sam0.drivers.wdt" value="Add" config="polled" content-id="Atmel.ASF" />
<option id="sam0.utils.linker_scripts" value="Add" config="" content-id="Atmel.ASF" />
</options>
......
......@@ -137,7 +137,8 @@ Available for user
// USART5 in UART mode if used:
#define MAX_USART5_RX_BUFFER_LENGTH 5
// Really need to add analogue in!
// Analog in addition in progress
// Configuration shall be set and how to read. Also if it should be callback or not
// Functions
void ArduinoZeroTemplateInit(void);
......
......@@ -93,8 +93,8 @@ Example for accessing register named REGISTER for the pin defined by PINMASK.
REG_PORT_REGISTERx = PINMASK; - x is the group number.
Example to set pin PB02:
REG_PORT_OUTSET1 = PORT_PB02;
It works but as you can see that you must yourself take care of the group because the macro
combined the port and the group in the same definition.
It works but as you can see you must yourself take care of the group because the macro
combines the port and the group in the same definition.
Read more here about writing to ports:
https://electronics.stackexchange.com/questions/139117/atmels-arm-programming-without-asf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment