[go: up one dir, main page]

CN103051736B - A kind of processing method of control information and I2C bus apparatus - Google Patents

A kind of processing method of control information and I2C bus apparatus Download PDF

Info

Publication number
CN103051736B
CN103051736B CN201210361256.6A CN201210361256A CN103051736B CN 103051736 B CN103051736 B CN 103051736B CN 201210361256 A CN201210361256 A CN 201210361256A CN 103051736 B CN103051736 B CN 103051736B
Authority
CN
China
Prior art keywords
bus
control
control chip
input
control information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210361256.6A
Other languages
Chinese (zh)
Other versions
CN103051736A (en
Inventor
胡家安
刘尚林
陈志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xinbang Zhixin Microelectronics Co ltd
Original Assignee
SHENZHEN CHIPSBANK TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN CHIPSBANK TECHNOLOGY Co Ltd filed Critical SHENZHEN CHIPSBANK TECHNOLOGY Co Ltd
Priority to CN201210361256.6A priority Critical patent/CN103051736B/en
Publication of CN103051736A publication Critical patent/CN103051736A/en
Application granted granted Critical
Publication of CN103051736B publication Critical patent/CN103051736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

本发明实施例公开了一种控制信息的处理方法和I2C总线设备,其中方法包括:I2C总线设备从I2C总线主机在I2C总线上发送的控制信息中获取控制信息携带的设备地址,I2C总线设备包括有两个设备地址:第一设备地址和第二设备地址;若控制信息携带的设备地址与第一设备地址相同,I2C总线设备将触摸按键控制芯片的I/O端口配置为输入控制,以使触摸按键控制芯片根据控制信息进行输入数据的采集控制;若控制信息携带的设备地址与第二设备地址相同,I2C总线设备将触摸按键控制芯片的I/O端口配置为输出控制,以使触摸按键控制芯片根据控制信息对与触摸按键控制芯片相连的被驱动设备进行控制操作。

The embodiment of the present invention discloses a method for processing control information and an I2C bus device, wherein the method includes: the I2C bus device obtains the device address carried in the control information from the control information sent by the I2C bus master on the I2C bus, and the I2C bus device includes: There are two device addresses: the first device address and the second device address; if the device address carried by the control information is the same as the first device address, the I2C bus device configures the I/O port of the touch key control chip as input control, so that The touch button control chip collects and controls the input data according to the control information; if the device address carried by the control information is the same as the address of the second device, the I2C bus device configures the I/O port of the touch button control chip as output control, so that the touch button The control chip controls and operates the driven device connected to the touch button control chip according to the control information.

Description

一种控制信息的处理方法和I2C总线设备A processing method of control information and I2C bus device

技术领域 technical field

本发明涉及触摸感应技术领域,尤其涉及一种控制信息的处理方法和I2C总线设备。The invention relates to the technical field of touch sensing, in particular to a method for processing control information and an I2C bus device.

背景技术 Background technique

在目前的触摸按键控制芯片中,触摸按键控制芯片都会有专用的输入输出(I/O,Input/Output)端口地址,用来处理自己的输入输出信息,触摸按键控制芯片通常进行的输出控制包括:直接驱动发光二极管(LED,Light EmittingDiode)灯,风扇,继电器等开关控制,触摸按键控制芯片通常进行的输入控制包括:键盘输入,定时器/传感器等检测输入。In the current touch key control chip, the touch key control chip will have a dedicated input and output (I/O, Input/Output) port address to process its own input and output information. The output control usually performed by the touch key control chip includes : Directly drive light-emitting diode (LED, Light EmittingDiode) lamps, fans, relays, etc. for switch control, and the input control usually performed by the touch key control chip includes: keyboard input, timer/sensor and other detection input.

现有技术中,使用触摸按键控制芯片的产品设备在实现开关控制或者检测输入时都需要使用各自的I/O端口,也就是说,该产品设备在使用I/O端口进行开关控制时是无法进行检测输入的,在使用I/O端口进行检测输入时同样也是无法进行开关控制的。但是产品设备在一些实际的应用中却需要同时进行输入输出控制,例如使用触摸按键控制芯片的产品设备既需要进行传感器(sensor)扫描又同时需要启动LED灯。In the prior art, the product equipment using the touch button control chip needs to use its own I/O port when realizing switch control or detecting input, that is to say, the product equipment cannot use the I/O port for switch control. For detection input, the switch control cannot be performed when using the I/O port for detection input. However, in some practical applications, the product equipment needs to control the input and output at the same time. For example, the product equipment using the touch button control chip needs to scan the sensor and start the LED light at the same time.

现有技术中为了能够同时进行输入输出控制,通常采用的方法是在产品设备中增设更多的I/O端口,以使多个I/O端口分别进行输入控制或者输出控制,还有一种方法是在产品设备中安装两个触摸按键控制芯片,分别使用不同的触摸按键控制芯片进行输入控制或者输出控制,由于需要在产品设备中增设I/O端口或者触摸按键控制芯片,现有技术中采用的这两种方式都会大大增加产品设计时的价格成本,如何不增设I/O端口且使用同一个触摸按键控制芯片实现输入输出控制,也就是如何在不增加产品设备的价格成本的情况下实现产品设备既能进行开关控制又能进行检测输入成为了业界讨论的一个难题。In the prior art, in order to be able to control input and output at the same time, the usual method is to add more I/O ports in the product equipment, so that multiple I/O ports can perform input control or output control respectively. There is another method It is to install two touch button control chips in the product equipment, and use different touch button control chips for input control or output control respectively. Since it is necessary to add I/O ports or touch button control chips in the product equipment, the existing technology uses These two methods will greatly increase the price and cost of product design. How to use the same touch button control chip to realize input and output control without adding I/O ports, that is, how to realize it without increasing the price and cost of product equipment? It has become a difficult problem to discuss in the industry that the product equipment can perform both switch control and detection input.

发明内容 Contents of the invention

本发明实施例提供了一种控制信息的处理方法和I2C总线设备,用于通过一个触摸按键控制芯片的同一组I/O端口实现输入输出控制。The embodiment of the present invention provides a method for processing control information and an I2C bus device, which are used to realize input and output control through the same group of I/O ports of a touch button control chip.

为解决上述技术问题,本发明实施例提供以下技术方案:In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:

第一方面,本发明实施例提供一种控制信息的处理方法,包括:In a first aspect, an embodiment of the present invention provides a method for processing control information, including:

内部集成电路I2C总线设备从I2C总线主机在I2C总线上发送的控制信息中获取所述控制信息携带的设备地址,所述I2C总线设备包括有两个设备地址:第一设备地址和第二设备地址;The internal integrated circuit I2C bus device obtains the device address carried by the control information from the control information sent by the I2C bus master on the I2C bus, and the I2C bus device includes two device addresses: a first device address and a second device address ;

若所述控制信息携带的设备地址与所述第一设备地址相同,所述I2C总线设备将触摸按键控制芯片的输入输出I/O端口配置为输入控制,以使所述触摸按键控制芯片根据所述控制信息进行输入数据的采集控制;If the device address carried in the control information is the same as the first device address, the I2C bus device configures the input and output I/O ports of the touch key control chip as input control, so that the touch key control chip The above control information is used to collect and control the input data;

若所述控制信息携带的设备地址与所述第二设备地址相同,所述I2C总线设备将所述触摸按键控制芯片的I/O端口配置为输出控制,以使所述触摸按键控制芯片根据所述控制信息对与所述触摸按键控制芯片相连的被驱动设备进行控制操作。If the device address carried in the control information is the same as the second device address, the I2C bus device configures the I/O port of the touch key control chip as output control, so that the touch key control chip The control information is used to control and operate the driven device connected to the touch key control chip.

第二方面,本发明实施例还提供一种I2C总线设备,包括:In the second aspect, the embodiment of the present invention also provides an I2C bus device, including:

地址获取单元,用于从I2C总线主机在I2C总线上发送的控制信息中获取所述控制信息携带的设备地址,所述I2C总线设备包括有两个设备地址:第一设备地址和第二设备地址;The address obtaining unit is used to obtain the device address carried by the control information from the control information sent by the I2C bus master on the I2C bus, and the I2C bus device includes two device addresses: a first device address and a second device address ;

第一配置单元,用于当所述控制信息携带的设备地址与所述第一设备地址相同时,将触摸按键控制芯片的输入输出I/O端口配置为输入控制,以使所述触摸按键控制芯片根据所述控制信息进行输入数据的采集控制;The first configuration unit is configured to configure the input and output I/O ports of the touch key control chip as input control when the device address carried in the control information is the same as the first device address, so that the touch key control The chip performs collection and control of input data according to the control information;

第二配置单元,用于当所述控制信息携带的设备地址与所述第二设备地址相同时,将所述触摸按键控制芯片的I/O端口配置为输出控制,以使所述触摸按键控制芯片根据所述控制信息对与所述触摸按键控制芯片相连的被驱动设备进行控制操作。The second configuration unit is configured to configure the I/O port of the touch key control chip as output control when the device address carried in the control information is the same as the second device address, so that the touch key control chip The chip controls and operates the driven device connected to the touch key control chip according to the control information.

从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:

在本发明实施例中,I2C总线设备包括有两个设备地址:第一设备地址和第二设备地址,如果I2C总线主机发送的控制信息携带第一设备地址,I2C总线设备将触摸按键控制芯片的I/O端口配置为输入控制,以使触摸按键控制芯片根据控制信息进行输入数据的采集控制,如果I2C总线主机发送的控制信息携带第二设备地址,I2C总线设备将触摸按键控制芯片的I/O端口配置为输出控制,以使触摸按键控制芯片根据控制信息对被驱动设备进行控制操作,为I2C总线设备配置两个设备地址之后,就可以通过一个触摸按键控制芯片的同一组I/O端口实现输入控制和输出控制,而不需要再增设I/O端口,也不需要增设触摸按键控制芯片,不会增加产品设计时的价格成本。In the embodiment of the present invention, the I2C bus device includes two device addresses: the first device address and the second device address. If the control information sent by the I2C bus master carries the first device address, the I2C bus device will touch the button to control the chip. The I/O port is configured as input control, so that the touch button control chip performs the collection and control of input data according to the control information. If the control information sent by the I2C bus master carries the second device address, the I2C bus device will touch the I/O of the button control chip. The O port is configured as output control, so that the touch button control chip can control the driven device according to the control information. After configuring two device addresses for the I2C bus device, you can control the same group of I/O ports of the chip through a touch button To realize input control and output control, there is no need to add I/O ports, and no need to add touch key control chips, which will not increase the price and cost of product design.

附图说明 Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings.

图1为本发明实施例提供的控制信息的处理方法的流程方框示意图;FIG. 1 is a schematic flow block diagram of a method for processing control information provided by an embodiment of the present invention;

图2为本发明实施例提供的I2C写数据协议包的帧结构示意图;Fig. 2 is the frame structure schematic diagram of the I2C writing data agreement packet that the embodiment of the present invention provides;

图3为本发明实施例提供的I2C读数据协议包的帧结构示意图;3 is a schematic diagram of the frame structure of the I2C read data protocol packet provided by the embodiment of the present invention;

图4为本发明实施例提供的控制信息的处理方法的实现架构示意图;FIG. 4 is a schematic diagram of an implementation architecture of a method for processing control information provided by an embodiment of the present invention;

图5为本发明实施例提供的控制信息的处理方法的实现流程示意图;FIG. 5 is a schematic flowchart of an implementation process of a method for processing control information provided by an embodiment of the present invention;

图6为本发明实施例提供的I2C总线设备的组成结构示意图。FIG. 6 is a schematic diagram of the composition and structure of an I2C bus device provided by an embodiment of the present invention.

具体实施方式 Detailed ways

本发明实施例提供了一种控制信息的处理方法和I2C总线设备,用于通过一个触摸按键控制芯片的同一组I/O端口实现输入输出控制。The embodiment of the present invention provides a method for processing control information and an I2C bus device, which are used to realize input and output control through the same group of I/O ports of a touch button control chip.

为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部实施例。基于本发明中的实施例,本领域的技术人员所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

本发明实施例提供的控制信息的处理方法,如图1所示,包括如下步骤:The method for processing control information provided by the embodiment of the present invention, as shown in FIG. 1 , includes the following steps:

101、内部集成电路(I2C,Inter-Integrated Circuit)总线设备从I2C总线主机在I2C总线上发送的控制信息中获取控制信息携带的设备地址,其中,I2C总线设备包括有两个设备地址:第一设备地址和第二设备地址。101. The inter-integrated circuit (I2C, Inter-Integrated Circuit) bus device obtains the device address carried in the control information from the control information sent by the I2C bus master on the I2C bus. Among them, the I2C bus device includes two device addresses: the first device address and second device address.

本发明实施例中提供的一个I2C总线设备配置有两个设备地址,分别命名为第一设备地址和第二设备地址,也就是说,本发明实施例中,对于一个I2C总线设备拥有的是两个不同的设备地址,这与现有技术中常用的一个I2C总线设备只配置有一个设备地址是有实质性区别的,而不仅仅是设备地址个数上的增加,而是改变了I2C总线设备的实际功能。An I2C bus device provided in the embodiment of the present invention is configured with two device addresses, which are respectively named as the first device address and the second device address. That is to say, in the embodiment of the present invention, an I2C bus device has two different device addresses, which is substantially different from an I2C bus device commonly used in the prior art with only one device address, not just an increase in the number of device addresses, but a change in the number of I2C bus devices actual function.

I2C总线主机作为主机(英文全称为Host),通过I2C总线发送控制信息,在控制信息中携带有该控制信息需要被传送到的设备地址,该设备地址也就是目的设备地址,I2C总线主机在控制信息中携带不同的设备地址以表示该控制信息需要被传送到的I2C总线设备,I2C总线设备是作为从机(英文全称为device)的,例如,I2C总线主机为了能够得到键盘输入的数据而发送了控制信息a,在控制信息a中携带了设备地址a,以表示控制信息a需要被地址为设备地址a的设备接收并处理,若I2C总线主机为能够关闭继电器而发送了控制信息b,在控制信息b中携带了设备地址b,则表示控制信息b需要被地址为设备地址b的设备接收并处理,控制信息a和控制信息b则分别表示需要触摸按键控制芯片进行不同的控制处理,在本发明实施例中,若假设I2C总线设备同时拥有了设备地址a和设备地址b,则无论I2C总线主机发送的控制信息a还是控制信息b,都可以由I2C总线设备接收到,因为I2C总线设备同时拥有设备地址a和设备地址b。The I2C bus host acts as the host (English full name is Host), and sends control information through the I2C bus. The control information carries the address of the device to which the control information needs to be transmitted. The device address is also the address of the destination device. The I2C bus host is controlling The information carries different device addresses to indicate the I2C bus device that the control information needs to be transmitted to. The I2C bus device is used as a slave (English full name is device). For example, the I2C bus master sends data in order to obtain keyboard input The control information a carries the device address a in the control information a to indicate that the control information a needs to be received and processed by the device whose address is the device address a. If the I2C bus master sends the control information b to close the relay, then If the control information b carries the device address b, it means that the control information b needs to be received and processed by the device whose address is the device address b. In the embodiment of the present invention, if it is assumed that the I2C bus device has the device address a and the device address b at the same time, no matter the control information a or the control information b sent by the I2C bus master can be received by the I2C bus device, because the I2C bus device Have device address a and device address b at the same time.

需要说明的是,在本发明实施例中,I2C总线主机通过I2C总线发送的控制信息是I2C数据协议包,在实际应用中,根据I2C总线主机需要触摸按键控制芯片进行不同的控制处理,I2C总线主机下发的控制信息可以是I2C写数据协议包,控制信息也可以是I2C读数据协议包,例如,I2C总线主机需要通过触摸按键控制芯片得到感应器(英文全称为sensor)的扫描数据,那么I2C总线主机需要下发的控制信息是I2C读数据协议包,若I2C总线主机需要通过触摸按键控制芯片驱动发光二极管(LED,Light Emitting Diode)灯点亮,则I2C总线主机需要下发的控制信息是I2C写数据协议包。It should be noted that, in the embodiment of the present invention, the control information sent by the I2C bus master through the I2C bus is an I2C data protocol packet. The control information sent by the host can be an I2C write data protocol packet, and the control information can also be an I2C read data protocol packet. For example, the I2C bus host needs to touch the button to control the chip to obtain the scan data of the sensor (English full name is sensor), then The control information that the I2C bus host needs to issue is the I2C read data protocol packet. If the I2C bus host needs to touch the button to control the chip to drive the light-emitting diode (LED, Light Emitting Diode) to light up, the control information that the I2C bus host needs to issue It is the I2C write data protocol packet.

为了详细说明I2C写数据协议包和I2C读数据协议包,请参阅图2和图3,其中,图2为本发明实施例提供的I2C写数据协议包的帧结构示意图,图3为本发明实施例提供的I2C读数据协议包的帧结构示意图,请参阅如下表1中对I2C写数据协议包和I2C读数据协议包的符号说明:In order to describe in detail the I2C write data protocol packet and the I2C read data protocol packet, please refer to Figure 2 and Figure 3, wherein Figure 2 is a schematic diagram of the frame structure of the I2C write data protocol packet provided by the embodiment of the present invention, and Figure 3 is an implementation of the present invention For the frame structure diagram of the I2C read data protocol packet provided by the example, please refer to the symbol description of the I2C write data protocol packet and the I2C read data protocol packet in Table 1 below:

表1为对图2和图3中所示出的数据协议包的具体符号说明Table 1 is a specific symbolic description of the data protocol packets shown in Fig. 2 and Fig. 3

  序号 serial number   传输单元 Transmission unit   说明 illustrate   1 1   S S   开始位 start bit   2 2   SLA+W SLA+W  设备地址加上写比特(bit) Device address plus write bit (bit)   3 3   MemAddres MemAddres   设备存储地址 Device storage address   4 4   A A   确认信号 confirmation signal   5 5   P P   停止位 stop bit   6 6   SLA+R SLA+R  设备地址加上读比特(bit) Device address plus read bit (bit)   7 7   Data Data   传输数据 transfer data

需要说明的是,在图2中示出的是I2C写数据协议包的格式,主机发送给从机的I2C写数据协议包从“S”位开始,“SLA+W”其中的“SLA”表示在I2C写数据协议包中携带的设备地址为SLA,其中的“W”表示是用来写数据的,“MemAddres”表示所写的数据需要被存入的设备存储地址,“A”表示数据的接收方对数据的发送方发送数据段的确认信号,Data0至Data n表示传输数据的内容,“P”的含义是停止位,“P”与开始位相对应。在图3中示出的是I2C读数据协议包的格式,主机发送给从机的I2C读数据协议包从“S”位开始,“SLA+W”其中的“SLA”表示在I2C读数据协议包中携带的设备地址为SLA,其中的“W”表示是用来写数据的,“MemAddres”表示写入数据需要被存入的设备存储地址,“A”表示数据的接收方对数据的发送方发送数据段的确认信号,“P”的含义是停止位,“P”与开始位相对应,“SLA+R”其中的“SLA”表示在I2C读数据协议包中携带的设备地址为SLA,其中的“R”表示是用来读数据的,Data0至Data n表示传输数据的内容,“P”与开始位相对应。It should be noted that the format of the I2C write data protocol packet is shown in Figure 2. The I2C write data protocol packet sent by the master to the slave starts from the "S" bit, and "SLA" in "SLA+W" means The device address carried in the I2C write data protocol packet is SLA, where "W" indicates that it is used to write data, "MemAddres" indicates the storage address of the device where the written data needs to be stored, and "A" indicates the address of the data The receiver sends an acknowledgment signal for the data segment to the sender of the data. Data0 to Data n indicate the content of the transmitted data. "P" means the stop bit, and "P" corresponds to the start bit. Figure 3 shows the format of the I2C read data protocol packet. The I2C read data protocol packet sent by the master to the slave starts from the "S" bit, and "SLA+W" in which "SLA" indicates that the I2C read data protocol The device address carried in the package is SLA, where "W" indicates that it is used to write data, "MemAddres" indicates the storage address of the device where the written data needs to be stored, and "A" indicates that the receiver of the data sends the data "P" means the stop bit, "P" corresponds to the start bit, "SLA+R" in which "SLA" means that the device address carried in the I2C read data protocol packet is SLA, Among them, "R" indicates that it is used to read data, Data0 to Data n indicate the content of the transmitted data, and "P" corresponds to the start bit.

需要说明的是,通过步骤101的描述I2C总线设备从控制信息中获取到了该控制信息所携带的设备地址,然后I2C总线设备比较控制信息所携带的设备地址与该I2C总线设备自己的设备地址的关系,若控制信息携带的设备地址与第一设备地址相同,则执行步骤102,若控制信息携带的设备地址与第二设备地址相同,则执行步骤103。需要说明的是,本发明实施例中携带第一设备地址的控制信息表示的是I2C总线主机需要控制触摸按键控制芯片输入采集数据,若控制信息携带第二设备地址表示的是I2C总线主机需要控制触摸按键控制芯片对被驱动设备进行控制操作,在本发明实施例中I2C总线主机通过I2C总线与I2C总线设备连接起来,I2C总线设备通过一组I/O端口与触摸按键控制芯片连接起来,本发明实施例中,I2C总线设备通过该触摸按键控制芯片的同一组I/O端口就可以实现输入控制和输出控制,详细实现过程在步骤102和步骤103中逐一说明,这与现有技术中需要两个I/O端口或者需要两个触摸按键控制芯片相比较,可以降低产品设计时的价格成本,并且本发明实施例中输入控制和输出控制可以通过一个触摸按键控制芯片的同一组I/O端口进行时分复用,节省触摸按键控制芯片和I/O端口资源,节约资源成本。It should be noted that, through the description of step 101, the I2C bus device obtains the device address carried in the control information from the control information, and then the I2C bus device compares the device address carried in the control information with the device address of the I2C bus device itself. relationship, if the device address carried in the control information is the same as the first device address, perform step 102, and if the device address carried in the control information is the same as the second device address, perform step 103. It should be noted that, in the embodiment of the present invention, the control information carrying the first device address indicates that the I2C bus host needs to control the touch button control chip to input and collect data, and if the control information carries the second device address, it indicates that the I2C bus host needs to control The touch button control chip controls and operates the driven device. In the embodiment of the present invention, the I2C bus host is connected to the I2C bus device through the I2C bus, and the I2C bus device is connected to the touch button control chip through a set of I/O ports. In the embodiment of the invention, the I2C bus device can realize input control and output control through the same group of I/O ports of the touch button control chip, and the detailed implementation process is explained one by one in step 102 and step 103, which is different from the needs in the prior art. Compared with two I/O ports or two touch button control chips, the price and cost of product design can be reduced, and in the embodiment of the present invention, the input control and output control can be controlled by the same group of I/O chips of a touch button Ports are time-division multiplexed, saving touch key control chip and I/O port resources, and saving resource costs.

102、若控制信息携带的设备地址与第一设备地址相同,I2C总线设备将触摸按键控制芯片的输入输出(I/O,Input/Output)端口配置为输入控制,以使触摸按键控制芯片根据控制信息进行输入数据的采集控制。102. If the device address carried in the control information is the same as the first device address, the I2C bus device configures the input/output (I/O, Input/Output) port of the touch button control chip as input control, so that the touch button control chip according to the control information to control the collection of input data.

在本发明实施例中,I2C总线设备通过步骤101获取到了控制信息所携带的设备地址,若I2C总线设备发现控制信息中携带的设备地址为第一设备地址,即I2C总线设备发现控制信息携带的设备地址与第一设备地址相同,I2C总线设备将触摸按键控制芯片的I/O端口配置为输入控制,则当触摸按键控制芯片的I/O端口被配置成输入控制时,触摸按键控制芯片就可以根据该控制信息进行输入数据的采集控制。In the embodiment of the present invention, the I2C bus device obtains the device address carried in the control information through step 101. If the I2C bus device finds that the device address carried in the control information is the first device address, that is, the I2C bus device discovers the device address carried in the control information. The device address is the same as the first device address, and the I2C bus device configures the I/O port of the touch key control chip as input control, then when the I/O port of the touch key control chip is configured as input control, the touch key control chip is Acquisition control of input data can be performed based on the control information.

需要说明的是,在本发明实施例中,对于I2C总线设备将触摸按键控制芯片的I/O端口配置为输入控制,作为其中一种可以实现的方式是,具体可以包括:It should be noted that, in the embodiment of the present invention, for the I2C bus device, configuring the I/O port of the touch button control chip as input control, as one of the possible implementation methods, may specifically include:

A1、I2C总线设备将触摸按键控制芯片的I/O端口配置为采集键盘输入的数据,以使触摸按键控制芯片向I2C总线设备反馈键盘输入的数据;A1. The I2C bus device configures the I/O port of the touch button control chip to collect the data input by the keyboard, so that the touch button control chip feeds back the data input by the keyboard to the I2C bus device;

或,A2、I2C总线设备将触摸按键控制芯片的I/O端口配置为检测定时器输入的数据,以使触摸按键控制芯片向I2C总线设备反馈定时器的数据;Or, A2, the I2C bus device configures the I/O port of the touch button control chip to detect the data input by the timer, so that the touch button control chip feeds back the data of the timer to the I2C bus device;

或,A3、I2C总线设备将触摸按键控制芯片的I/O端口配置为检测传感器(sensor)扫描输入的数据,以使触摸按键控制芯片向I2C总线设备反馈传感器扫描到的数据Or, A3, the I2C bus device configures the I/O port of the touch button control chip to detect the data scanned by the sensor (sensor), so that the touch button control chip feeds back the data scanned by the sensor to the I2C bus device

对于步骤A1,携带第一设备地址的控制信息指示触摸按键控制芯片采集键盘输入的数据,则I2C总线设备接收到该控制信息之后,就将触摸按键控制芯片的I/O端口配置为采集键盘输入的数据,则当I/O端口配置为采集键盘输入的数据之后,触摸按键控制芯片就可以对外围连接设备键盘输入的数据进行采集,然后通过I/O端口触摸按键控制芯片向I2C总线设备反馈采集到的数据。For step A1, the control information carrying the first device address instructs the touch button control chip to collect keyboard input data, and after the I2C bus device receives the control information, it configures the I/O port of the touch button control chip to collect keyboard input data, then when the I/O port is configured to collect the data input by the keyboard, the touch key control chip can collect the data input by the keyboard of the peripheral connection device, and then feed back to the I2C bus device through the I/O port touch key control chip collected data.

对于步骤A2和步骤A3,携带第一设备地址的控制信息指示触摸按键控制芯片检测定时器或者传感器输入的数据,则I2C总线设备接收到该控制信息之后,就将触摸按键控制芯片的I/O端口配置为检测定时器或者传感器输入的数据,当I/O端口配置为检测定时器或者传感器输入的数据之后,触摸按键控制芯片就可以对定时器或者传感器进行检测扫描,然后通过I/O端口触摸按键控制芯片向I2C总线设备反馈检测到的数据。For step A2 and step A3, the control information carrying the first device address indicates that the touch button control chip detects the timer or the data input by the sensor, then after the I2C bus device receives the control information, it will touch the I/O of the button control chip The port is configured to detect the data input by the timer or sensor. When the I/O port is configured to detect the data input by the timer or sensor, the touch key control chip can detect and scan the timer or sensor, and then pass the I/O port The touch button control chip feeds back the detected data to the I2C bus device.

需要说明的是,在本发明实施例中,步骤102中I2C总线设备将触摸按键控制芯片的输入输出I/O端口配置为输入控制,之后还可以包括如下步骤:It should be noted that, in the embodiment of the present invention, in step 102, the I2C bus device configures the input and output I/O ports of the touch button control chip as input control, and then may further include the following steps:

B1、I2C总线设备接收触摸按键控制芯片传输的输入控制的数据;B1. The I2C bus device receives the input control data transmitted by the touch button control chip;

B2、I2C总线设备使用第一设备地址将输入控制的数据发送给I2C总线主机。B2. The I2C bus device uses the first device address to send the input control data to the I2C bus master.

对于步骤B1,在步骤102中I/O端口被配置为输入控制之后,触摸按键控制芯片就根据携带第一设备地址的控制信息进行输入数据的采集控制,触摸按键控制芯片采集到输入控制的数据之后,I2C总线设备就可以通过触摸按键控制芯片与I2C总线设备之间连接的I/O端口接收到该输入控制的数据,由于步骤102中I2C总线设备是基于携带了第一设备地址的控制信息而将触摸按键控制芯片的I/O端口配置为输入控制,在步骤B2中,I2C总线设备使用第一设备地址将输入控制的数据发送给I2C总线主机,以实现I2C总线主机发送控制信息需要收到的回馈。For step B1, after the I/O port is configured as input control in step 102, the touch button control chip performs the collection and control of input data according to the control information carrying the first device address, and the touch button control chip collects the data of input control After that, the I2C bus device can receive the input control data through the I/O port connected between the touch button control chip and the I2C bus device, because the I2C bus device in step 102 is based on the control information carrying the first device address And configure the I/O port of the touch button control chip as input control, in step B2, the I2C bus device uses the first device address to send the data of the input control to the I2C bus master, so that the I2C bus master needs to receive the control information sent. received feedback.

需要说明的是,在本发明实施例中,步骤102中I2C总线设备将触摸按键控制芯片的输入输出I/O端口配置为输入控制,之后还可以包括如下步骤:It should be noted that, in the embodiment of the present invention, in step 102, the I2C bus device configures the input and output I/O ports of the touch button control chip as input control, and then may further include the following steps:

若为I/O端口配置输入控制失败,I2C总线设备向I2C总线主机反馈第一错误提示信息。If the input control configuration for the I/O port fails, the I2C bus device feeds back the first error message to the I2C bus master.

也就是说,若配置失败,则I2C总线设备向I2C总线主机反馈第一错误提示信息,告诉I2C总线主机配置出现失败,此时,I2C总线主机在接收到第一错误提示信息之后可以重复向I2C总线设备重新发送控制信息。That is to say, if the configuration fails, the I2C bus device feeds back the first error message to the I2C bus master, telling the I2C bus master that the configuration fails. At this time, the I2C bus master can repeatedly report to the I2C bus after receiving the first error message The bus device resends the control information.

103、若控制信息携带的设备地址与第二设备地址相同,I2C总线设备将触摸按键控制芯片的I/O端口配置为输出控制,以使触摸按键控制芯片根据控制信息对与触摸按键控制芯片相连的被驱动设备进行控制操作。103. If the device address carried in the control information is the same as the address of the second device, the I2C bus device configures the I/O port of the touch key control chip as output control, so that the touch key control chip is connected to the touch key control chip according to the control information The driven equipment performs control operations.

在本发明实施例中,I2C总线设备通过步骤101获取到了控制信息所携带的设备地址,若I2C总线设备发现控制信息中携带的设备地址为第二设备地址,即I2C总线设备发现控制信息携带的设备地址与第二设备地址相同,I2C总线设备将触摸按键控制芯片的I/O端口配置为输出控制,则当触摸按键控制芯片的I/O端口被配置成输出控制时,触摸按键控制芯片就可以根据该控制信息对与该触摸按键控制芯片相连的被驱动设备进行控制操作,其中,被驱动设备指的是与触摸按键控制芯片相连接并且需要被触摸按键控制芯片来进行驱动的设备,例如需要被触摸按键控制芯片下发指令然后进行开启或者关闭的设备。In the embodiment of the present invention, the I2C bus device obtains the device address carried in the control information through step 101. If the I2C bus device finds that the device address carried in the control information is the second device address, that is, the I2C bus device discovers the device address carried in the control information. The device address is the same as the second device address, and the I2C bus device configures the I/O port of the touch key control chip as output control, then when the I/O port of the touch key control chip is configured as output control, the touch key control chip will be The driven device connected to the touch key control chip can be controlled and operated according to the control information, wherein the driven device refers to a device connected to the touch key control chip and needs to be driven by the touch key control chip, for example A device that needs to be controlled by the touch button to issue instructions and then be turned on or off.

需要说明的是,在本发明实施例中,对于I2C总线设备将触摸按键控制芯片的I/O端口配置为输出控制,作为其中一种可以实现的方式是,具体可以包括:It should be noted that, in the embodiment of the present invention, for the I2C bus device, configuring the I/O port of the touch button control chip as output control, as one of the possible implementation methods, may specifically include:

I2C总线设备将触摸按键控制芯片的I/O端口配置为通用可编程输入输出(GPIO,General-Purpose IO ports),其中,GPIO用于驱动LED灯、风扇、继电器的开关,以使触摸按键控制芯片根据控制信息对LED灯、风扇、继电器进行开或者关的操作。The I2C bus device configures the I/O ports of the touch button control chip as general-purpose programmable input and output (GPIO, General-Purpose IO ports), where GPIO is used to drive the switches of LED lights, fans, and relays, so that the touch button control The chip turns on or off the LED lights, fans, and relays according to the control information.

需要说明的是,在嵌入式系统中存在有结构却比较简单的外部设备或者电路,这些设备或者电路有的需要触摸按键控制芯片为之提供控制手段,这样的设备或电路只要求有一个位进行控制,即只要有开/关两种状态就够了,比如LED灯的点亮与熄灭、风扇的开与关等等只需要触摸按键控制芯片输出两种控制命令的都可以称之为被驱动设备。对这些设备和电路的控制,使用传统的串行口或并行口都不合适,在触摸按键控制芯片上可以设置一个通用可编程IO接口,简称之为GPIO。It should be noted that there are external devices or circuits with simple structures in the embedded system. Some of these devices or circuits need to touch the key control chip to provide control means. Such devices or circuits only require one bit to be controlled. Control, that is, as long as there are two states of on/off, such as on and off of the LED light, on and off of the fan, etc., only need to touch the button to control the chip to output two control commands, which can be called driven equipment. For the control of these devices and circuits, it is not suitable to use traditional serial ports or parallel ports. A general programmable IO interface, called GPIO for short, can be set on the touch key control chip.

需要说明的是,在本发明实施例中,步骤103中I2C总线设备将触摸按键控制芯片的输入输出I/O端口配置为输出控制,之后还可以包括如下步骤:It should be noted that, in the embodiment of the present invention, in step 103, the I2C bus device configures the input and output I/O ports of the touch button control chip as output control, and then the following steps may be included:

C1、I2C总线设备接收触摸按键控制芯片传输的输出控制的数据;C1, the I2C bus device receives the output control data transmitted by the touch button control chip;

C2、I2C总线设备使用第二设备地址将输出控制的数据发送给I2C总线主机。C2. The I2C bus device uses the second device address to send the output control data to the I2C bus master.

对于步骤C1,在步骤103中I/O端口被配置为输出控制之后,触摸按键控制芯片就根据携带第二设备地址的控制信息进行输出数据的采集控制,触摸按键控制芯片采集到输出控制的数据之后,I2C总线设备就可以通过触摸按键控制芯片与I2C总线设备之间连接的I/O端口读取到该输出控制的数据,由于步骤103中I2C总线设备是基于携带了第二设备地址的控制信息而将触摸按键控制芯片的I/O端口配置为输出控制,在步骤C2中,I2C总线设备使用第二设备地址将输出控制的数据发送给I2C总线主机,以实现I2C总线主机发送控制信息需要收到的回馈。For step C1, after the I/O port is configured as output control in step 103, the touch button control chip performs the collection and control of output data according to the control information carrying the second device address, and the touch button control chip collects the output control data Afterwards, the I2C bus device can read the data of the output control through the I/O port connected between the touch button control chip and the I2C bus device, because the I2C bus device is based on the control of the second device address in step 103 information and configure the I/O port of the touch button control chip as output control, in step C2, the I2C bus device uses the second device address to send the output control data to the I2C bus master, so as to realize the need for the I2C bus master to send control information Feedback received.

需要说明的是,在本发明实施例中,步骤103中I2C总线设备将触摸按键控制芯片的输入输出I/O端口配置为输出控制,之后还可以包括如下步骤:It should be noted that, in the embodiment of the present invention, in step 103, the I2C bus device configures the input and output I/O ports of the touch button control chip as output control, and then the following steps may be included:

若为I/O端口配置输出控制失败,I2C总线设备向I2C总线主机反馈第二错误提示信息。If the output control configuration for the I/O port fails, the I2C bus device feeds back a second error message to the I2C bus master.

也就是说,若配置失败,则I2C总线设备向I2C总线主机反馈第二错误提示信息,告诉I2C总线主机配置出现失败,此时,I2C总线主机在接收到第二错误提示信息之后可以重复向I2C总线设备重新发送控制信息。That is to say, if the configuration fails, the I2C bus device feeds back the second error message to the I2C bus master, telling the I2C bus master that the configuration fails. At this time, the I2C bus master can repeatedly report to the I2C bus after receiving the second error message The bus device resends the control information.

需要说明的是,通过步骤101的描述I2C总线设备从控制信息中获取到了该控制信息所携带的设备地址,然后I2C总线设备比较控制信息所携带的设备地址与该I2C总线设备自己的设备地址的关系,本发明实施例还可以包括如下步骤:It should be noted that, through the description of step 101, the I2C bus device obtains the device address carried in the control information from the control information, and then the I2C bus device compares the device address carried in the control information with the device address of the I2C bus device itself. relationship, the embodiment of the present invention may also include the following steps:

若控制信息携带的设备地址不是第一设备地址同时也不是第二设备地址,I2C总线设备将该控制信息丢弃。If the device address carried in the control information is neither the first device address nor the second device address, the I2C bus device discards the control information.

也就是说,在本发明实施例中,若控制携带的设备地址与第一设备地址相同,执行了步骤102,若控制信息携带的设备地址与第二设备地址相同,执行了步骤103,除了102和103之外的实现情况,I2C总线设备会将I2C总线主机发送的控制信息丢弃掉,并不做任何处理。That is to say, in this embodiment of the present invention, if the device address carried in the control is the same as the first device address, step 102 is executed; if the device address carried in the control information is the same as the second device address, step 103 is executed, except for step 102 In implementations other than 103, the I2C bus device will discard the control information sent by the I2C bus master without any processing.

在本发明实施例中,I2C总线设备包括有两个设备地址:第一设备地址和第二设备地址,如果I2C总线主机发送的控制信息携带第一设备地址,I2C总线设备将触摸按键控制芯片的I/O端口配置为输入控制,以使触摸按键控制芯片根据控制信息进行输入数据的采集控制,如果I2C总线主机发送的控制信息携带第二设备地址,I2C总线设备将触摸按键控制芯片的I/O端口配置为输出控制,以使触摸按键控制芯片根据控制信息对被驱动设备进行控制操作,为I2C总线设备配置两个设备地址之后,就可以通过一个触摸按键控制芯片的同一组I/O端口实现输入控制和输出控制,而不需要再增设I/O端口,也不需要增设触摸按键控制芯片,不会增加产品设计时的价格成本。In the embodiment of the present invention, the I2C bus device includes two device addresses: the first device address and the second device address. If the control information sent by the I2C bus master carries the first device address, the I2C bus device will touch the button to control the chip. The I/O port is configured as input control, so that the touch button control chip performs the collection and control of input data according to the control information. If the control information sent by the I2C bus master carries the second device address, the I2C bus device will touch the I/O of the button control chip. The O port is configured as output control, so that the touch button control chip can control the driven device according to the control information. After configuring two device addresses for the I2C bus device, you can control the same group of I/O ports of the chip through a touch button To realize input control and output control, there is no need to add I/O ports, and no need to add touch key control chips, which will not increase the price and cost of product design.

以上实施例介绍了本发明实施例提供的控制信息的处理方法,接下来以实际的应用场景对控制信息的处理方法进行详细说明,请参阅图4所示,为本发明实施例提供的控制信息的处理方法的实现架构示意图,假设本发明实施例提供的I2C总线设备包括有两个设备地址分别是22和23,主要实现架构包括如下步骤:The above embodiments have introduced the processing method of the control information provided by the embodiment of the present invention. Next, the processing method of the control information will be described in detail in an actual application scenario. Please refer to FIG. 4 , which shows the control information provided by the embodiment of the present invention. A schematic diagram of the implementation architecture of the processing method, assuming that the I2C bus device provided by the embodiment of the present invention includes two device addresses 22 and 23 respectively, the main implementation architecture includes the following steps:

1)、I2C总线主机发送控制信息,控制信息携带的设备地址如果是22则I2C总线设备执行步骤2),控制信息携带的设备地址如果是23则执行3),如果都不是则I2C总线设备将控制信息丢弃,不做任何处理;1), the I2C bus master sends control information, if the device address carried by the control information is 22, then the I2C bus device performs step 2), if the device address carried by the control information is 23, then executes 3), if none, the I2C bus device will The control information is discarded without any processing;

