1625 views|0 replies

2015

Posts

0

Resources
The OP
 

dsp28335 gpio summary [Copy link]

1. dsp28335 has a total of 88 IO ports Group A: GPIO0~GPIO31 Group B: GPIO32~GPIO63 Group C: GPIO64~GPIO87 2. GPIOmux function multiplexing register (2 bits determine a GPIO pin) mux1:gpio0~gpio15,mux2:gpio16~gpio31 GPIO DIR direction setting 0: input 1: output (opposite to the traditional MCU setting, for example: 51 MCU 0: is output) GPIO data 1) GPx DAT: write 1 to output high level, write 0 to output low level 2) GPXSET: write 1 (write 0 is invalid) to output IO high level 3) GPXCLEAR: write 1 (write 0 is invalid) to output IO low level 4) GPXTOGGLE: write 1 (write 0 is invalid) to flip IO output Note: Continuous operation of GPXDAT register requires delay, otherwise it will be invalid. (Write on both sides) Use DAT for GPIO input and SET, CLEAR for output GPIO PUD software pull-up enable: 0: Enable 1: Disable 1) GPIO SEL determines the sampling window: 2 bits determine an IO port, 2) QUALPRD bit of GPIO CTRL: determines the sampling period: Example: QUALPRD0 (0~7 bits) determines the sampling period of GPIO0~GPIO7 3.GPIO0~GPIO31-------------------------------corresponds to INT1, INT1, NMI GPIO32~GPIO63-----------------------------corresponds to INT3~INT7




This post is from Microcontroller MCU
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list