我在linux驱动程序开发方面只有两周的经验,但对嵌入式c++编程有很好的经验。我只在linux中尝试过字符设备驱动程序。现在,我想尝试一个设备驱动程序的一套LED连接到GPIO。//BitWise Operation according to function parameters}
但是我需要一些关于如何在linux我对linux非常陌生。
一个简单的问题:因此,假设一个函数被传递给一个已经打开的文件指针: bool PseudoFunction(FILE *Ptr) if( ... Insert check for read-only access rights ) //It's read only access mode }
//File pointer is not read-only