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

📄 ap.stc

📁 可移植的MicroChip的PIC全系列单片机软件仿真器
💻 STC
字号:
# Stimulus file for testing 3-tcyc resolution# pulse measurements.echo Stimulus file for 3-tcyc pulse measurements# Define a node to which the pins can attach.node test_node# Create an asynchronous  stimulus that's 0x10000 cycles long# and attach it to portb bit 0. stimulus asynchronous_stimulus   # or we could've used asy# The initial state AND the state the stimulus is when# it rolls overinitial_state 1# all times are with respect to the cpu's cycle counterstart_cycle 0x100# the asynchronous stimulus will roll over in 'period'# cycles. Delete this line if you don't want a roll over.period 0x100# Indicate that this is digital data (default):digital# Now the cycles at which stimulus changes states are# specified. The initial cycle was specified above. 0x20  10x40  00x60  1# Give the stimulus a name:name asy1# Finally, tell the command line interface that we're done# with the stimulusend# Attach the stimulus to the IO portattach test_node asy1 portb0# but we can still have more stuffstimulusecho stimulus created

⌨️ 快捷键说明

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