2)、I2C总线设备配置触摸按键控制芯片的I/O为Sensor使用,若配置成功则执行步骤4),若配置失败则向I2C总线主机反馈错误提示信息;2) The I2C bus device configures the I/O of the touch button control chip to be used by the Sensor. If the configuration is successful, perform step 4). If the configuration fails, an error message will be fed back to the I2C bus host;

3)、I2C总线设备配置触摸按键控制芯片的同一组I/O为GPIO使用,若配置成功则执行步骤5),若配置失败则向I2C总线主机反馈错误提示信息;3) The I2C bus device configures the same group of I/O of the touch button control chip as GPIO. If the configuration is successful, perform step 5). If the configuration fails, an error message will be fed back to the I2C bus host;

4)、触摸按键控制芯片采集触控按键的Sensor数据,根据I2C总线设备的设备地址22将Sensor数据封装成I2C协议包传输给I2C总线设备,后由I2C总线设备发送给I2C总线主机;4) The touch button control chip collects the Sensor data of the touch button, encapsulates the Sensor data into an I2C protocol packet according to the device address 22 of the I2C bus device, and transmits it to the I2C bus device, and then the I2C bus device sends it to the I2C bus host;

5)、触摸按键控制芯片根据解析I2C总线设备接收到的控制信息配置GPIO点亮LED灯,按键控制芯片根据I2C总线设备的设备地址23将GPIO配置的数据封装成I2C协议包传输给I2C总线设备,后由I2C总线设备发送给I2C总线主机。5) The touch button control chip configures the GPIO to light up the LED light according to the control information received by the I2C bus device, and the button control chip encapsulates the GPIO configuration data into an I2C protocol packet and transmits it to the I2C bus device according to the device address 23 of the I2C bus device , and then sent by the I2C bus device to the I2C bus master.

