中国珠海

Size: px
Start display at page:

Download "中国珠海"

Transcription

1 Allwinner Technology CO., Ltd. A31 平台 SPI 设备驱动开发说明开发说明文档 Copyright Allwinner Technology. All Rights Reserved. 1

2 Allwinner Technology CO., Ltd. 版本历史 版本时间备注 V 建立初始版本 Copyright Allwinner Technology. All Rights Reserved. i

3 Allwinner Technology CO., Ltd. 目录 1. 前言 编写目的 适用范围 相关人员 SPI 模块介绍 功能介绍 硬件介绍 源码结构介绍 配置介绍 SPI 体系结构描述 SPI 常用数据结构描述 SPI 常用接口描述 SPI 设备驱动开发 demo Copyright Allwinner Technology. All Rights Reserved. ii

4 1. 前言 1.1. 编写目的 了解 SPI 设备驱动在 A31 平台上的开发 1.2. 适用范围 Allwinner A31 平台 1.3. 相关人员 A31 平台 SPI 设备驱动开发人员 Copyright Allwinner Technology. All Rights Reserved. 1

5 2. SPI 模块介绍 2.1. 功能介绍 对 SPI 设备的读写操作给予支持 2.2. 硬件介绍 1)SPI 总线工作原理 SPI 总线通过四条线完成 MCU 与各种外围器件的通讯, 这四条线分别是 : 串行时钟线 (SCLK) 主机输出/ 从机输入数据线 (MOSI) 主机输入/ 从机输出数据线 (MISO) 从机片选线(SS) 当 SPI 工作时, 在移位寄存器中的数据被逐位从输出引脚 (MOSI) 输出 ( 高位在前 ), 同时将输入引脚 (MISO) 中接收到的数据逐位移入到移位寄存器 ( 高位在前 ) 因此, 在主机发送完一个字节后, 从外围器件接收到的数据被移入到主机的移位寄存器中, 即完成一个字节数据传输的实质是两个器件寄存器内容的交换 主机的 SPI 时钟信号 (SCLK) 使传输同步,SPI 总线的内部结构如图 1 所示 2)SPI 总线工作模式 图 1 SPI 总线内部接口图 根据时钟极性 (CPOL) 及时钟相位 (CPHA) 的不同, 可以组合成 4 种工作模式, 分别是 :SPI0 模式,SPI1 模式,SPI2 模式和 SPI3 模式 其中使用最广泛的是 SPI0 模式和 SPI3 模式, 详见表 1 SPI MODE CPOL CPHA Leading Edge Trailing Edge Rising,Sample Failing,Setup Rising,Setup Failing,Sample Failing,Sample Rising,Setup Failing,Setup Rising,Sample 表 1 SPI 总线工作模式 CPOL:CPOL 定义了时钟空闲状态电平, 对传输协议没有重大影响 为 0 时, 表示时钟空闲状态为低电平 ; 为 1 时, 表示时钟空闲状态为高电平 Copyright Allwinner Technology. All Rights Reserved. 2

6 CPHA:CPHA 定义了数据的采样时间 为 0 时, 表示在时钟的第一个跳变沿 ( 上升沿或下降沿 ) 进行数据采样 ; 为 1 时, 表示在时钟的第二个跳变沿 ( 上升沿或下降沿 ) 进行数据采样 图 2 为 SPI 总线 4 种工作模式的时序对比图 2.3. 源码结构介绍 图 2 SPI 总线工作模式时序对比图 Linux 驱动位于 linux-3.3\drivers\spi\spi-sun6i.c 中 2.4. 配置介绍 1)sys_config.fex 配置说明 : 下 : 在 sys_config.fex 中有 4 组 spi 总线可供使用, 分别是 spi0 spi1 spi2 和 spi3 配置如 [spi0_para] spi_used = 0 [spi1_para] spi_used = 0 [spi2_para] spi_used = 0 [spi3_para] spi_used = 0 其中, 若使用哪一组 spi 总线, 将对应的 spi_used 置为 1 即可 2)menuconfig 配置说明 : 对于 SPI 总线控制器的配置, 可通过命令 make ARCH=arm menuconfig 进入配置主界面, 并按以下步骤操作 : 首先, 选择 Device Drivers 选项进入下一级配置, 如图 3 所示 : Copyright Allwinner Technology. All Rights Reserved. 3

7 图 3 Device Drivers 选项配置然后, 选择 SPI support 选项, 进入下一级配置, 如图 4 所示 : 图 4 SPI support 选项配置最后, 选择 SUN6I SPI Controller 选项, 可选择直接编译进内核, 也可以选择编译成模块 如图 5 所示 : Copyright Allwinner Technology. All Rights Reserved. 4

8 图 5 SUN6I SPI Controller 选项配置 Copyright Allwinner Technology. All Rights Reserved. 5

9 3. SPI 体系结构描述 位于 drivers/spi 目录下的文件 spi-sun6i.c, 是基于 sun6i 平台实现的 SPI 总线控制器驱动 它的职责是为系统中 4 条 SPI 总线实现相应的读写方法, 但是控制器驱动本身并不会进行任何的通讯, 而是等待设备驱动调用其函数 图 6 是基于 SUN6I 平台的 SPI 驱动层次架构图, 图 6 中有 4 块 SPI master, 分别对应 SUN6I 平台上的 4 块 SPI 控制器 User space Kernel space H ardw are SPI master 0 (S P I0) SPI device 1 driver A p p1 device sp id ev transfer SPI master 1 (S P I1) driver SPI device 2 SPI device 3 A p p2 device SPI core sp id ev 图 6 SPI 驱动层次架构图 SPI master 2 (S P I 2) SPI device 4 driver SPI master A p p3 device sp id ev SPI device 5 SPI master 3 (S P I3) SPI device6 Copyright Allwinner Technology. All Rights Reserved. 6

