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