Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66047
b: refs/heads/master
c: 7808fa4
h: refs/heads/master
i:
  66045: 6843fd7
  66043: c4990be
  66039: f117652
  66031: e906792
  66015: abb1073
  65983: c4e7f6e
  65919: 03f4bdc
  65791: c7fb569
  65535: 9f7407a
v: v3
  • Loading branch information
Matteo Vit authored and Haavard Skinnemoen committed Oct 11, 2007
1 parent 77cdf5f commit 37f1e64
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d938b89392bd3ff64e0610d8c4e0d3f7091d98db
refs/heads/master: 7808fa4853728a776d7e76d68fb406f515a4119c
4 changes: 4 additions & 0 deletions trunk/arch/avr32/mach-at32ap/pio.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ void __init at32_select_gpio(unsigned int pin, unsigned long flags)
pio_writel(pio, SODR, mask);
else
pio_writel(pio, CODR, mask);
if (flags & AT32_GPIOF_MULTIDRV)
pio_writel(pio, MDER, mask);
else
pio_writel(pio, MDDR, mask);
pio_writel(pio, PUDR, mask);
pio_writel(pio, OER, mask);
} else {
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-avr32/arch-at32ap/portmux.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#define AT32_GPIOF_OUTPUT 0x00000002 /* (OUT) Enable output driver */
#define AT32_GPIOF_HIGH 0x00000004 /* (OUT) Set output high */
#define AT32_GPIOF_DEGLITCH 0x00000008 /* (IN) Filter glitches */
#define AT32_GPIOF_MULTIDRV 0x00000010 /* Enable multidriver option */

void at32_select_periph(unsigned int pin, unsigned int periph,
unsigned long flags);
Expand Down

0 comments on commit 37f1e64

Please sign in to comment.