writel() 往内存映射的 I/O 空间上写数据,wirtel()   I/O 上写入 32 位数据 (4字节)。
 原型:
#include <asm/io.h> 
void writel (unsigned char data , unsigned short addr )
readl() 从内存映射的 I/O 空间读取数据,readl 从 I/O 读取 32 位数据 ( 4 字节 )。
原型:
#include <asm/io.h> 
unsigned char readl (unsigned int addr )
注:变量    addr  是 I/O 地址。
返回值 : 从 I/O 空间读取的数值。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-19
  • 2021-05-30
相关资源
相似解决方案