需要说明的是,同时根据I2C总线设备的地址23将GPIO配置的数据封装成I2C协议包发送给I2C总线设备这一步骤并不是必须执行的,只有当I2C总线主机需要知道当前GPIO配置状态时才需要反馈该I2C协议包。It should be noted that at the same time, according to the address 23 of the I2C bus device, the step of encapsulating the GPIO configuration data into an I2C protocol packet and sending it to the I2C bus device is not mandatory, only when the I2C bus master needs to know the current GPIO configuration status. The I2C protocol package needs to be fed back.

在描述出控制信息的处理方法的总体实现架构之后,请参阅图5所示,为本发明实施例提供的控制信息的处理方法的实现流程示意图,假设本发明实施例提供的I2C总线设备包括有两个设备地址分别是22和23,系统的实现方法包括如下步骤:After describing the overall implementation architecture of the method for processing control information, please refer to FIG. 5 , which is a schematic flow diagram showing the implementation flow of the method for processing control information provided by the embodiment of the present invention. It is assumed that the I2C bus device provided by the embodiment of the present invention includes The two device addresses are 22 and 23 respectively, and the implementation method of the system includes the following steps:

501、I2C总线主机发送控制信息,然后执行步骤502;501. The I2C bus host sends control information, and then executes step 502;