10 4. SPI 常用数据结构数据结构描述 1)spi_master struct spi_master { struct device dev; struct list_head list; s16 bus_num; /* 总线编号, 从零开始 */ u16 num_chipselect; /* 支持的片选的数量 从设备的片选号不能大于这个数 */ u16 dma_alignment; u16 mode_bits; u16 flags; #define SPI_MASTER_HALF_DUPLEX BIT(0) /* can't do full duplex */ #define SPI_MASTER_NO_RX BIT(1) /* can't do buffer read */ #define SPI_MASTER_NO_TX BIT(2) /* can't do buffer write */ spinlock_t bus_lock_spinlock; struct mutex bus_lock_mutex; bool bus_lock_flag; int (*setup)(struct spi_device *spi); /* 根据 spi 设备更新硬件配置 */ /* 添加消息到队列的方法 这个函数不可睡眠, 它的职责是安排发生的传送并且 调用注册的回调函数 complete() */ int (*transfer)(struct spi_device *spi, struct spi_message *mesg); /* cleanup 函数会在 spidev_release 函数中被调用,spidev_release 被登记为 spi dev 的 release 函数 */ void (*cleanup)(struct spi_device *spi); } spi_master 对应于一个 SPI 控制器, spi_master 注册过程中会扫描 spi_register_board_info 注册的信息, 为每一个与本总线编号相同的信息建立一个 spi_device 2)spi_transfer struct spi_transfer { const void *tx_buf; /* 要写入设备的数据 ( 必须是 dma_safe), 或者为 NULL */ void *rx_buf; /* 要读取的数据缓冲 ( 必须是 dma_safe), 或者为 NULL */ unsigned len; /* tx 和 rx 的大小 ( 字节数 ), 他们总是相等的 */ dma_addr_t tx_dma; /* tx 的 dma 地址 */ dma_addr_t rx_dma; /* rx 的 dma 地址 */ /* 影响此次传输之后的片选, 指示本次 transfer 结束之后是否要重新片选并调用 setup 改变设置 */ unsigned cs_change:1; u8 bits_per_word; /* 每个字长的比特数, 如果是 0, 使用默认值 */ u16 delay_usecs; /* 此次传输结束和片选改变之间的延时, 之后就会启动另一个传输或者结束整个消息 */ u32 speed_hz; /* 通信时钟, 如果是 0, 使用默认值 */ struct list_head transfer_list; }; spi_transfer 用于描述 SPI 传输, 而一次完整的 SPI 传输过程可能不只包含 1 个 spi_transfer, 它可能包含多个 spi_transfer, 这些 spi_transfer 最终通过 spi_message 组织在一起 3)spi_message struct spi_message { /* 此次消息的传输队列, 一个消息可以包含多个传输段 */ Copyright Allwinner Technology. All Rights Reserved. 7

11 struct list_head transfers; struct spi_device *spi; /* 传输的目的设备 */ unsigned is_dma_mapped:1; /* 表示是否是 DMA 传输方式 */ void (*complete)(void *context); /* 异步调用完成后的回调函数 */ void *context; /* 回调函数的参数 */ unsigned actual_length; /* 此次传输的实际长度 */ int status; /* 执行的结果, 成功被置 0, 否则是一个负的错误码 */ struct list_head queue; void *state; }; spi_message 用来原子的执行 spi_transfer 表示的一串数组传输请求 这个传 输队列是原子的, 即在这个消息完成之前不会有其它消息占用 SPI 总线 消息的 执行总是按照 FIFO 的顺序 4)spi_device struct spi_device { struct device dev; struct spi_master *master; /* 对应的控制器指针 */ u32 max_speed_hz; /* spi 通信时钟 */ u8 chip_select; /* 片选号, 用来区分同一控制器上的设备 */ u8 mode; /* 各位的定义如下, 主要是传输模式 片选 极性 */ #define SPI_CPHA 0x01 /* 时钟相位 */ #define SPI_CPOL 0x02 /* 时钟极性 */ #define SPI_MODE_0(0 0) #define SPI_MODE_1(0 SPI_CPHA) #define SPI_MODE_2(SPI_CPOL 0) #define SPI_MODE_3(SPI_CPOL SPI_CPHA) #define SPI_CS_HIGH 0x04 /* 片选电位为高 */ #define SPI_LSB_FIRST 0x08 /* 先输出低比特 */ #define SPI_3WIRE 0x10 /* 输入输出共享接口, 此时只能做 半双工 */ #define SPI_LOOP 0x20 #define SPI_NO_CS 0x40 #define SPI_READY 0x80 u8 bits_per_word; /* 每个字长的比特数 */ int irq; /* 使用到的中断 */ void *controller_state; void *controller_data; char modalias[spi_name_size]; /* 设备名字 */ }; spi_device 对应于真实的物理设备, 每个 SPI 设备都需要一个 spi_device 来 描述 5)spi_board_info struct spi_board_info { char modalias[spi_name_size]; /* 设备名称 */ /* 私有数据, 会被设置到 spi_device.dev.platform_data */ const void *platform_data; /* 私有数据, 会被设置到 spi_device.controller_data */ void *controller_data; int irq; /* 设备中断号 */ u32 max_speed_hz; /* SPI 的最大速率 */ u16 bus_num; /* SPI 总线的编号 */ u16 chip_select; /* 与片选有关 */ Copyright Allwinner Technology. All Rights Reserved. 8

12 u8 mode; /* 设备的一些模式, 例如片选的高低,SPI 的连接方式 */ }; spi_board_info 用于存储对应 spi_device 的板级相关信息, 包括使用的控制器序号 片选序号 比特率 SPI 传输模式等 6)spi_driver struct spi_driver { const struct spi_device_id *id_table; /* 与 spi device 匹配成功后调用, 对设备和私有数据进行初始化 */ int (*probe)(struct spi_device *spi); /* 解除 spi_device 和 spi_driver 的绑定, 释放 probe 申请的资源 */ int (*remove)(struct spi_device *spi); void (*shutdown)(struct spi_device *spi); /* 关闭 */ int (*suspend)(struct spi_device *spi, pm_message_t mesg); /* 挂起 */ int (*resume)(struct spi_device *spi); /* 恢复 */ struct device_driverdriver; }; spi_driver 主要提供驱动模型下的绑定方法和电源管理接口, 其成员 driver.name 是和 spi_device 进行匹配的依据 该结构用于绑定在 spi_register_board_info 中注册的对应的 spi_device Copyright Allwinner Technology. All Rights Reserved. 9

13 5. SPI 常用接口描述 1)spi_register_driver int spi_register_driver(struct spi_driver *sdrv); sdrv the driver to register; init result; = 0 init successful; < 0 init failed; Register a spi device driver to spi sub-system; 2)spi_unregister_driver static inline void spi_unregister_driver(struct spi_driver *sdrv); sdrv the driver to unregister; None; Unregister a spi device driver from spi sub-system; 3)spi_set_drvdata static inline void spi_set_drvdata(struct spi_device *spi, void *data); spi handle to spi device; None; Set private data to spi device; 4)spi_get_drvdata static inline void *spi_get_drvdata(struct spi_device *spi); spi handle to spi device; The result of get spi device driver data; Copyright Allwinner Technology. All Rights Reserved. 10

14 Get private data from spi device; 5)spi_write static inline int spi_write(struct spi_device *spi, const u8 *buf, size_t len); spi device to which data will be written; buf data buffer; len data buffer size; write result; = 0 write the buffer succeed; < 0 negative error code; SPI synchronous write; 6)spi_read static inline int spi_read(struct spi_device *spi, u8 *buf, size_t len); spi device from which data will be read; buf data buffer; len data buffer size; read result; = 0 read the buffer succeed; < 0 negative error code; SPI synchronous read; 7)spi_w8r8 static inline ssize_t spi_w8r8(struct spi_device *spi, u8 cmd); spi device with which data will be exchanged; cmd command to be written before data is read back; execute result; > 0 the eight bit number returned by the device; < 0 negative error code; SPI synchronous 8 bit write followed by 8 bit read; 8)spi_w8r16 Copyright Allwinner Technology. All Rights Reserved. 11

15 static inline ssize_t spi_w8r16(struct spi_device *spi, u8 cmd); spi device with which data will be exchanged; cmd command to be written before data is read back; execute result; > 0 the sixteen bit number returned by the device; < 0 negative error code; SPI synchronous 8 bit write followed by 16 bit read; 9)spi_write_then_read int spi_write_then_read(struct spi_device *spi, const u8 *txbuf, unsigned n_tx, u8 *rxbuf, unsigned n_rx); spi device with which data will be exchanged; txbuf data to be written (need not be dma-safe); n_tx size of txbuf, in bytes; rxbuf buffer into which data will be read (need not be dma-safe); n_rxsize of rxbuf, in bytes execute result; = 0 success; < 0 negative error code; SPI synchronous write followed by read; 10)spi_message_init static inline void spi_message_init(struct spi_message *m); m the pointer to spi message; None; Init spi message; 11)spi_message_add_tail static inline void spi_message_add_tail(struct spi_transfer *t, struct spi_message *m); Copyright Allwinner Technology. All Rights Reserved. 12

16 t the pointer to spi transfer; m the pointer to spi message; None; Add spi transfer to spi message quene; Copyright Allwinner Technology. All Rights Reserved. 13

17 6. SPI 设备驱动开发 demo 以下代码是一个最简单的 SPI 设备驱动 demo, 具体代码如下 : #include <linux/spi.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> static int spi_driver_demo_probe(struct spi_device *spi) { } struct demo struct xxxx_platform_data *demo; *pdata; /* 如果驱动需要设备板级信息 */ pdata = &spi->dev.platform_data; if (!pdata) return -ENODEV; /* 为 demo 结构体开辟内存空间 */ demo = kzalloc(sizeof *demo, GFP_KERNEL); if (!demo) return -ENOMEM; spi_set_drvdata(spi, demo); /* 其他语句 */... return 0; static int devexit spi_driver_demo_remove(struct spi_device *spi) { } return 0; static struct spi_driver spi_driver_demo = {.probe.remove = spi_driver_demo_probe,.driver = {.name = "xxxx",.owner = THIS_MODULE, } }; = devexit_p(spi_driver_demo_remove), Copyright Allwinner Technology. All Rights Reserved. 14

