hplmcs51interruptc.nc
来自「Develop Zigbee network real-time Os」· NC 代码 · 共 29 行
NC
29 行
/* * The standard 8051 features 2 external interrupts, originally these * are tied to P3.3 and P3.4, but many variants map them to different * pins on the chip *//** * @author Martin Leopold <leopold@diku.dk> */configuration HplMcs51InterruptC { provides { interface HplMcs51Interrupt as ext_int_0; interface HplMcs51Interrupt as ext_int_1; }}implementation{ components HplMcs51InterruptP; // I never got arround to test this.. So if you wan't to use it // maybee you should.#pragma WARN UNTESTED!!!! ext_int_0 = HplMcs51InterruptP.ext_int_0; ext_int_1 = HplMcs51InterruptP.ext_int_1;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?