502、I2C总线设备判断控制信息携带的设备地址,如果是22则I2C总线设备执行步骤503,控制信息携带的设备地址如果是23则执行504,如果都不是则I2C总线设备执行505;502. The I2C bus device judges the device address carried in the control information. If it is 22, the I2C bus device executes step 503. If the device address carried in the control information is 23, executes 504. If not, the I2C bus device executes 505;

将控制信息丢弃,不做任何处理;Discard the control information without any processing;

503、I2C总线设备配置触摸按键控制芯片的I/O为Sensor使用,然后执行步骤505;503. The I2C bus device configures the I/O of the touch button control chip to be used by the Sensor, and then executes step 505;

504、I2C总线设备配置触摸按键控制芯片的同一组I/O为GPIO使用,然后执行步骤509;504. The I2C bus device configures the same group of I/O of the touch button control chip as GPIO, and then executes step 509;

505、I2C总线设备判断配置触摸按键控制芯片的I/O为Sensor使用是否成功,若配置成功则执行步骤506,若配置失败则执行步骤507;505. The I2C bus device judges whether the I/O of the configuration touch button control chip is used as a Sensor successfully. If the configuration is successful, step 506 is performed, and if the configuration fails, step 507 is performed;

506、触摸按键控制芯片采集触控按键的Sensor数据,然后执行步骤508;506. The touch button control chip collects the Sensor data of the touch button, and then executes step 508;

