File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
hardware/arduino/sam/variants/arduino_due_x Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 2
2
[ide]
3
3
* Fixed IDE startup bug "Menu has no enabled items"
4
4
5
+ [arduino core]
6
+ * sam: portOutputRegister() is now writeable.
7
+
5
8
ARDUINO BETA 1.5.1r2 - 2012.11.06
6
9
7
10
* Fixed wrong release file for windows.
Original file line number Diff line number Diff line change @@ -352,6 +352,12 @@ void init( void )
352
352
for (int i = 0 ; i < PINS_COUNT; i++)
353
353
digitalWrite (i, LOW);
354
354
355
+ // Enable parallel access on PIO output data registers
356
+ PIOA->PIO_OWER = 0xFFFFFFFF ;
357
+ PIOB->PIO_OWER = 0xFFFFFFFF ;
358
+ PIOC->PIO_OWER = 0xFFFFFFFF ;
359
+ PIOD->PIO_OWER = 0xFFFFFFFF ;
360
+
355
361
// Initialize Serial port U(S)ART pins
356
362
PIO_Configure (
357
363
g_APinDescription[PINS_UART].pPort ,
You can’t perform that action at this time.
0 commit comments