RST RSTS RSTTC OUT OUTS SET SETS ADD SUB MUL DIV LD LDI LDP LDF AND ANI OR ORI ANDP ANDF ORP ORF ADDP SUBP MULP DIVP MOV MOVP END FEND CJ CALL RET INV LD= LD> LD< LD= AND= AND> AND< AND= 部分IO定义: #define XX00 (GPIOA->IDR &GPIO;_Pin_0)//PA0 #define XX01 (GPIOA->IDR &GPIO;_Pin_1)//PA1 #define XX02 (GPIOC->IDR &GPIO;_Pin_5)//PC5 #define XX03 (GPIOC->IDR &GPIO;_Pin_6)//PC6 #define XX04 (GPIOC->IDR &GPIO;_Pin_7)//PC7 #define XX05 (GPIOC->IDR &GPIO;_Pin_4)//PC4 #define XX06 (GPIOA->IDR &GPIO;_Pin_14)//PA14 #define XX07 (GPIOA->IDR &GPIO;_Pin_13)//PA13 #define XX10 (GPIOA->IDR &GPIO;_Pin_11)//PA11 #define XX11 (GPIOA->IDR &GPIO;_Pin_8)//PA8 #define XX12 (GPIOC->IDR &GPIO;_Pin_9)//PC9 #define XX13 (GPIOD->IDR &GPIO;_Pin_15)//PD15 #define XX14 (GPIOD->IDR &GPIO;_Pin_14)//PD14 #define XX15 (GPIOD->IDR &GPIO;_Pin_13)//PD13 #define XX16 (GPIOD->IDR &GPIO;_Pin_12)//PD12 #define XX17 (GPIOD->IDR &GPIO;_Pin_11)//PD11 #define XX20 (GPIOD->IDR &GPIO;_Pin_10//PD10 #define XX21 (GPIOD->IDR &GPIO;_Pin_9)//PD9 #define XX22 (GPIOD->IDR &GPIO;_Pin_8)//PD8 #define XX23 (GPIOB->IDR &GPIO;_Pin_15)//PB15 #define XX24 (GPIOB->IDR &GPIO;_Pin_14)//PB14 #define XX25 (GPIOB->IDR &GPIO;_Pin_13)//PB13 #define XX26 (GPIOE->IDR &GPIO;_Pin_15)//PE15 #define XX27 (GPIOE->IDR &GPIO;_Pin_10)//PE10 #define XX30 (GPIOE->IDR &GPIO;_Pin_14)//PE14 #define XX31 (GPIOE->IDR &GPIO;_Pin_11)//PE11 #define XX32 (GPIOE->IDR &GPIO;_Pin_13)//PE13 #define XX33 (GPIOE->IDR &GPIO;_Pin_12)//PE12
2021-03-10 11:48:15 791KB FX1N底层源码 PLC源码
1