- void KeyScan(void);
- void ReadAndWriteViewDataMemory(void);
- //********************************************************
- #define KEY_PORT_OUT P1OUT
- #define KEY_PORT_IN P1IN
- //********************************************************
- #define bitKeySendFaxSignal (0x10)
- #define bitKeyManualMode (0x08)
- #define bitKeyAutoMode (0x04)
- #define bitKeyRingNumAdd (0x02)
- #define bitKeyRingNumDec (0x01)