摘要:
说明: gpio的MAP关系 yk0--pioA7 yk1--pioA5 yk2--pioA9 yk3--pioA3 yk4--pioA1 yk5--pioA8 (端子从左-->右 QD--pioA21内部总启动信号)1 配置gpio:root@sama5d3-linux:~ echo 8 ... 阅读全文
摘要:
说明: yx0--pioA0 yx1--pioA2 yx2--pioA4 yx3--pioA10 yx4--pioA14 yx5--pioA16 yx6--pioA12 yx7--pioA20 使用cat方式捕获电平,如果是字符'1',代表输入节点没有闭合,如果是字符'0',代表外部输入节点闭合, 阅读全文
摘要:
/*ADCCONVERT.c:GenerateADCsignalsfromSPIports,astheA/Dcontrolsignals.Author:AaronFu2008-10-14*/#include#include#include#include#include/*kmalloc*/#i... 阅读全文
摘要:
root@sama5d3-linux:~ echo 20 > /sys/class/gpio/export root@sama5d3-linux:~ echo 16 > /sys/class/gpio/export root@sama5d3-linux:~ echo 12 > /sys/class/... 阅读全文
摘要:
1 代码##############################################################/** Copyright (C) 2001,2002,2003 Philippe Gerum .** VxWorks is a registered trademar... 阅读全文
摘要:
/** XDDP-based RT/NRT threads communication demo.** Real-time Xenomai threads and regular Linux threads may want to* exchange data in a way that does ... 阅读全文
摘要:
#include #include #include #include #include #include RT_TASK demo_task;/* NOTE: error handling omitted. */void demo(void *arg){ RTIME now, previous; ... 阅读全文
摘要:
/*at91UART.c-AT91RM9200serialdriver*//*Copyright2003-2004CoordinateCo.,Ltd.*//*Copyright1984-2002WindRiverSystems,Inc.*//*modificationhistory-------... 阅读全文
摘要:
16C554在LINUX上的移植(AT91)linux版本:3.14.17AT91SAMa5d36EINTA_0 ARM-IO5 PA14 14EINTA_1 ARM-IO7 PA2 2EINTA_2 ARM-IO9 PA8 8EINTA_3 ARM-IO11 PA3 3EINTB_0 ARM-IO... 阅读全文
摘要:
/** Copyright (C) 2005-2007 Jan Kiszka .** Xenomai is free software; you can redistribute it and/or modify it* under the terms of the GNU General Publ... 阅读全文