Home Database Mysql Tutorial 2-1-1 管脚配置

2-1-1 管脚配置

Jun 07, 2016 pm 03:42 PM
Configuration

2.1.1 管脚配置 芯片所有通用管脚除特殊用途外,能容忍 5V 电平。 管脚的配置包括三个方面: 1.管脚功能配置 管脚复用功能可查阅芯片手册。默认为 GPIO 功能 当被配置成非 GPIO 功能时,管脚方向(输入还是输出)由该功能决定,方向寄存器不再有效。 2.管脚

2.1.1 管脚配置

 

芯片所有通用管脚除特殊用途外,能容忍5V电平。

管脚的配置包括三个方面:

 

1. 管脚功能配置

管脚复用功能可查阅芯片手册。默认为GPIO功能

当被配置成非GPIO功能时,管脚方向(输入还是输出)由该功能决定,方向寄存器不再有效。

 

2. 管脚模式配置

当管脚的方向为输入时,管脚的模式可以被配置成如下几种:

(1)连接片内上拉电阻

(2)当管脚为高电平时,连接片内上拉电阻;低电平时连接片内下拉电阻

(3)无片内电阻连接

(4)连接片内下拉电阻

 

3. 开漏模式

如果管脚的开漏模式被使能,当管脚输出0时,管脚的模式配置不被接受;当管脚的值为1时,管脚的模式配置才被接受。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article

Hot Article

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to set up Git configuration in PyCharm How to set up Git configuration in PyCharm Feb 20, 2024 am 09:47 AM

How to set up Git configuration in PyCharm

The working principle and configuration method of GDM in Linux system The working principle and configuration method of GDM in Linux system Mar 01, 2024 pm 06:36 PM

The working principle and configuration method of GDM in Linux system

The perfect combination of PyCharm and PyTorch: detailed installation and configuration steps The perfect combination of PyCharm and PyTorch: detailed installation and configuration steps Feb 21, 2024 pm 12:00 PM

The perfect combination of PyCharm and PyTorch: detailed installation and configuration steps

Understand Linux Bashrc: functions, configuration and usage Understand Linux Bashrc: functions, configuration and usage Mar 20, 2024 pm 03:30 PM

Understand Linux Bashrc: functions, configuration and usage

Avoid common mistakes in Maven environment configuration: Solve configuration problems Avoid common mistakes in Maven environment configuration: Solve configuration problems Feb 19, 2024 pm 04:56 PM

Avoid common mistakes in Maven environment configuration: Solve configuration problems

Simple and easy-to-understand PyCharm configuration Git tutorial Simple and easy-to-understand PyCharm configuration Git tutorial Feb 20, 2024 am 08:28 AM

Simple and easy-to-understand PyCharm configuration Git tutorial

MyBatis Generator configuration parameter interpretation and best practices MyBatis Generator configuration parameter interpretation and best practices Feb 23, 2024 am 09:51 AM

MyBatis Generator configuration parameter interpretation and best practices

How to configure workgroup in win11 system How to configure workgroup in win11 system Feb 22, 2024 pm 09:50 PM

How to configure workgroup in win11 system

See all articles