LANGUAGE

EngLish

HOW TO DEFINE MCU PORT WITH C LANGUAGE?

图1 图2 图3 图4 图5

The interface of single chip microcomputer refers to all external channels connected to the single chip microcomputer system, such as RS232 interface, etc;


The port refers to the direct output and input ports of these microcontrollers.


Therefore, the definition of port is to define each pin directly. Take 51 as an example:


51 port classification method of single chip microcomputer: P0, P1, P2, p3


This represents a group of pins, each group has 8 pins; If P0 is composed of p0.0, P0.1, P0.2 P0.7 consists of 8 pins in total.

Previous article:First article!
LOGO

Wave, Via Habro Derennio 22/b 52100 Arezzo, ItalyWave, Via Habro Derennio 22/b 52100 Arezzo, Italy

ask@example.comask@example.com

095 1856 558 (Toll Free)095 1856 558 (Toll Free)

Subscribe us

Facebook YouToBu Twitter G+

Copyright 2018 a-life.cn All Rights Reserved

This website supports multi end browsing!

This website supports multi end browsing!

图2
Close