507、I2C总线设备向I2C总线主机反馈错误提示信息;507. The I2C bus device feeds back error prompt information to the I2C bus master;

508、触摸按键控制芯片根据I2C总线设备的设备地址22将Sensor数据封装成I2C协议包传输给I2C总线设备,后由I2C总线设备发送给I2C总线主机。508. The touch button control chip encapsulates the Sensor data into an I2C protocol packet according to the device address 22 of the I2C bus device and transmits it to the I2C bus device, and then the I2C bus device sends it to the I2C bus host.

509、I2C总线设备判断配置触摸按键控制芯片的I/O为GPIO使用是否成功,若配置成功则执行步骤510,若配置失败则执行步骤511;509. The I2C bus device judges whether it is successful to configure the I/O of the touch button control chip as GPIO. If the configuration is successful, execute step 510, and if the configuration fails, execute step 511;

510、触摸按键控制芯片根据解析I2C总线设备接收到的控制信息配置GPIO点亮LED灯,然后执行步骤512;510. The touch button control chip configures the GPIO to light up the LED light according to the control information received by the I2C bus device, and then executes step 512;

511、I2C总线设备向I2C总线主机反馈错误提示信息;511. The I2C bus device feeds back error prompt information to the I2C bus master;

512、触控按键控制芯片根据I2C总线设备的设备地址23将GPIO配置的数据封装成I2C协议包传输给I2C总线设备,后由I2C总线设备发送给I2C总线主机。512. The touch button control chip encapsulates the GPIO configuration data into an I2C protocol packet according to the device address 23 of the I2C bus device and transmits it to the I2C bus device, and then the I2C bus device sends it to the I2C bus host.

