Skip to content

Instantly share code, notes, and snippets.

@hocarm

hocarm/PC9_Config.c

Created Aug 14, 2016
Embed
What would you like to do?
// see stm32f10x_gpio.h
GPIO_InitTypeDef GPIO_InitStructure;
GPIO_StructInit (& GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9;
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_2MHz;
GPIO_Init(GPIOC , &GPIO_InitStructure);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment