請問有RF430FRL152H MCU可控制IO設定程式寫法嗎??
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
内核还是430,跟430单片机的控制是一样的
不信去看头文件。
#define P1IN (PAIN_L) /* Port 1 Input */ #define P1OUT (PAOUT_L) /* Port 1 Output */ #define P1DIR (PADIR_L) /* Port 1 Direction */ #define P1REN (PAREN_L) /* Port 1 Resistor Enable */ #define P1DS (PADS_L) /* Port 1 Drive Strenght */ #define P1SEL0 (PASEL0_L) /* Port 1 Selection 0 */ #define P1SEL1 (PASEL1_L) /* Port 1 Selection 1 */ #define P1IES (PAIES_L) /* Port 1 Interrupt Edge Select */ #define P1IE (PAIE_L) /* Port 1 Interrupt Enable */ #define P1IFG (PAIFG_L) /* Port 1 Interrupt Flag */
这个是头文件的内容,