以上实施例介绍了本发明实施例提供的控制信息的处理方法,接下来介绍使用该控制信息的处理方法的I2C总线设备,在实际应用中,本发明实施例提供的I2C总线设备具体可以设置于触摸按键控制芯片上,也可以以独立的设备形式来部署,与触摸按键控制芯片交互,通过软件或硬件集成的方式来实现对控制信息的处理。在本发明实施例中将介绍和上述方法实施例中介绍的方法相对应的装置,具体各单元的执行方法可参见上述方法实施例,在此仅描述相关单元的内容,具体说明如下。The above embodiments have introduced the processing method of the control information provided by the embodiment of the present invention, and then introduce the I2C bus device using the processing method of the control information. In practical applications, the I2C bus device provided by the embodiment of the present invention can be specifically set in The touch button control chip can also be deployed in the form of an independent device, interacting with the touch button control chip, and processing control information through software or hardware integration. In the embodiments of the present invention, devices corresponding to the methods introduced in the above-mentioned method embodiments will be introduced. For specific execution methods of each unit, please refer to the above-mentioned method embodiments. Only the content of relevant units will be described here, and the specific description is as follows.

本发明实施例提供的I2C总线设备,如图6所示,I2C总线设备800包括:The I2C bus device provided by the embodiment of the present invention, as shown in FIG. 6, the I2C bus device 800 includes:

地址获取单元801,用于从I2C总线主机在I2C总线上发送的控制信息中获取所述控制信息携带的设备地址,所述I2C总线设备包括有两个设备地址:第一设备地址和第二设备地址;The address acquisition unit 801 is configured to acquire the device address carried in the control information from the control information sent by the I2C bus master on the I2C bus, and the I2C bus device includes two device addresses: a first device address and a second device address address;

第一配置单元802,用于当所述控制信息携带的设备地址与所述第一设备地址相同时,将触摸按键控制芯片的输入输出I/O端口配置为输入控制,以使所述触摸按键控制芯片根据所述控制信息进行输入数据的采集控制;The first configuration unit 802 is configured to configure the input and output I/O ports of the touch key control chip as input control when the device address carried in the control information is the same as the first device address, so that the touch key The control chip performs collection and control of input data according to the control information;

第二配置单元803,用于当所述控制信息携带的设备地址与所述第二设备地址相同时,将所述触摸按键控制芯片的I/O端口配置为输出控制,以使所述触摸按键控制芯片根据所述控制信息对与所述触摸按键控制芯片相连的被驱动设备进行控制操作。The second configuration unit 803 is configured to configure the I/O port of the touch key control chip as output control when the device address carried in the control information is the same as the second device address, so that the touch key The control chip controls and operates the driven device connected to the touch key control chip according to the control information.

需要说明的是,对于本发明实施例提供的I2C总线设备,作为其中一种可实现的方式是,I2C总线设备还可以包括(未在图6中示出):It should be noted that, for the I2C bus device provided in the embodiment of the present invention, as one of the implementable ways, the I2C bus device may also include (not shown in FIG. 6 ):

第一接收单元,用于接收所述触摸按键控制芯片传输所述输入控制的数据;The first receiving unit is used to receive the data transmitted by the touch button control chip and transmit the input control;

第一发送单元,用于使用所述第一设备地址将所述输入控制的数据发送给所述I2C总线主机。A first sending unit, configured to use the first device address to send the input control data to the I2C bus master.

需要说明的是,对于本发明实施例提供的I2C总线设备,作为其中另一种可实现的方式是,I2C总线设备还可以包括(未在图6中示出):It should be noted that, for the I2C bus device provided in the embodiment of the present invention, as another implementable manner, the I2C bus device may also include (not shown in FIG. 6 ):

第二接收单元,用于接收所述触摸按键控制芯片传输所述输出控制的数据;The second receiving unit is used to receive the data of the output control transmitted by the touch button control chip;

第二发送单元,用于使用所述第二设备地址将所述输出控制的数据发送给所述I2C总线主机。a second sending unit, configured to use the second device address to send the output control data to the I2C bus master.

可实现的是,I2C总线设备还可以包括(未在图6中示出):It can be realized that the I2C bus device can also include (not shown in Figure 6):

丢弃单元,用于若所述控制信息携带的设备地址不是所述第一设备地址同时也不是所述第二设备地址,将所述控制信息丢弃。A discarding unit, configured to discard the control information if the device address carried in the control information is neither the first device address nor the second device address.

另外需要说明的是,对于本发明实施例提供的第一配置单元,作为其中另一种可实现的方式是,第一配置单元具体可以用于将触摸按键控制芯片的I/O端口配置为采集键盘输入的数据,以使所述触摸按键控制芯片向所述I2C总线设备反馈所述键盘输入的数据;所述I2C总线设备将触摸按键控制芯片的I/O端口配置为检测定时器输入的数据,以使所述触摸按键控制芯片向所述I2C总线设备反馈所述定时器的数据;或,所述I2C总线设备将触摸按键控制芯片的I/O端口配置为检测传感器sensor扫描输入的数据,以使所述触摸按键控制芯片向所述I2C总线设备反馈所述传感器扫描到的数据。In addition, it should be noted that, for the first configuration unit provided in the embodiment of the present invention, as another achievable way, the first configuration unit can specifically be used to configure the I/O port of the touch key control chip to collect The data input by the keyboard, so that the touch key control chip feeds back the data input by the keyboard to the I2C bus device; the I2C bus device configures the I/O port of the touch key control chip to detect the data input by the timer so that the touch button control chip feeds back the data of the timer to the I2C bus device; or, the I2C bus device configures the I/O port of the touch button control chip to detect the data scanned by the sensor sensor, The touch button control chip feeds back the data scanned by the sensor to the I2C bus device.

另外需要说明的是,对于本发明实施例提供的第二配置单元,作为其中另一种可实现的方式是,第二配置单元具体可以用于将所述触摸按键控制芯片的I/O端口配置为通用可编程输入输出GPIO,所述GPIO用于驱动发光二极管LED灯、风扇、继电器的开关,以使所述触摸按键控制芯片根据所述控制信息对LED灯、风扇、继电器进行开或者关的操作。In addition, it should be noted that, for the second configuration unit provided in the embodiment of the present invention, as another achievable way, the second configuration unit can specifically be used to configure the I/O port of the touch key control chip It is a general-purpose programmable input and output GPIO, and the GPIO is used to drive the switches of light-emitting diodes, LED lights, fans, and relays, so that the touch key control chip can turn on or off the LED lights, fans, and relays according to the control information operate.

需要说明的是,对于本发明实施例提供的I2C总线设备,作为其中另一种可实现的方式是,I2C总线设备还可以包括(未在图6中示出):It should be noted that, for the I2C bus device provided in the embodiment of the present invention, as another implementable manner, the I2C bus device may also include (not shown in FIG. 6 ):

第一反馈单元,用于当所述第一配置单元为所述I/O端口配置输入控制失败时,向所述I2C总线主机反馈第一错误提示信息;a first feedback unit, configured to feed back first error prompt information to the I2C bus master when the first configuration unit fails to configure input control for the I/O port;

第二反馈单元,用于当所述第二配置单元为所述I/O端口配置输出控制失败时,向所述I2C总线主机反馈第二错误提示信息。The second feedback unit is configured to feed back second error prompt information to the I2C bus master when the second configuration unit fails to configure the output control for the I/O port.

