zoukankan      html  css  js  c++  java
  • k64 datasheet学习笔记11---Port Control and Interrupts (PORT)

    1.前言

    Port Control and Interrupt (PORT)  模块提供了port control,digital filtering,和外部中断功能

    每个pin的大部分功能可被独立配置,不管pin用作何种功能,对pin的配置都会起作用

    2.特性

    • Pin interrupt

    每个pin都有中断标志和中断使能寄存器

    每个pin支持边沿触发和电平触发寄存器配置

    每个pin支持中断或DMA请求配置

    低功耗模式下的异步唤醒

    在所有的pin muxing mode下都具有pin中断功能??

    • 被选择pin的数字输入滤波

    TODO

    • Port control

    每个pin的上下拉配置

    驱动能力配置成高或低

    slew rate??

    input passive filter使能或禁用

    open drain使能或禁用

    mux功能引脚配置

    引脚配置对所有数字pin多功能模式有效

    3.Modes of operation

    • run mode

    port正常操作

    • wait mode

    port正常操作,检测到中断会退出低功耗模式

    wait mode下,DMA请求仍然产生,但是不会退出低功耗模式

    • stop mode

    可以配置为在检测到中断时通过异步wakeup退出低功耗模式

    注:In Stop mode, the digital input filters are bypassed unless they are configured to run from the 1 kHz LPO clock source

    • debug mode

    port正常操作

    4.外部信号描述

    5.Detailed signal description

    6.Memory map and register definition

    0x40049000~0x4004d0c8

     7.Functional description

    TODO

  • 相关阅读:
    MVC是什么?
    Slice Header中的field_pic_flag的含义?
    Slice header 中的frame_num的含义?
    上下文管理器 contextlib
    mixin模式特点
    Flask中路由原理
    使用Docker搭建Django,Nginx,R,Python部署环境
    使用Docker+Jenkins自动构建部署
    Jenkins 关闭和重启
    使用pipenv管理python项目
  • 原文地址:https://www.cnblogs.com/smartjourneys/p/8076450.html
Copyright © 2011-2022 走看看