Demo entry 6362014

GPIO

   

Submitted by Zhao Yi on May 06, 2017 at 08:38
Language: C. Code size: 318 Bytes.

1.	void GPIO_config(void)   
2.	{              
3.	    GPIO_InitTypeDef   GPIO_InitStructure;              
4.	    GPIO_InitStructure.Pin = GPIO_Pin_6 | GPIO_Pin_7;                
5.	    GPIO_InitStructure.Mode = GPIO_HighZ;                
6.	    GPIO_Inilize(GPIO_P2, &GPIO_InitStructure);       
7.	}      

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).