需要说明的是,上述装置各模块/单元之间的信息交互、执行过程等内容,由于与本发明方法实施例基于同一构思,其带来的技术效果与本发明方法实施例相同,具体内容可参见本发明如前所示的方法实施例中的叙述,此处不再赘述。It should be noted that the information interaction and execution process between the modules/units of the above-mentioned device are based on the same idea as the method embodiment of the present invention, and the technical effect it brings is the same as that of the method embodiment of the present invention. The specific content can be Refer to the descriptions in the foregoing method embodiments of the present invention, and details are not repeated here.

在本发明实施例中,I2C总线设备包括有两个设备地址:第一设备地址和第二设备地址,如果I2C总线主机发送的控制信息携带第一设备地址,第一配置单元将触摸按键控制芯片的I/O端口配置为输入控制,以使触摸按键控制芯片根据控制信息进行输入数据的采集控制,如果I2C总线主机发送的控制信息携带第二设备地址,第二配置单元将触摸按键控制芯片的I/O端口配置为输出控制,以使触摸按键控制芯片根据控制信息对被驱动设备进行控制操作,为I2C总线设备配置两个设备地址之后,就可以通过一个触摸按键控制芯片的同一组I/O端口实现输入控制和输出控制,而不需要再增设I/O端口,也不需要增设触摸按键控制芯片,不会增加产品设计时的价格成本。In the embodiment of the present invention, the I2C bus device includes two device addresses: the first device address and the second device address. If the control information sent by the I2C bus master carries the first device address, the first configuration unit will touch the button to control the chip The I/O port of the I2C bus is configured as input control, so that the touch key control chip can collect and control the input data according to the control information. If the control information sent by the I2C bus master carries the second device address, the second configuration unit will touch the key control chip. The I/O port is configured as output control, so that the touch button control chip can control the driven device according to the control information. After configuring two device addresses for the I2C bus device, you can control the same group of I/O of the chip through a touch button. The O port realizes input control and output control, without adding I/O ports, and without adding a touch button control chip, and will not increase the price and cost of product design.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the above-mentioned storage The medium can be read-only memory, magnetic or optical disk, etc.

以上对本发明所提供的一种控制信息的处理方法和I2C总线设备进行了详细介绍,对于本领域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method for processing control information provided by the present invention and the I2C bus device have been introduced in detail above. For those of ordinary skill in the art, according to the idea of the embodiment of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as limiting the present invention.

Claims (14)

1.一种控制信息的处理方法,其特征在于,包括:1. A method for processing control information, comprising: 内部集成电路I2C总线设备从I2C总线主机在I2C总线上发送的控制信息中获取所述控制信息携带的设备地址,所述I2C总线设备包括有两个设备地址:第一设备地址和第二设备地址;The internal integrated circuit I2C bus device obtains the device address carried by the control information from the control information sent by the I2C bus master on the I2C bus, and the I2C bus device includes two device addresses: a first device address and a second device address ; 若所述控制信息携带的设备地址与所述第一设备地址相同,所述I2C总线设备将触摸按键控制芯片的输入输出I/O端口配置为输入控制,以使所述触摸按键控制芯片根据所述控制信息进行输入数据的采集控制;If the device address carried in the control information is the same as the first device address, the I2C bus device configures the input and output I/O ports of the touch key control chip as input control, so that the touch key control chip The above control information is used to collect and control the input data; 若所述控制信息携带的设备地址与所述第二设备地址相同,所述I2C总线设备将所述触摸按键控制芯片的I/O端口配置为输出控制,以使所述触摸按键控制芯片根据所述控制信息对与所述触摸按键控制芯片相连的被驱动设备进行控制操作。If the device address carried in the control information is the same as the second device address, the I2C bus device configures the I/O port of the touch key control chip as output control, so that the touch key control chip The control information is used to control and operate the driven device connected to the touch key control chip. 2.根据权利要求1所述的方法,其特征在于,所述I2C总线设备将触摸按键控制芯片的输入输出I/O端口配置为输入控制,之后还包括:2. The method according to claim 1, wherein the I2C bus device configures the input and output I/O ports of the touch button control chip as input control, and then also includes: 所述I2C总线设备接收所述触摸按键控制芯片传输的所述输入控制的数据;The I2C bus device receives the input control data transmitted by the touch button control chip; 所述I2C总线设备使用所述第一设备地址将所述输入控制的数据发送给所述I2C总线主机。The I2C bus device uses the first device address to send the input-controlled data to the I2C bus master. 3.根据权利要求1所述的方法,其特征在于,所述I2C总线设备将触摸按键控制芯片的I/O端口配置为输出控制,之后还包括:3. The method according to claim 1, wherein the I2C bus device configures the I/O port of the touch button control chip as output control, and then also includes: 所述I2C总线设备接收所述触摸按键控制芯片传输的所述输出控制的数据;The I2C bus device receives the output control data transmitted by the touch button control chip; 所述I2C总线设备使用所述第二设备地址将所述输出控制的数据发送给所述I2C总线主机。The I2C bus device uses the second device address to send the output control data to the I2C bus master. 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises: 若所述控制信息携带的设备地址不是所述第一设备地址同时也不是所述第二设备地址,所述I2C总线设备将所述控制信息丢弃。If the device address carried in the control information is neither the first device address nor the second device address, the I2C bus device discards the control information. 5.根据权利要求1所述的方法,其特征在于,所述I2C总线设备将触摸按键控制芯片的I/O端口配置为输入控制,包括:5. The method according to claim 1, wherein the I2C bus device configures the I/O port of the touch button control chip as input control, including: 所述I2C总线设备将触摸按键控制芯片的I/O端口配置为采集键盘输入的数据,以使所述触摸按键控制芯片向所述I2C总线设备反馈所述键盘输入的数据;The I2C bus device configures the I/O port of the touch button control chip to collect data input by the keyboard, so that the touch button control chip feeds back the data input by the keyboard to the I2C bus device; 或,所述I2C总线设备将触摸按键控制芯片的I/O端口配置为检测定时器输入的数据,以使所述触摸按键控制芯片向所述I2C总线设备反馈所述定时器的数据;Or, the I2C bus device configures the I/O port of the touch button control chip to detect the data input by the timer, so that the touch button control chip feeds back the data of the timer to the I2C bus device; 或,所述I2C总线设备将触摸按键控制芯片的I/O端口配置为检测传感器sensor扫描输入的数据,以使所述触摸按键控制芯片向所述I2C总线设备反馈所述传感器扫描到的数据。Or, the I2C bus device configures the I/O port of the touch button control chip to detect the data scanned by the sensor sensor, so that the touch button control chip feeds back the data scanned by the sensor to the I2C bus device. 6.根据权利要求1所述的方法,其特征在于,所述I2C总线设备将所述触摸按键控制芯片的I/O端口配置为输出控制,包括:6. The method according to claim 1, wherein the I2C bus device configures the I/O port of the touch button control chip as output control, including: 所述I2C总线设备将所述触摸按键控制芯片的I/O端口配置为通用可编程输入输出GPIO,所述GPIO用于驱动发光二极管LED灯、风扇、继电器的开关,以使所述触摸按键控制芯片根据所述控制信息对LED灯、风扇、继电器进行开或者关的操作。The I2C bus device configures the I/O port of the touch button control chip as a general-purpose programmable input and output GPIO, and the GPIO is used to drive the switch of a light-emitting diode LED lamp, a fan, and a relay, so that the touch button controls The chip turns on or off the LED lights, fans, and relays according to the control information. 7.根据权利要求1所述的方法,其特征在于,7. The method of claim 1, wherein, 所述I2C总线设备将触摸按键控制芯片的输入输出I/O端口配置为输入控制,之后还包括:若为所述I/O端口配置输入控制失败,所述I2C总线设备向所述I2C总线主机反馈第一错误提示信息;The I2C bus device configures the input and output I/O ports of the touch button control chip as input control, and then also includes: if the I2C bus device fails to configure the input control for the I/O port, the I2C bus device sends the I2C bus host Feedback the first error message; 所述I2C总线设备将所述触摸按键控制芯片的I/O端口配置为输出控制,之后还包括:若为所述I/O端口配置输出控制失败,所述I2C总线设备向所述I2C总线主机反馈第二错误提示信息。The I2C bus device configures the I/O port of the touch button control chip as output control, and then further includes: if the I2C bus device fails to configure the output control for the I/O port, the I2C bus device sends the I2C bus host Feedback the second error message. 8.一种内部集成电路I2C总线设备,其特征在于,包括:8. An internal integrated circuit I2C bus device, characterized in that, comprising: 地址获取单元,用于从I2C总线主机在I2C总线上发送的控制信息中获取所述控制信息携带的设备地址,所述I2C总线设备包括有两个设备地址:第一设备地址和第二设备地址;The address obtaining unit is used to obtain the device address carried by the control information from the control information sent by the I2C bus master on the I2C bus, and the I2C bus device includes two device addresses: a first device address and a second device address ; 第一配置单元,用于当所述控制信息携带的设备地址与所述第一设备地址相同时,将触摸按键控制芯片的输入输出I/O端口配置为输入控制,以使所述触摸按键控制芯片根据所述控制信息进行输入数据的采集控制;The first configuration unit is configured to configure the input and output I/O ports of the touch key control chip as input control when the device address carried in the control information is the same as the first device address, so that the touch key control The chip performs collection and control of input data according to the control information; 第二配置单元,用于当所述控制信息携带的设备地址与所述第二设备地址相同时,将所述触摸按键控制芯片的I/O端口配置为输出控制,以使所述触摸按键控制芯片根据所述控制信息对与所述触摸按键控制芯片相连的被驱动设备进行控制操作。The second configuration unit is configured to configure the I/O port of the touch key control chip as output control when the device address carried in the control information is the same as the second device address, so that the touch key control chip The chip controls and operates the driven device connected to the touch key control chip according to the control information. 9.根据权利要求8所述的I2C总线设备,其特征在于,所述I2C总线设备还包括:9. I2C bus equipment according to claim 8, is characterized in that, described I2C bus equipment also comprises: 第一接收单元,用于接收所述触摸按键控制芯片传输的所述输入控制的数据;a first receiving unit, configured to receive the input control data transmitted by the touch key control chip; 第一发送单元,用于使用所述第一设备地址将所述输入控制的数据发送给所述I2C总线主机。A first sending unit, configured to use the first device address to send the input control data to the I2C bus master. 10.根据权利要求8所述的I2C总线设备,其特征在于,所述I2C总线设备还包括:10. I2C bus equipment according to claim 8, is characterized in that, described I2C bus equipment also comprises: 第二接收单元,用于接收所述触摸按键控制芯片传输的所述输出控制的数据;a second receiving unit, configured to receive the output control data transmitted by the touch button control chip; 第二发送单元,用于使用所述第二设备地址将所述输出控制的数据发送给所述I2C总线主机。a second sending unit, configured to use the second device address to send the output control data to the I2C bus master. 11.根据权利要求8所述的I2C总线设备,其特征在于,所述I2C总线设备还包括:11. I2C bus equipment according to claim 8, is characterized in that, described I2C bus equipment also comprises: 丢弃单元,用于若所述控制信息携带的设备地址不是所述第一设备地址同时也不是所述第二设备地址,将所述控制信息丢弃。A discarding unit, configured to discard the control information if the device address carried in the control information is neither the first device address nor the second device address. 12.根据权利要求8所述的I2C总线设备,其特征在于,所述第一配置单元具体用于将触摸按键控制芯片的I/O端口配置为采集键盘输入的数据,以使所述触摸按键控制芯片向所述I2C总线设备反馈所述键盘输入的数据;或,所述第一配置单元将触摸按键控制芯片的I/O端口配置为检测定时器输入的数据,以使所述触摸按键控制芯片向所述I2C总线设备反馈所述定时器的数据;或,所述第一配置单元将触摸按键控制芯片的I/O端口配置为检测传感器sensor扫描输入的数据,以使所述触摸按键控制芯片向所述I2C总线设备反馈所述传感器扫描到的数据。12. The I2C bus device according to claim 8, wherein the first configuration unit is specifically configured to configure the I/O port of the touch key control chip to collect data input by the keyboard, so that the touch key The control chip feeds back the data input by the keyboard to the I2C bus device; or, the first configuration unit configures the I/O port of the touch key control chip to detect the data input by the timer, so that the touch key control The chip feeds back the data of the timer to the I2C bus device; or, the first configuration unit configures the I/O port of the touch key control chip to detect the data scanned by the sensor sensor, so that the touch key control The chip feeds back the data scanned by the sensor to the I2C bus device. 13.根据权利要求8所述的I2C总线设备,其特征在于,所述第二配置单元具体用于将所述触摸按键控制芯片的I/O端口配置为通用可编程输入输出GPIO,所述GPIO用于驱动发光二极管LED灯、风扇、继电器的开关,以使所述触摸按键控制芯片根据所述控制信息对LED灯、风扇、继电器进行开或者关的操作。13. The I2C bus device according to claim 8, wherein the second configuration unit is specifically configured to configure the I/O port of the touch key control chip as a general programmable input and output GPIO, and the GPIO It is used to drive switches of light-emitting diodes (LED lights, fans, and relays), so that the touch key control chip can turn on or off the LED lights, fans, and relays according to the control information. 14.根据权利要求8所述的I2C总线设备,其特征在于,所述I2C总线设备,还包括:14. The I2C bus device according to claim 8, wherein the I2C bus device further comprises: 第一反馈单元,用于当所述第一配置单元为所述I/O端口配置输入控制失败时,向所述I2C总线主机反馈第一错误提示信息;a first feedback unit, configured to feed back first error prompt information to the I2C bus master when the first configuration unit fails to configure input control for the I/O port; 第二反馈单元,用于当所述第二配置单元为所述I/O端口配置输出控制失败时,向所述I2C总线主机反馈第二错误提示信息。The second feedback unit is configured to feed back second error prompt information to the I2C bus master when the second configuration unit fails to configure the output control for the I/O port.
CN201210361256.6A 2012-09-25 2012-09-25 A kind of processing method of control information and I2C bus apparatus Active CN103051736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210361256.6A CN103051736B (en) 2012-09-25 2012-09-25 A kind of processing method of control information and I2C bus apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210361256.6A CN103051736B (en) 2012-09-25 2012-09-25 A kind of processing method of control information and I2C bus apparatus

