Hardware Design: SIE
Sign in or create your account | Project List | Help
Hardware Design: SIE Git Source Tree
Root/
| 1 | <!--File for SIE Code Generator. Custmos Blocks--> |
| 2 | <CustomItem BlockName="ADC Single"> |
| 3 | <Polygon> |
| 4 | <Point x="-80" y="-10"/> |
| 5 | <Point x="-60" y="-40"/> |
| 6 | <Point x="110" y="-40"/> |
| 7 | <Point x="110" y="20"/> |
| 8 | <Point x="60" y="20"/> |
| 9 | <Point x="60" y="-40"/> |
| 10 | <Point x="60" y="20"/> |
| 11 | <Point x="110" y="20"/> |
| 12 | <Point x="110" y="-40"/> |
| 13 | <Point x="60" y="-40"/> |
| 14 | <Point x="60" y="20"/> |
| 15 | <Point x="-60" y="20"/> |
| 16 | </Polygon> |
| 17 | <TextItems> |
| 18 | <TextItem myStyleIO="0" posOffset-y="-10" editableItem="0" ID="3" text="Clock Div." posOffset-x="-30"/> |
| 19 | <TextItem myStyleIO="0" posOffset-y="30" editableItem="0" ID="1" text="ADC Single Channel" posOffset-x="0"/> |
| 20 | <TextItem myStyleIO="0" posOffset-y="10" editableItem="1" ID="0" text="0" posOffset-x="30"/> |
| 21 | <TextItem myStyleIO="10" posOffset-y="10" editableItem="0" ID="2" text="UShort" posOffset-x="110"/> |
| 22 | <TextItem myStyleIO="0" posOffset-y="10" editableItem="0" ID="5" text="Channel:" posOffset-x="-30"/> |
| 23 | <TextItem myStyleIO="0" posOffset-y="-10" editableItem="1" ID="4" text="255" posOffset-x="30"/> |
| 24 | </TextItems><![CDATA[]]><![CDATA[ |
| 25 | ADC_SPI_CLKDIV=value_4; |
| 26 | ADC_BUFFER_LEN=2; |
| 27 | ADC_MUX_CHANNELS=0; |
| 28 | ]]><![CDATA[ |
| 29 | JZ_REG * ADC_DATA = ADCTakeSamples(ADCBuffer,value_0); |
| 30 | out_2 = ADC_DATA[0]&0x03FF; |
| 31 | ]]><![CDATA[]]></CustomItem> |
| 32 |
Branches:
master
