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

📄 portc_stim.stc

📁 可移植的MicroChip的PIC全系列单片机软件仿真器
💻 STC
字号:
# another test stimulation file## the '#' marks the beginning of a comment ## This stimulus file is used for testing portc#echo I/O pin Stimulus file for port C.# Define a node to which the pins can attach.node test_node_C# Create an asynchronous  stimulus that's 1000 cycles long# and attach it to portc bit 2. 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 0x1000# Indicate that this is digital data (default):digital# Now the cycles at which stimulus changes states are# specified. The initial cycle was specified above. 0x200 10x300 00x400 10x600 00x700 10x800 0# Give the stimulus a name:name asy1# Finally, tell the command line interface that we're done# with the stimulusend# but we can still have more stuffecho asy should've been createdstimulus# Attach the stimulus to the IO portattach test_node_C asy1 portc2echo stimulus created

⌨️ 快捷键说明

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