Publications (2)

Publication Number Publication Date
CN103051736A CN103051736A (en) 2013-04-17
CN103051736B true CN103051736B (en) 2015-08-26

Family

ID=48064230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210361256.6A Active CN103051736B (en) 2012-09-25 2012-09-25 A kind of processing method of control information and I2C bus apparatus

Country Status (1)

Country Link
CN (1) CN103051736B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103698603B (en) * 2013-12-27 2017-03-15 深圳芯邦科技股份有限公司 A kind of chip and its clock test methodology and chip clock test system
CN111272212B (en) * 2018-12-05 2021-12-31 卓望数码技术(深圳)有限公司 I2C equipment data acquisition method and system thereof
CN114756500A (en) * 2021-07-28 2022-07-15 义明科技股份有限公司 Master-slave system and its sub-integrated circuits

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7849244B2 (en) * 2008-03-12 2010-12-07 Inventec Corporation Apparatus for resolving conflicts happened between two I2C slave devices with the same addressed address in computer system
CN201917898U (en) * 2011-01-20 2011-08-03 电子科技大学 A kind of I2C bus interface circuit module
CN102281482A (en) * 2011-07-11 2011-12-14 浙江大学 Function extension method and device thereof for earphone jack of smart phone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7849244B2 (en) * 2008-03-12 2010-12-07 Inventec Corporation Apparatus for resolving conflicts happened between two I2C slave devices with the same addressed address in computer system
CN201917898U (en) * 2011-01-20 2011-08-03 电子科技大学 A kind of I2C bus interface circuit module
CN102281482A (en) * 2011-07-11 2011-12-14 浙江大学 Function extension method and device thereof for earphone jack of smart phone

Also Published As

Publication number Publication date
CN103051736A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
EP3042296B1 (en) Universal pci express port
US9710410B2 (en) Camera control slave devices with multiple slave device identifiers
WO2016037504A1 (en) Unified server communication method, baseboard management controller and server
TWI514821B (en) Network devices and loopback detection methods
WO2020181486A1 (en) Information processing method, apparatus, and system
CN103051736B (en) A kind of processing method of control information and I2C bus apparatus
CN106301871A (en) A kind of forwarding detection (BFD) method based on lacp and system
EP4459474A1 (en) Data transmission method and apparatus, and device and medium
CN102323892A (en) Data processing method and drive device for mobile broadband equipment
US20150350014A1 (en) Networking implementation using a converged high speed input/output fabric technology
CN103370906B (en) Communication system
CN115022424B (en) Hydropower LCU controller network card virtual control method, system, equipment and medium thereof
US11714772B2 (en) Additional communication in standardized pinout of a bidirectional interface between a first and second communication device
WO2012083839A1 (en) Electronic device and method for data transmission
CN104243173A (en) Interface configuration method, master card and high-speed daughter card
CN107066412B (en) Communication circuit and method thereof
CN110505222B (en) Protocol conversion method for special calibration device for power equipment
WO2017009916A1 (en) Wireless communication device, wireless communication terminal, wireless communication method and wireless communication program
Zhiwei et al. Design of embedded gateway of wireless sensor networks based on dual-MCU
CN102253912B (en) Communicator among multiple equipment based on USB (Universal Serial Bus) ports
CN103279111B (en) The synchronous manner of execution of multi-control device, subsystem and system
CN116383115A (en) Data communication method and system
CN119559911A (en) Communication method based on two-way double wire, optical driving circuit and related equipment
CN105024832A (en) Method of hybrid data transmission and related hybrid system
CN104268111A (en) Data processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20241016

Address after: 601, Building 12, Shenzhen Software Park (Phase 2), No.1 Keji Middle Road, High tech Zone, Maling Community, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province 518000

Patentee after: Shenzhen Xinbang Zhixin Microelectronics Co.,Ltd.

Country or region after: China

Address before: Room 701 and 702, building 12, Shenzhen Software Park, Keji Zhonger Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: CHIPSBANK TECHNOLOGIES (SHENZHEN) Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right