Hi,
I'd like to know whether I could create data bus using BitsIO but pins will be from different port. I am trying to port my mbed program to KDS.
I'd like to create data bus as in the following code.
dataBus( PTA13, PTD5, PTD4, PTA12, PTA4, PTA5, PTC8, PTC9 );
Thanks,
Bryan
 
					
				
		
 ZhangJennie
		
			ZhangJennie
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		No, I don't think.
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
 
					
				
		
 ZhangJennie
		
			ZhangJennie
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
BitsIO component is only for one port, for example portA. if your dataBus contains other port, for example PortC, we can't implement the data bus with one BitsIO component. we need use additional BitsIO component for it. or use BitIO for one pin of each.
then you make your own dataBus function to combine those different together.
does this answer your question?
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
 
					
				
		
 Alice_Yang
		
			Alice_Yang
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello Bryan,
The component of "BitsIO" only can use the continual ports :
And does add some BitIO_LDD components can meet your requirement ? then configure different ports .
Hope it helps
Alice
