Microcontroller and input/output system applied to microcontroller
An output system, micro-control technology, applied in the direction of instruments, electrical digital data processing, etc., can solve the problems of the fixed input/output interface function cannot be adjusted, the circuit structure is complicated, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0102] Example 1: UART interface
[0103] UART is a kind of asynchronous serial communication protocol, which is used for asynchronous communication. In the UART interface protocol, Pin TX For sending data out, Pin RX For receiving data from the outside, use the Pin TX and Pin RX Data transmission is performed at a fixed transmission rate. In the data transmission mode, the programmable interface engine obtains the data output request from the main processor, accesses the storage unit according to the data output request and obtains the UART TX code corresponding to the data output request from the storage unit, and executes the UART TX code , so as to be programmed to match the UART engine of the UART interface protocol, the UART engine will generate status information (such as start bit, data bit, and stop bit, etc.) at the same time. The data control unit uses these state information to drive the data output register unit and the input / output interface. TX Perform dat...
example 2
[0105] Example 2: I2C interface
[0106] I2C is a multi-master and multi-slave serial bus developed by PHILIPS for connecting microcontrollers and their peripherals. The I2C bus uses a serial data line (SDA, Serial Data) plus a serial clock line (SCL, Serial Clock) to complete data transmission and peripheral device expansion. In this second example, it is assumed that the I / O system is a master I2C and it will drive the serial clock.
[0107] In the data sending mode, when the main processor needs to send data, the programmable interface engine gets the data output request from the main processor, accesses the storage unit according to the data output request, and obtains the data corresponding to the data output request from the storage unit. The I2C code, execute the I2C code, thereby programming into the I2C engine matching the I2C interface protocol, the I2C engine will simultaneously generate state information (for example: initial state, address state, data state, etc....
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


