www.mikrocontroller.net

Forum: Mikrocontroller und Digitale Elektronik NGW100 AVR Studio GPIO.h


Important announcement: there is an English version of this forum on EmbDev.net. Posts you create there will be displayed on Mikrocontroller.net and EmbDev.net.
Autor: o. B. (Firma: BHT) (olinwg)
Datum:

Diesen Beitrag bewerten:
lesenswert
nicht lesenswert
Hello,
I use the NGW100 and the buildroot verion 3.0.0 from Atmel.
Now I want to write a C-Programm to controll the GPIO-Pins.

I use the AVR Studio and did the following steps before I started with 
the programming.

Open AVR-Studio
New --> AVR C Project --> Target device (AT32AP7000); Project type 
(AVR32 Linux Executable) --> Project name (TEST) --> Finish

Then I create a c-File named Test.c

I have read the documentation "AVR32408: AVR32 AP7 Linux GPIO driver". 
On page 6 is the reference to include "gpio.h". Path 
"include/asm/gpio.h". I've searched my system after gpio.h and more than 
600 files found. Not in this path specified.

The files have all other sizes and different content.
Does anyone know where I can find the correct file???
Do I need to provide more specific header files. E.g. at32ap7000.h?

Does anyone know a simple manual to program the NGW100 with AVR Studio?

I want a port to switch on / off and query its status.
And I want to use the SPI Interface.

Thank, for your help!

Autor: ... (Gast)
Datum:

Diesen Beitrag bewerten:
lesenswert
nicht lesenswert

Antwort schreiben

Die Angabe einer E-Mail-Adresse ist freiwillig. Wenn Sie automatisch per E-Mail über Antworten auf Ihren Beitrag informiert werden möchten, melden Sie sich bitte an.

Wichtige Regeln - erst lesen, dann posten!

  • Groß- und Kleinschreibung verwenden
  • Längeren Sourcecode nicht im Text einfügen, sondern als Dateianhang

Formatierung (mehr Informationen...)

  • [c]C-Code[/c]
  • [avrasm]AVR-Assembler-Code[/avrasm]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] - Link zu Artikel




Bitte das JPG-Format nur für Fotos und Scans verwenden!
Zeichnungen und Screenshots im PNG- oder GIF-Format hochladen.
Siehe Bildformate
Hinweis: der ursprüngliche Beitrag ist mehr als 6 Monate alt.
Bitte hier nur auf die ursprüngliche Frage antworten,
für neue Fragen einen neuen Beitrag erstellen.

Mit dem Abschicken erkennst du die Nutzungsbedingungen an.

webmaster@mikrocontroller.netImpressumNutzungsbedingungenWerbung auf Mikrocontroller.net