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

📄 eyesifxserialp.nc

📁 tinyos2.0版本驱动
💻 NC
字号:
module eyesIFXSerialP { provides interface StdControl; provides interface Msp430UartConfigure; uses interface Resource;}implementation {  enum {     UBR_1MHZ_57601=0x0011,  UMCTL_1MHZ_57601=0xAA // 57600 bit/s  };			       msp430_uart_union_config_t msp430_uart_eyes_config = { {ubr: UBR_1MHZ_57601, umctl: UMCTL_1MHZ_57601, ssel: 0x02, pena: 0, pev: 0, spb: 0, clen: 1, listen: 0, mm: 0, ckpl: 0, urxse: 0, urxeie: 1, urxwie: 0, urxe: 1, utxe: 1} };  command error_t StdControl.start(){    return call Resource.immediateRequest();  }  command error_t StdControl.stop(){    call Resource.release();    return SUCCESS;  }  event void Resource.granted(){}  async command msp430_uart_union_config_t* Msp430UartConfigure.getConfig() {    return &msp430_uart_eyes_config;  }}

⌨️ 快捷键说明

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