18 static int init spi_driver_demo_init(void) { } return spi_register_driver(&spi_driver_demo); static void exit spi_driver_demo_exit(void) { } spi_unregister_driver(&spi_driver_demo); module_init(spi_driver_demo_init); module_exit(spi_driver_demo_exit); MODULE_AUTHOR("anchor"); MODULE_DESCRIPTION("SPI device driver demo"); MODULE_LICENSE("GPL"); 上面是对 SPI 设备驱动部分的描述 此外, 还需要对 SPI 设备进行声明, 声明形式如下 : static struct xxxx_platform_data = { /* 用户定义 */ }; static struct xxxx_platform_data xxxx_pdata initdata = { /* 对定义的成员赋值 */ }; static struct spi_board_info xxxx_spi_board_info[] initdata = { {.modalias = "xxxx",.platform_data = &xxxx_pdata,.max_speed_hz = 12 * 1000 * 1000,.bus_num = 1,.chip_select = 0,.mode = SPI_MODE_3, }, }; 使用以下函数注册上面声明的信息 ( 注册进 SPI 子系统 ): spi_register_board_info(xxxx_spi_board_info, ARRAY_SIZE(xxxx_spi_board_i nfo)); Copyright Allwinner Technology. All Rights Reserved. 15

DVK530/531扩展板

DVK530/531扩展板 DVK720 扩展板 驱动移植手册 2014.04.03 V1.0 版权声明 本手册所有权由深圳市微雪电子有限公司独家持有 未经本公司的书 面许可, 不得以任何方式或形式进行修改 分发或复制本文档的任何 部分, 否则一切后果由违者自负 版本更新记录 版本日期说明 V1.0 2014.04.03 初始发布 深圳市微雪电子有限公司 www.waveshare.net I 目录 版权声明... I 版本更新记录...

More information

Sunxi I2C 总线驱动使用文档 文档版本号 :V1.0 发布日期 :

Sunxi I2C 总线驱动使用文档 文档版本号 :V1.0 发布日期 : 文档版本号 :V1.0 发布日期 :2017.09.22 版权所有 珠海全志科技股份有限公司 2017 保留一切权利 非经本公司书面许可, 任何单位和个人不得擅自摘抄 复制本文档内容的部分或全部, 并不得以任 何形式传播 商标声明 全志和其他全志商标均为珠海全志科技股份有限公司的商标 本文档提及的其他所有商标或注册商标, 由各自的所有人拥有 注意您购买的产品 服务或特性等应受全志公司商业合同和条款的约束,

More information

Linux内核的移植技术剖析

Linux内核的移植技术剖析 嵌入式培训专家 Linux 内核的移植技术剖析 主讲 : 宋宝华 www.farsight.com.cn 今天的内容 vbsp 的组成部分 vplat/mach 各组件的实现 内核节拍 中断管理 时钟 GPIO DMA IO 内存映射 v 设备与资源 platform device resource 和 plarform data uart/spi/i2c 等设备板级 resource vbsp 作用

More information

static struct file_operations gpio_ctl_fops={ ioctl: gpio_ctl_ioctl, open : gpio_open, release: gpio_release, ; #defineled1_on() (GPBDAT &= ~0x1) #def

static struct file_operations gpio_ctl_fops={ ioctl: gpio_ctl_ioctl, open : gpio_open, release: gpio_release, ; #defineled1_on() (GPBDAT &= ~0x1) #def Kaise s 2410 Board setting [1]. Device Driver Device Driver Linux s Kernel ARM s kernel s3c2410_kernel2.4.18_r1.1_change.tar.bz2 /usr/src (1) #cd /usr/src (2) #tar xfj s3c2410_kernel2.4.18_r1.1_change.tar.bz2

More information

DVK530/531扩展板

DVK530/531扩展板 DVK710 扩展板 驱动移植手册 2014.06.03 V1.0 版权声明 本手册所有权由深圳市微雪电子有限公司独家持有 未经本公司的书 面许可, 不得以任何方式或形式进行修改 分发或复制本文档的任何 部分, 否则一切后果由违者自负 版本更新记录 版本日期说明 V1.0 2014.06.03 初始发布 深圳市微雪电子有限公司 www.waveshare.netii I 目录版权声明... I 版本更新记录...

More information

S3C6410 ARM11开发板Linux BSP构建

S3C6410 ARM11开发板Linux BSP构建 嵌入式培训专家 S3C6410 ARM11 开发板 Linux BSP 构建 主讲 : 宋宝华 www.farsight.com.cn 今天的内容 vbsp 的组成部分 vplat/mach 各组件的实现 内核节拍 中断管理 时钟 GPIO DMA IO 内存映射 v 设备与资源 platform device resource 和 plarform data uart/spi/i2c 等设备板级

More information

A Preliminary Implementation of Linux Kernel Virus and Process Hiding

A Preliminary Implementation of Linux Kernel Virus and Process Hiding 邵 俊 儒 翁 健 吉 妍 年 月 日 学 号 学 号 学 号 摘 要 结 合 课 堂 知 识 我 们 设 计 了 一 个 内 核 病 毒 该 病 毒 同 时 具 有 木 马 的 自 动 性 的 隐 蔽 性 和 蠕 虫 的 感 染 能 力 该 病 毒 获 得 权 限 后 会 自 动 将 自 身 加 入 内 核 模 块 中 劫 持 的 系 统 调 用 并 通 过 简 单 的 方 法 实 现 自 身 的

More information

Windows RTEMS 1 Danilliu MMI TCP/IP QEMU i386 QEMU ARM POWERPC i386 IPC PC104 uc/os-ii uc/os MMI TCP/IP i386 PORT Linux ecos Linux ecos ecos eco

Windows RTEMS 1 Danilliu MMI TCP/IP QEMU i386 QEMU ARM POWERPC i386 IPC PC104 uc/os-ii uc/os MMI TCP/IP i386 PORT Linux ecos Linux ecos ecos eco Windows RTEMS 1 Danilliu MMI TCP/IP 80486 QEMU i386 QEMU ARM POWERPC i386 IPC PC104 uc/os-ii uc/os MMI TCP/IP i386 PORT Linux ecos Linux ecos ecos ecos Email www.rtems.com RTEMS ecos RTEMS RTEMS Windows

More information

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS

More information

CC213

CC213 : (Ken-Yi Lee), E-mail: feis.tw@gmail.com 49 [P.51] C/C++ [P.52] [P.53] [P.55] (int) [P.57] (float/double) [P.58] printf scanf [P.59] [P.61] ( / ) [P.62] (char) [P.65] : +-*/% [P.67] : = [P.68] : ,

More information

int *p int a 0x00C7 0x00C7 0x00C int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++;

int *p int a 0x00C7 0x00C7 0x00C int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++; Memory & Pointer trio@seu.edu.cn 2.1 2.1.1 1 int *p int a 0x00C7 0x00C7 0x00C7 2.1.2 2 int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++; 2.1.3 1. 2. 3. 3 int A,

More information

1

1 1 2 3 4 5 GNUDebugger 6 7 void main(int argc, char **argv){ vulncpy(argv[1]); return; } void vulncpy(char *a){ char buf[30]; strcpy(buf, a); return; } *argv[1] buf Shellcode *argv[1]... &buf &buf 8 strcpy

More information

¬¬

¬¬ 2 年 第 9 周 2.2.2-2.2.27 26 年 第 7 周 : 受 春 节 影 响, 一 二 级 市 场 无 供 应 成 交 26 年 第 7 周 (26 年 2 月 8 日 26 年 2 月 4 日 ) 哈 尔 滨 市 无 土 地 供 应 26 年 第 7 周 (26 年 2 月 8 日 26 年 2 月 4 日 ) 哈 尔 滨 市 无 土 地 成 交 26 年 第 7 周 (26 年 2

More information

C/C++ - 文件IO

C/C++ - 文件IO C/C++ IO Table of contents 1. 2. 3. 4. 1 C ASCII ASCII ASCII 2 10000 00100111 00010000 31H, 30H, 30H, 30H, 30H 1, 0, 0, 0, 0 ASCII 3 4 5 UNIX ANSI C 5 FILE FILE 6 stdio.h typedef struct { int level ;

More information

Microsoft Word - 实用案例.doc

Microsoft Word - 实用案例.doc 计 算 机 系 统 应 用 2009 年 第 12 期 嵌 入 式 Linux 下 温 湿 度 传 感 器 的 设 计 与 实 现 1 Design and Implementation of Temperature and Humidity Sensor Based on Embedded Linux 陈 博 刘 锦 高 ( 华 东 师 范 大 学 电 子 科 学 技 术 系 上 海 200241)

More information

嵌入式Linux块设备驱动开发解析

嵌入式Linux块设备驱动开发解析 The success's road 嵌 入 式 LINUX 网 络 驱 动 开 发 Copyright 2007-2008 Farsight. All rights reserved. 要 点 Linux 网 络 设 备 驱 动 程 序 概 述 计 算 机 网 络 概 述 skbuf 数 据 结 构 介 绍 Linux 网 络 设 备 驱 动 程 序 API 介 绍 Linux 网 络 设 备 驱

More information

Bus Hound 5

Bus Hound 5 Bus Hound 5.0 ( 1.0) 21IC 2007 7 BusHound perisoft PC hound Bus Hound 6.0 5.0 5.0 Bus Hound, IDE SCSI USB 1394 DVD Windows9X,WindowsMe,NT4.0,2000,2003,XP XP IRP Html ZIP SCSI sense USB Bus Hound 1 Bus

More information

JLX

JLX PRODUCT:LCD MODULE. Model No.: JLX177-006 Product Type: 1.77 inch QVGA TFT Modoule. 产品规格书 晶联讯研发研发部 : Written By Checked By Approved By 客户名称 : 结构电子核准 地址 : 深圳市宝安区西乡宝安大道东华工业区 A3 栋 6 楼电话 :0755-29784961 Http://www.jlxlcd.cn

More information

C++ 程序设计 告别 OJ1 - 参考答案 MASTER 2019 年 5 月 3 日 1

C++ 程序设计 告别 OJ1 - 参考答案 MASTER 2019 年 5 月 3 日 1 C++ 程序设计 告别 OJ1 - 参考答案 MASTER 2019 年 月 3 日 1 1 INPUTOUTPUT 1 InputOutput 题目描述 用 cin 输入你的姓名 ( 没有空格 ) 和年龄 ( 整数 ), 并用 cout 输出 输入输出符合以下范例 输入 master 999 输出 I am master, 999 years old. 注意 "," 后面有一个空格,"." 结束,

More information

概述

概述 OPC Version 1.6 build 0910 KOSRDK Knight OPC Server Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOS_Init...5 2.2.2 KOS_InitB...5 2.2.3

More information

PCMCIA Compact Flash GPRS GPS PCMCIA Personal Computer Memory Card International Association CF Compact Flash PCMCIA CF PCMCIA/CF

PCMCIA Compact Flash GPRS GPS PCMCIA Personal Computer Memory Card International Association CF Compact Flash PCMCIA CF PCMCIA/CF 09 PCMCIA Compact Flash GPRS GPS PCMCIA Personal Computer Memory Card International Association CF Compact Flash PCMCIA CF PCMCIA/CF PCMCIA WiFi Linux PCMCIA PCMCIA/CF 9-1 PCMCIA/CF PCMCIA 16 CF PCMCIA

More information

Microsoft Word - AN3259C

Microsoft Word - AN3259C www.maxim-ic.com.cn 应用笔记 3259 DS31256 Envoy - 寄存器转储列程 概述本应用笔记提供了将 DS31256 的寄存器 排队程序 描述符和 FIFO RAM 的内容转储到一个文件的程序代码 这些数据在 DS31256 无法正常工作时非常关键, 为进一步的研究和调试提供了重要信息 例如, 寄存器数据经过转储后可以显示每个 DS31256 寄存器的设置 为了保证正确地设置器件,

More information

Guide to Install SATA Hard Disks

Guide to Install SATA Hard Disks SATA RAID 1. SATA. 2 1.1 SATA. 2 1.2 SATA 2 2. RAID (RAID 0 / RAID 1 / JBOD).. 4 2.1 RAID. 4 2.2 RAID 5 2.3 RAID 0 6 2.4 RAID 1.. 10 2.5 JBOD.. 16 3. Windows 2000 / Windows XP 20 1. SATA 1.1 SATA Serial

More information

, 7, Windows,,,, : ,,,, ;,, ( CIP) /,,. : ;, ( 21 ) ISBN : -. TP CIP ( 2005) 1

, 7, Windows,,,, : ,,,, ;,, ( CIP) /,,. : ;, ( 21 ) ISBN : -. TP CIP ( 2005) 1 21 , 7, Windows,,,, : 010-62782989 13501256678 13801310933,,,, ;,, ( CIP) /,,. : ;, 2005. 11 ( 21 ) ISBN 7-81082 - 634-4... - : -. TP316-44 CIP ( 2005) 123583 : : : : 100084 : 010-62776969 : 100044 : 010-51686414

More information

K7VT2_QIG_v3

K7VT2_QIG_v3 ............ 1 2 3 4 5 [R] : Enter Raid setup utility 6 Press[A]keytocreateRAID RAID Type: JBOD RAID 0 RAID 1: 2 7 RAID 0 Auto Create Manual Create: 2 RAID 0 Block Size: 16K 32K

More information

Serial ATA ( Nvidia nforce430)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A (6) Microsoft Win

Serial ATA ( Nvidia nforce430)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A (6) Microsoft Win Serial ATA ( Nvidia nforce430)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A... 11 (6) Microsoft Windows 2000... 14 Ác Åé å Serial ATA ( Nvidia nforce430)

More information

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.06.doc

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.06.doc 2 5 8 11 0 13 1. 13 2. 15 3. 18 1 23 1. 23 2. 26 3. 28 2 36 1. 36 2. 39 3. 42 4. 44 5. 49 6. 51 3 57 1. 57 2. 60 3. 64 4. 66 5. 70 6. 75 7. 83 8. 85 9. 88 10. 98 11. 103 12. 108 13. 112 4 115 1. 115 2.

More information

Serial ATA ( nvidia nforce4 Ultra/SLI)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A (6) Micro

Serial ATA ( nvidia nforce4 Ultra/SLI)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A (6) Micro Serial ATA ( nvidia nforce4 Ultra/SLI)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A... 11 (6) Microsoft Windows 2000... 14 Ác Åé å Serial ATA ( nvidia

More information

新版 明解C++入門編

新版 明解C++入門編 511!... 43, 85!=... 42 "... 118 " "... 337 " "... 8, 290 #... 71 #... 413 #define... 128, 236, 413 #endif... 412 #ifndef... 412 #if... 412 #include... 6, 337 #undef... 413 %... 23, 27 %=... 97 &... 243,

More information

P4i45GL_GV-R50-CN.p65

P4i45GL_GV-R50-CN.p65 1 Main Advanced Security Power Boot Exit System Date System Time Floppy Drives IDE Devices BIOS Version Processor Type Processor Speed Cache Size Microcode Update Total Memory DDR1 DDR2 Dec 18 2003 Thu

More information

Chapter #

Chapter # 第三章 TCP/IP 协议栈 本章目标 通过本章的学习, 您应该掌握以下内容 : 掌握 TCP/IP 分层模型 掌握 IP 协议原理 理解 OSI 和 TCP/IP 模型的区别和联系 TCP/IP 介绍 主机 主机 Internet TCP/IP 早期的协议族 全球范围 TCP/IP 协议栈 7 6 5 4 3 应用层表示层会话层传输层网络层 应用层 主机到主机层 Internet 层 2 1 数据链路层

More information

陳偉補習班環境介紹

陳偉補習班環境介紹 肆 各 专 业 科 目 可 报 考 学 校 一 览 表 选 考 : 经 济 学 ( 含 政 治 经 济 学 微 观 经 济 学 宏 观 经 济 学 ) 020201 国 民 经 济 学 8 北 京 光 华 管 理 学 020204 金 融 学 83 020205 产 业 经 济 学 4 清 华 经 济 管 理 学 020100 理 论 经 济 学 020200 应 用 经 济 学 6 020201

More information

3. 企 业 债 券 : 公 司 债 券 : 5. 证 券 公 司 债 券 : 6. 企 业 短 期 融 资 券 : 7. 中 期 票 据 : 8. 资 产 支 持 证 券 : 9. 国 际 开 发 机 构 人 民 币 债 券 : 10. 中 小 非 金 融 企 业 集 合 票 据 例 题? 判 断

3. 企 业 债 券 : 公 司 债 券 : 5. 证 券 公 司 债 券 : 6. 企 业 短 期 融 资 券 : 7. 中 期 票 据 : 8. 资 产 支 持 证 券 : 9. 国 际 开 发 机 构 人 民 币 债 券 : 10. 中 小 非 金 融 企 业 集 合 票 据 例 题? 判 断 第 1 节 投 资 银 行 业 务 概 述 1. 投 资 银 行 的 含 义 [ 熟 悉 ]: 等 第 1 章 证 劵 经 营 机 构 的 投 资 银 行 业 务 (1) 狭 义 的 就 是 指 某 些 资 本 市 场 活 动, 着 重 指 一 级 市 场 上 的 承 销 并 购 和 融 资 活 动 的 财 务 顾 问 (2) 广 义 的 包 括 公 司 融 资 并 购 顾 问 股 票 和 债 券

More information

新・解きながら学ぶC言語

新・解きながら学ぶC言語 330!... 67!=... 42 "... 215 " "... 6, 77, 222 #define... 114, 194 #include... 145 %... 21 %... 21 %%... 21 %f... 26 %ld... 162 %lf... 26 %lu... 162 %o... 180 %p... 248 %s... 223, 224 %u... 162 %x... 180

More information

untitled

untitled MODBUS 1 MODBUS...1 1...4 1.1...4 1.2...4 1.3...4 1.4... 2...5 2.1...5 2.2...5 3...6 3.1 OPENSERIAL...6 3.2 CLOSESERIAL...8 3.3 RDMULTIBIT...8 3.4 RDMULTIWORD...9 3.5 WRTONEBIT...11 3.6 WRTONEWORD...12

More information

C/C++ - 字符串与字符串函数

C/C++ - 字符串与字符串函数 C/C++ Table of contents 1. 2. 3. 4. 1 char C 2 char greeting [50] = " How " " are " " you?"; char greeting [50] = " How are you?"; 3 printf ("\" Ready, go!\" exclaimed John."); " Ready, go!" exclaimed

More information

华恒家庭网关方案

华恒家庭网关方案 LINUX V1.5 1 2 1 2 LINUX WINDOWS PC VC LINUX WINDOWS LINUX 90% GUI LINUX C 3 REDHAT 9 LINUX PC TFTP/NFS http://www.hhcn.com/chinese/embedlinux-res.html minicom NFS mount C HHARM9-EDU 1 LINUX HHARM9-EDU

More information

Page 1 of 21 中 文 简 体 中 文 繁 体 邮 箱 搜 索 本 网 站 搜 索 搜 索 网 站 首 页 今 日 中 国 中 国 概 况 法 律 法 规 公 文 公 报 政 务 互 动 政 府 建 设 工 作 动 态 人 事 任 免 新 闻 发 布 当 前 位 置 : 首 页 >> 公 文 公 报 >> 国 务 院 文 件 >> 国 务 院 文 件 中 央 政 府 门 户 网 站 www.gov.cn

More information

EK-STM32F

EK-STM32F STMEVKIT-STM32F10xx8 软 件 开 发 入 门 指 南 目 录 1 EWARM 安 装... 1 1.1 第 一 步 : 在 线 注 册... 1 1.2 第 二 步 : 下 载 软 件... 2 1.3 第 三 步 : 安 装 EWARM... 3 2 基 于 STMEVKIT-STM32F10xx8 的 示 例 代 码 运 行... 6 2.1 GPIO Demo... 6 2.2

More information

第一章 概论

第一章  概论 1 2 3 4 5 6 7 8 Linux 7.1 7.1.1 1 1 2 3 2 3 1 2 3 3 1 2 3 7.1.2 1 2 1 2 3 4 5 7.1.3 1 1 2 3 2 7.1 3 7.1.4 1 1 PCB 2 3 2 PCB PCB PCB PCB PCB 4 1 2 PSW 3 CPU CPU 4 PCB PCB CPU PCB PCB PCB PCB PCB PCB PCB

More information

優質居所 攜手共建

優質居所 攜手共建 2000 Housing Authority. All rights reserved. 2000 Housing Authority. All rights reserved. 2000 Housing Authority. All rights reserved. 2000 Housing Authority. All rights reserved. 2000 Housing Authority.

More information

INTRODUCTION TO COM.DOC

INTRODUCTION TO COM.DOC How About COM & ActiveX Control With Visual C++ 6.0 Author: Curtis CHOU mahler@ms16.hinet.net This document can be freely release and distribute without modify. ACTIVEX CONTROLS... 3 ACTIVEX... 3 MFC ACTIVEX

More information

新・明解C言語入門編『索引』

新・明解C言語入門編『索引』 !... 75!=... 48 "... 234 " "... 9, 84, 240 #define... 118, 213 #include... 148 %... 23 %... 23, 24 %%... 23 %d... 4 %f... 29 %ld... 177 %lf... 31 %lu... 177 %o... 196 %p... 262 %s... 242, 244 %u... 177

More information

Kubenetes 系列列公开课 2 每周四晚 8 点档 1. Kubernetes 初探 2. 上 手 Kubernetes 3. Kubernetes 的资源调度 4. Kubernetes 的运 行行时 5. Kubernetes 的 网络管理理 6. Kubernetes 的存储管理理 7.

Kubenetes 系列列公开课 2 每周四晚 8 点档 1. Kubernetes 初探 2. 上 手 Kubernetes 3. Kubernetes 的资源调度 4. Kubernetes 的运 行行时 5. Kubernetes 的 网络管理理 6. Kubernetes 的存储管理理 7. Kubernetes 包管理理 工具 Helm 蔺礼强 Kubenetes 系列列公开课 2 每周四晚 8 点档 1. Kubernetes 初探 2. 上 手 Kubernetes 3. Kubernetes 的资源调度 4. Kubernetes 的运 行行时 5. Kubernetes 的 网络管理理 6. Kubernetes 的存储管理理 7. Kubernetes

More information

<BBB6D3ADB7C3CECABFC6D1A7CEC4BBAFC6C0C2DB>

<BBB6D3ADB7C3CECABFC6D1A7CEC4BBAFC6C0C2DB> 1 of 5 7/18/2010 2:35 PM 联 系 管 理 员 收 藏 本 站 中 国 科 学 院 自 然 科 学 史 研 究 所 首 页 期 刊 介 绍 创 刊 寄 语 编 委 成 员 往 期 下 载 论 坛 网 络 资 源 12th ICHSC [ 高 级 ] 现 在 位 置 : 首 页 > 期 刊 文 章 小 中 大 打 印 关 闭 窗 口 PDF 版 查 看 桃 李 不 言, 下 自

More information

提纲 1 2 OS Examples for 3

提纲 1 2 OS Examples for 3 第 4 章 Threads2( 线程 2) 中国科学技术大学计算机学院 October 28, 2009 提纲 1 2 OS Examples for 3 Outline 1 2 OS Examples for 3 Windows XP Threads I An Windows XP application runs as a seperate process, and each process may

More information

ebook15-C

ebook15-C C 1 1.1 l s ( 1 ) - i i 4. 14 - d $ l s -ldi /etc/. /etc/.. - i i 3077 drwxr-sr-x 7 bin 2048 Aug 5 20:12 /etc/./ 2 drwxr-xr-x 13 root 512 Aug 5 20:11 /etc/../ $ls -ldi /. /..... i 2 2 drwxr-xr-x 13 root

More information

(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor

(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor 1 4.1.1.1 (Load) 14 1.1 1 4.1.1.2 (Save) 14 1.1.1 1 4.1.2 (Buffer) 16 1.1.2 1 4.1.3 (Device) 16 1.1.3 1 4.1.3.1 (Select Device) 16 2 4.1.3.2 (Device Info) 16 2.1 2 4.1.3.3 (Adapter) 17 2.1.1 CD-ROM 2 4.1.4

More information

C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40

C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40 C C trio@seu.edu.cn C C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40 Week3 C Week5 Week5 Memory & Pointer

More information

Microsoft Word - Delta Controller ASCII_RTU_SC

Microsoft Word - Delta Controller ASCII_RTU_SC Delta Controller ASCII/RTU ( 适用台达变频器 伺服驱动器 PLC 温度控制器 ) 人机默认值通讯速率 :9600, 7, None, 2 (ASCII); 9600, 8, None, 2 (RTU) 控制器站号 :1 控制区 / 状态区 :None/None 控制器接线的说明 Delta Servo a. RS-232(DOP-A/AE/AS, DOP-B 系列适用 )

More information

untitled

untitled 3 C++ 3.1 3.2 3.3 3.4 new delete 3.5 this 3.6 3.7 3.1 3.1 class struct union struct union C class C++ C++ 3.1 3.1 #include struct STRING { typedef char *CHARPTR; // CHARPTR s; // int strlen(

More information

Ác Åé å Serial ATA ( nvidia nforce4 SLI) S A T A (1) SATA (2) BIOS SATA (3)* RAID BIOS RAID (4) SATA (5) SATA (a) S A T A ( S A T A R A I D ) (b) (c)

Ác Åé å Serial ATA ( nvidia nforce4 SLI) S A T A (1) SATA (2) BIOS SATA (3)* RAID BIOS RAID (4) SATA (5) SATA (a) S A T A ( S A T A R A I D ) (b) (c) Serial ATA ( nvidia nforce4 SLI)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A... 11 (6) Microsoft Windows 2000... 14 Ác Åé å Serial ATA ( nvidia nforce4

More information

untitled

untitled A, 3+A printf( ABCDEF ) 3+ printf( ABCDEF ) 2.1 C++ main main main) * ( ) ( ) [ ].* ->* ()[] [][] ** *& char (f)(int); ( ) (f) (f) f (int) f int char f char f(int) (f) char (*f)(int); (*f) (int) (

More information

概述

概述 OPC Version 1.8 build 0925 KOCRDK Knight OPC Client Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOC_Init...5 2.2.2 KOC_Uninit...5 2.3...5

More information

RAID RAID 0 RAID 1 RAID 5 RAID * ( -1)* ( /2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( )

RAID RAID 0 RAID 1 RAID 5 RAID * ( -1)* ( /2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( ) RAID RAID 0 RAID 1 RAID 5 RAID 10 2 2 3 4 * (-1)* (/2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( ) ( ) ( ) Windows USB 1 SATA A. SATASATAIntel SATA (SATA3

More information

第 14 行调用 of_demo_controller_register 注册 demo controller 驱动,xlate 函数设置的都是 of_demo_simple_xlate, 这个函数完成对 user 传来的参数的处理 1. int of_demo_controller_registe

第 14 行调用 of_demo_controller_register 注册 demo controller 驱动,xlate 函数设置的都是 of_demo_simple_xlate, 这个函数完成对 user 传来的参数的处理 1. int of_demo_controller_registe 作者 彭东林 pengdonglin137@163.com 平台 TQ2440 Linux 4.10.17 概述 上一篇大概介绍了一下 demo controller 的结构, 下面结合驱动分析 正文 一 demo controller 驱动 这里主要分析 probe 函数 demo_controller_probe: 1. static int demo_controller_probe(struct

More information

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.07.doc

Microsoft Word - 把时间当作朋友(2011第3版)3.0.b.07.doc 2 5 8 11 0 1. 13 2. 15 3. 18 1 1. 22 2. 25 3. 27 2 1. 35 2. 38 3. 41 4. 43 5. 48 6. 50 3 1. 56 2. 59 3. 63 4. 65 5. 69 13 22 35 56 6. 74 7. 82 8. 84 9. 87 10. 97 11. 102 12. 107 13. 111 4 114 1. 114 2.

More information

C语言的应用.PDF

C语言的应用.PDF AVR C 9 1 AVR C IAR C, *.HEX, C,,! C, > 9.1 AVR C MCU,, AVR?! IAR AVR / IAR 32 ALU 1KBytes - 8MBytes (SPM ) 16 MBytes C C *var1, *var2; *var1++ = *--var2; AVR C 9 2 LD R16,-X ST Z+,R16 Auto (local

More information

C/C++ - 函数

C/C++ - 函数 C/C++ Table of contents 1. 2. 3. & 4. 5. 1 2 3 # include # define SIZE 50 int main ( void ) { float list [ SIZE ]; readlist (list, SIZE ); sort (list, SIZE ); average (list, SIZE ); bargragh

More information

FY.DOC

FY.DOC 高 职 高 专 21 世 纪 规 划 教 材 C++ 程 序 设 计 邓 振 杰 主 编 贾 振 华 孟 庆 敏 副 主 编 人 民 邮 电 出 版 社 内 容 提 要 本 书 系 统 地 介 绍 C++ 语 言 的 基 本 概 念 基 本 语 法 和 编 程 方 法, 深 入 浅 出 地 讲 述 C++ 语 言 面 向 对 象 的 重 要 特 征 : 类 和 对 象 抽 象 封 装 继 承 等 主

More information

PCM-3386用户手册.doc

PCM-3386用户手册.doc PCM-3386 BBPC-4x86 10/100M PC/104 (Lanry technology Co. Ltd. Zhuhai) 38 1012836 (Address: Room 1012,Linhai Building,No. 38,west of Shihua Road,Zhuhai City,Guangdong Province,China) (post code)519015 (phone)0756-3366659

More information

C/C++ - 字符输入输出和字符确认

C/C++ - 字符输入输出和字符确认 C/C++ Table of contents 1. 2. getchar() putchar() 3. (Buffer) 4. 5. 6. 7. 8. 1 2 3 1 // pseudo code 2 read a character 3 while there is more input 4 increment character count 5 if a line has been read,

More information

untitled

untitled XZL024 http://item.taobao.com/item.htm?id=6321822194 1 1 1.1 1.2 1.3 1.4 2 2.1 2.2 2.3 3 USBee Suite 3.1 3.2 3.3 3.4 4 RS232 RS485 RS422 CAN http://item.taobao.com/item.htm?id=6321822194 2 1 XZL024 PC

More information

目 录 1. 概 述... 6 2. 导 航 模 块... 7 2.1. 主 页...7 2.2. 发 现...8 2.3. 分 享...8 2.4. 消 息...9 2.5. 我...9 3. 核 心 功 能... 10 3.1. 注 册 / 登 录... 10 3.1.1. 注 册... 10

目 录 1. 概 述... 6 2. 导 航 模 块... 7 2.1. 主 页...7 2.2. 发 现...8 2.3. 分 享...8 2.4. 消 息...9 2.5. 我...9 3. 核 心 功 能... 10 3.1. 注 册 / 登 录... 10 3.1.1. 注 册... 10 ThinkSNS V4.0 Android 端 使 用 手 册 智 士 软 件 ( 北 京 ) 有 限 公 司 ZhiShiSoft (Beijing) Co,. Ltd. Copyright ZhiShiSoft Co., Ltd. All rights reserved. www.thinksns.com 1 目 录 1. 概 述... 6 2. 导 航 模 块... 7 2.1. 主 页...7

More information

エスポラージュ株式会社 住所 : 東京都江東区大島 東急ドエルアルス大島 HP: ******************* * 关于 Java 测试试题 ******

エスポラージュ株式会社 住所 : 東京都江東区大島 東急ドエルアルス大島 HP:  ******************* * 关于 Java 测试试题 ****** ******************* * 关于 Java 测试试题 ******************* 問 1 运行下面的程序, 选出一个正确的运行结果 public class Sample { public static void main(string[] args) { int[] test = { 1, 2, 3, 4, 5 ; for(int i = 1 ; i System.out.print(test[i]);

More information

51 C 51 isp 10 C PCB C C C C KEIL

51 C 51 isp 10   C   PCB C C C C KEIL http://wwwispdowncom 51 C " + + " 51 AT89S51 In-System-Programming ISP 10 io 244 CPLD ATMEL PIC CPLD/FPGA ARM9 ISP http://wwwispdowncom/showoneproductasp?productid=15 51 C C C C C ispdown http://wwwispdowncom

More information

新版 明解C言語入門編

新版 明解C言語入門編 328, 4, 110, 189, 103, 11... 318. 274 6 ; 10 ; 5? 48 & & 228! 61!= 42 ^= 66 _ 82 /= 66 /* 3 / 19 ~ 164 OR 53 OR 164 = 66 ( ) 115 ( ) 31 ^ OR 164 [] 89, 241 [] 324 + + 4, 19, 241 + + 22 ++ 67 ++ 73 += 66

More information

untitled

untitled MPICH anzhulin@sohu.com 1 MPICH for Microsoft Windows 1.1 MPICH for Microsoft Windows Windows NT4/2000/XP Professional Server Windows 95/98 TCP/IP MPICH MS VC++ 6.x MS VC++.NET Compaq Visual Fortran 6.x

More information

C PICC C++ C++ C C #include<pic.h> C static volatile unsigned char 0x01; static volatile unsigned char 0x02; static volatile unsigned cha

C PICC C++ C++ C C #include<pic.h> C static volatile unsigned char 0x01; static volatile unsigned char 0x02; static volatile unsigned cha CYPOK CYPOK 1 UltraEdit Project-->Install Language Tool: Language Suite----->hi-tech picc Tool Name ---->PICC Compiler Executable ---->c:hi-picinpicc.exe ( Command-line Project-->New Project-->File Name--->myc

More information

第11章 可调内核参数

第11章 可调内核参数 11 11 Unix BSD 4.4 Linux sysctl Unix Linux /proc window /proc /proc/sys /proc/sys sysctl Unix root /proc/sys/vm root /proc/sys sysctl /proc/sys struct ctl_table 18274 struct ctl_tables /proc/sys struct

More information

Microsoft Word - MSP430 Launchpad 指导书.docx

Microsoft Word - MSP430 Launchpad 指导书.docx Contents 3... 9... 14 MSP430 LAUNCHPAD 指导书 3 第一部分第一个工程 New Project File > New > CCS Project Project name: ButtonLED Device>Family: MSP430 Variant: MSP430G2553 Project templates and examples : Empty Project

More information

1.ai

1.ai HDMI camera ARTRAY CO,. LTD Introduction Thank you for purchasing the ARTCAM HDMI camera series. This manual shows the direction how to use the viewer software. Please refer other instructions or contact

More information

untitled

untitled Lwip Swedish Institute of Computer Science February 20, 2001 Adam Dunkels adam@sics.se (QQ: 10205001) (QQ: 329147) (QQ:3232253) (QQ:3232253) QQ ARM TCPIP LCD10988210 LWIP TCP/IP LWIP LWIP lwip API lwip

More information

IT (1) IDE... 2 (2) BIOS IDE RAID... 3 (3) RAID BIOS RAID... 5 (4) R A I D (5) ID E RA ID... 15

IT (1) IDE... 2 (2) BIOS IDE RAID... 3 (3) RAID BIOS RAID... 5 (4) R A I D (5) ID E RA ID... 15 IT8212...2 (1) IDE... 2 (2) BIOS IDE RAID... 3 (3) RAID BIOS RAID... 5 (4) R A I D... 13 (5) ID E RA ID... 15 Ác Åé å IT8212 (1) IDE (2) BIOS IDE RAID (3) RAID BIOS RAID (4) RAID (5) RAID (a) ( )IDE (

More information

C++ 程式設計

C++ 程式設計 C C 料, 數, - 列 串 理 列 main 數串列 什 pointer) 數, 數, 數 數 省 不 不, 數 (1) 數, 不 數 * 料 * 數 int *int_ptr; char *ch_ptr; float *float_ptr; double *double_ptr; 數 (2) int i=3; int *ptr; ptr=&i; 1000 1012 ptr 數, 數 1004

More information

bingdian001.com

bingdian001.com TSM12M TSM12 STM8L152C6, STM8L152R8 MSP430F5325 whym1987@126.com! /******************************************************************************* * : TSM12.c * : * : 2013/10/21 * : TSM12, STM8L f(sysclk)

More information

PTS7_Manual.PDF

PTS7_Manual.PDF User Manual Soliton Technologies CO., LTD www.soliton.com.tw - PCI V2.2. - PCI 32-bit / 33MHz * 2 - Zero Skew CLK Signal Generator. - (each Slot). -. - PCI. - Hot-Swap - DOS, Windows 98/2000/XP, Linux

More information

员工签到录

员工签到录 Archivist 2002 Eletech Enterprise Co., Ltd. All Rights Reserved. 1-1 ELETECH VOICE SYSTEMS INC 2 / 2 VLR, 1-1-1 VP894AS-M11 1. VP894AS-M11 1 2. Y 4 3. RJII 4 4. 2-PIN 1 5. VLR 1 2 3 4 ELETECH VOICE SYSTEMS

More information

C H A P T E R 7 Windows Vista Windows Vista Windows Vista FAT16 FAT32 NTFS NTFS New Technology File System NTFS

C H A P T E R 7 Windows Vista Windows Vista Windows Vista FAT16 FAT32 NTFS NTFS New Technology File System NTFS C H P T E R 7 Windows Vista Windows Vista Windows VistaFT16 FT32NTFS NTFSNew Technology File System NTFS 247 6 7-1 Windows VistaTransactional NTFS TxFTxF Windows Vista MicrosoftTxF CIDatomicity - Consistency

More information

6 C51 ANSI C Turbo C C51 Turbo C C51 C51 C51 C51 C51 C51 C51 C51 C C C51 C51 ANSI C MCS-51 C51 ANSI C C C51 bit Byte bit sbit

6 C51 ANSI C Turbo C C51 Turbo C C51 C51 C51 C51 C51 C51 C51 C51 C C C51 C51 ANSI C MCS-51 C51 ANSI C C C51 bit Byte bit sbit 6 C51 ANSI C Turbo C C51 Turbo C C51 C51 C51 C51 C51 C51 C51 C51 C51 6.1 C51 6.1.1 C51 C51 ANSI C MCS-51 C51 ANSI C C51 6.1 6.1 C51 bit Byte bit sbit 1 0 1 unsigned char 8 1 0 255 Signed char 8 11 128

More information

Microsoft PowerPoint - os_4.ppt

Microsoft PowerPoint - os_4.ppt 行 程 資 科 系 林 偉 川 行 程 概 念 行 程 與 程 式 主 要 的 不 同 點 : 程 式 是 被 放 在 外 部 的 儲 存 裝 置 如 磁 碟 上, 而 行 程 則 被 放 在 記 憶 體 中 程 式 在 儲 存 裝 置 中 是 靜 態 的, 而 行 程 在 記 憶 體 中 是 動 態 的, 它 會 隨 著 一 些 事 件 的 發 生 而 產 生 相 對 的 改 變 行 程, 就 是

More information

C/C++语言 - C/C++数据

C/C++语言 - C/C++数据 C/C++ C/C++ Table of contents 1. 2. 3. 4. char 5. 1 C = 5 (F 32). 9 F C 2 1 // fal2cel. c: Convert Fah temperature to Cel temperature 2 # include < stdio.h> 3 int main ( void ) 4 { 5 float fah, cel ;

More information

The golden pins of the PCI card can be oxidized after months or years

The golden pins of the PCI card can be oxidized after months or years Q. 如何在 LabWindows/CVI 編譯 DAQ Card 程式? A: 請參考至下列步驟 : 步驟 1: 安裝驅動程式 1. 安裝 UniDAQ 驅動程式 UniDAQ 驅動程式下載位置 : CD:\NAPDOS\PCI\UniDAQ\DLL\Driver\ ftp://ftp.icpdas.com/pub/cd/iocard/pci/napdos/pci/unidaq/dll/driver/

More information

一 土 地 市 场 1 土 地 供 应 2016 年 第 19 周 (2016 年 5 月 2 日 2016 年 5 月 8 日 ), 北 京 供 应 土 地 0 宗 2016 年 第 19 周 北 京 房 地 产 市 场 土 地 供 应 一 览 表 地 块 面 积 宗 地 号 / 名 称 交 易

一 土 地 市 场 1 土 地 供 应 2016 年 第 19 周 (2016 年 5 月 2 日 2016 年 5 月 8 日 ), 北 京 供 应 土 地 0 宗 2016 年 第 19 周 北 京 房 地 产 市 场 土 地 供 应 一 览 表 地 块 面 积 宗 地 号 / 名 称 交 易 2016 年 第 19 周 2016.5.2-2016.5.8 北 京 / 市 场 周 报 第 19 周 : 五 月 首 周 一 二 手 房 成 交 热 度 降 低 土 地 市 场 再 现 热 潮 2016 年 第 19 周 (2016 年 5 月 2 日 2016 年 5 月 8 日 ), 北 京 供 应 土 地 0 宗, 成 交 3 宗, 新 增 预 售 证 2 个 北 京 商 品 住 宅 市

More information

Table of Contents

Table of Contents 中國人史綱 提要 柏楊的 中國人史綱 是他十年牢獄生活的血淚之作 在極端惡劣的 環境下 從卷帙浩繁的中國史冊中寫成 史綱 除了大脈絡 更重要的 是大關節的操持 這要有史識 柏楊顯然有他紮實的史料工夫 整體的掌 握應不成問題 他以一百年為 一世紀 作為敘述單元 先把中國史分成 非信史與信史 前者從神話 傳說到半信史時代 後者從紀元前九世紀開 始說起 一章一世紀以迄於晚清 這個大脈絡很清楚 而既稱 史之綱要

More information

ESP-Jumpstart

ESP-Jumpstart 2016-2019 2019 08 08 Contents 1 3 1.1 ESP32.............................. 3 1.2.................................................. 5 2 7 2.1............................................. 7 2.2 ESP-IDF............................................

More information

全国计算机技术与软件专业技术资格(水平)考试

全国计算机技术与软件专业技术资格(水平)考试 全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 ) 考 试 2008 年 上 半 年 程 序 员 下 午 试 卷 ( 考 试 时 间 14:00~16:30 共 150 分 钟 ) 试 题 一 ( 共 15 分 ) 阅 读 以 下 说 明 和 流 程 图, 填 补 流 程 图 中 的 空 缺 (1)~(9), 将 解 答 填 入 答 题 纸 的 对 应 栏 内 [ 说 明

More information

网名 鱼树 的学员聂龙浩, 学习 韦东山 Linux 视频第 2 期 时所写的笔记很详细, 供大家参考 也许有错漏, 请自行分辨 目录 驱动框架分析 内核中的理解 : 内核这样理解 :... 2 RTC 测试 RTC:

网名 鱼树 的学员聂龙浩, 学习 韦东山 Linux 视频第 2 期 时所写的笔记很详细, 供大家参考 也许有错漏, 请自行分辨 目录 驱动框架分析 内核中的理解 : 内核这样理解 :... 2 RTC 测试 RTC: 网名 鱼树 的学员聂龙浩, 学习 韦东山 Linux 视频第 2 期 时所写的笔记很详细, 供大家参考 也许有错漏, 请自行分辨 目录 驱动框架分析... 2 1. 2.4 内核中的理解 :... 2 2. 2.6 内核这样理解 :... 2 RTC... 6 1. 测试 RTC:... 11 1. 1. 修改 arch\arm\plat-s3c24xx\common-smdk.c... 11 2.

More information

C 1

C 1 C homepage: xpzhangme 2018 5 30 C 1 C min(x, y) double C // min c # include # include double min ( double x, double y); int main ( int argc, char * argv []) { double x, y; if( argc!=

More information

untitled

untitled XP248 1 XP248 XP248 DCS PLC SCnet SCnet DCS SCnet DCS 1.1 XP248 Modbus HostLink Modbus XP248 4 DB25 XP248 MODBUS XP248 SCControl XP248 4 RS232 RS485 4 32 XP248 COM0-COM1 COM2-COM3 1200 19200bit/s 5 8 1

More information

06-4.indd

06-4.indd 1 02 07 13 16 20 28 33 38 42 46 48 51 57 64 65 65 66 67 68 2 3 4 5 6 7 8 9 10 11 12 13 LL T : 14 LL T 15 16 扫描电子显微镜成像模拟的 MPI 及 OpenMP 并行化 17 18 19 20 21 22 ~ ~ ~ 23 24 ~ ~ ~ ~ ~ ~ ~ 25 26 27 28 29 图 3

More information

All Rights Reserved, National Library Board, Singapore All Rights Reserved, National Library Board, Singapore All Rights Reserved, National Library Board, Singapore All Rights Reserved, National Library

More information

All Rights Reserved, National Library Board, Singapore All Rights Reserved, National Library Board, Singapore All Rights Reserved, National Library Board, Singapore All Rights Reserved, National

More information

All Rights Reserved, National Library Board, Singapore All Rights Reserved, National Library Board, Singapore All Rights Reserved, National Library Board, Singapore All Rights Reserved, National Library

More information

Microsoft Word - 正文.doc

Microsoft Word - 正文.doc 1 2 1 2 3 4 5 6 7 8 9 10 3 1 150 2 150 1 1 1.1 1.1.1 1.2 1.2.1 1.2.2 1.2.3 1.3 1.3.1 1.3.2 1.4 1.4.1 CPU 1.4.2 I/O 1.4.3 I/O 1.5 1.5.1 CISC RISC 1.5.2 1.5.3 1.6 1.6.1 1.6.2 N 1.6.3 2 2.1 2.1.1 2.1.2 2.1.3

More information

FPGA GJVZsIPb3 IPb3pg(lwE & by2eh;[d)y IP ROM

FPGA GJVZsIPb3 IPb3pg(lwE & by2eh;[d)y IP ROM FPGA IPb3pg(lwE & by2eh;[d)y IP ROM NVMe SSD FPGA!! NVMe-IP 32G bps Gen3 x 4Lane IP CPUNVMe PCIe SSD 4GB/sec, PCIe Gen3 2ch RAID CPU FAT32 SMART, Shutdown, FLUSH!! Linux Gen3 PCIe SSD 2ch RAID 2ch RAID

More information

Microsoft Word - 第3章.doc

Microsoft Word - 第3章.doc Java C++ Pascal C# C# if if if for while do while foreach while do while C# 3.1.1 ; 3-1 ischeck Test() While ischeck while static bool ischeck = true; public static void Test() while (ischeck) ; ischeck

More information