c-periphery:在Linux中用于外围IO(GPIO,LED,PWM,SPI,I2C,MMIO,串行)的AC库

上传者: 42101056 | 上传时间: 2022-05-17 10:01:45 | 文件大小: 68KB | 文件类型: ZIP
C
c外围 用于Linux外围设备I / O的C库(GPIO,LED,PWM,SPI,I2C,MMIO,串行) c-periphery是一个小型C库,用于在用户空间Linux中进行GPIO,LED,PWM,SPI,I2C,MMIO和串行外围设备I / O接口访问。 c-periphery简化了本机Linux API并将其整合到这些接口。 c-periphery在嵌入式Linux环境(包括Raspberry Pi,BeagleBone等平台)中可用于与外部外围设备接口。 c-periphery是可重入的,在标准C库和Linux之外没有任何依赖关系,可编译成静态库以方便与其他项目集成,并且已获得MIT许可。 使用Python还是Lua? 查看和项目。 贡献的库: , 例子 通用输入输出 # include < stdio> # include < stdlib> # incl

文件下载

资源详情

[{"title":"( 40 个子文件 68KB ) c-periphery:在Linux中用于外围IO(GPIO,LED,PWM,SPI,I2C,MMIO,串行)的AC库","children":[{"title":"c-periphery-master","children":[{"title":".gitignore <span style='color:#111;'> 60B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"i2c.h <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"version.h <span style='color:#111;'> 659B </span>","children":null,"spread":false},{"title":"libperiphery.pc.in <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"version.c <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"pwm.h <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"i2c.c <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"led.h <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"spi.c <span style='color:#111;'> 11.38KB </span>","children":null,"spread":false},{"title":"mmio.h <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"serial.c <span style='color:#111;'> 19.75KB </span>","children":null,"spread":false},{"title":"led.c <span style='color:#111;'> 5.38KB </span>","children":null,"spread":false},{"title":"mmio.c <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false},{"title":"gpio.h <span style='color:#111;'> 4.14KB </span>","children":null,"spread":false},{"title":"spi.h <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"serial.h <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"pwm.c <span style='color:#111;'> 11.85KB </span>","children":null,"spread":false},{"title":"gpio.c <span style='color:#111;'> 47.04KB </span>","children":null,"spread":false}],"spread":false},{"title":".travis.yml <span style='color:#111;'> 124B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 6.61KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 11.12KB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_gpio_sysfs.c <span style='color:#111;'> 10.01KB </span>","children":null,"spread":false},{"title":"test_gpio.c <span style='color:#111;'> 14.65KB </span>","children":null,"spread":false},{"title":"test_i2c.c <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"test_led.c <span style='color:#111;'> 4.37KB </span>","children":null,"spread":false},{"title":"test_pwm.c <span style='color:#111;'> 9.63KB </span>","children":null,"spread":false},{"title":"test.h <span style='color:#111;'> 606B </span>","children":null,"spread":false},{"title":"test_serial.c <span style='color:#111;'> 10.20KB </span>","children":null,"spread":false},{"title":"test_mmio.c <span style='color:#111;'> 7.74KB </span>","children":null,"spread":false},{"title":"test_spi.c <span style='color:#111;'> 6.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"docs","children":[{"title":"led.md <span style='color:#111;'> 5.42KB </span>","children":null,"spread":false},{"title":"i2c.md <span style='color:#111;'> 5.18KB </span>","children":null,"spread":false},{"title":"serial.md <span style='color:#111;'> 12.24KB </span>","children":null,"spread":false},{"title":"mmio.md <span style='color:#111;'> 7.34KB </span>","children":null,"spread":false},{"title":"spi.md <span style='color:#111;'> 8.49KB </span>","children":null,"spread":false},{"title":"pwm.md <span style='color:#111;'> 8.10KB </span>","children":null,"spread":false},{"title":"gpio.md <span style='color:#111;'> 16.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"CMakeLists.txt <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明