⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 notepad.c

📁 dsPIC30F4011 + 4*4 metrix Keypad(flexible pin I/O) + Timer0 service >> MPLAB Project files &
💻 C
字号:
struct status
{
   unsigned UARTIntTxBufferFull  :1;
   unsigned UARTIntTxBufferEmpty :1;
   unsigned UARTIntRxBufferFull  :1;
   unsigned UARTIntRxBufferEmpty :1;
   unsigned UARTIntRxOverFlow :1;
   unsigned UARTIntRxError:1;                
};

extern struct status vUARTIntStatus;



struct tagKeypad
  {
   unsigned char keyBusy  : 1;
   unsigned char keyLeave : 1;
   unsigned char keyPress : 1;
   unsigned char keyFlag  : 1;
  } volatile KeyPADstatus;

    KeyPADstatus.keyLeave = 0;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -