| | |
| | | #endif
|
| | | if (Uart2Stat.bPacketRecved)
|
| | | {
|
| | | ParsePacket(2, (pPacket)Uart2RecvBuf1, Uart2RecvBuf1DataLen); |
| | | KBusParsePacket(2, (pPacket)Uart2RecvBuf1, Uart2RecvBuf1DataLen); |
| | | Uart2RecvBuf1DataLen=0;
|
| | | Uart2Stat.bPacketRecved=0;
|
| | | Uart2RecvDMA(Uart2RecvBuf1,sizeof(Uart2RecvBuf1));
|
| | |
| | | case 13:
|
| | | return Input165_R(16);
|
| | | case 14:
|
| | | return 0; //FP0
|
| | | return 0; //FP0
|
| | | case 15:
|
| | | return Input165_R(16);
|
| | | case 16:
|
| | | return Input165_R(8);
|
| | | |
| | | default:
|
| | | break;
|
| | | }
|
| | |
| | | case 14:
|
| | | return (~(LL_GPIO_ReadInputPort(GPIOA)>>4))&0x0f; //FP0
|
| | | case 15:
|
| | | case 16:
|
| | | return ReadConfig_5(); //Wireless Master Slave 8 in 8 o
|
| | | default:
|
| | |
|
| | |
| | | //Output595_16(Y);
|
| | | }
|
| | |
|
| | | #if (BOARD_TYPE == 9 || BOARD_TYPE == 10 || BOARD_TYPE == 15 )
|
| | | #if (BOARD_TYPE == 9 || BOARD_TYPE == 10 || BOARD_TYPE == 15 || BOARD_TYPE == 16)
|
| | | //#pragma message("9,10")
|
| | | // V4.2 管脚排列向右移动了一位。
|
| | | #define SRCLK1_0() LL_GPIO_ResetOutputPin(GPIOB,LL_GPIO_PIN_1)
|