Home > other >  External sensors is overmuch, STM32F103ZET6 GPIO is too little, how to reuse the port used as ordina
External sensors is overmuch, STM32F103ZET6 GPIO is too little, how to reuse the port used as ordina

Time:05-25

0 such as: F103ZET6 PF13 PF14, PF15 is and FSMC_A7 FSMC_A8, FSMC_A9 reuse port, I want to used as ordinary port.
1 like this:
2 0 RCC_APB2PeriphClockCmd (RCC_APB2Periph_GPIOF, ENABLE);
3 1 GPIO_InitTypeDef GPIO_InitStructure;
4 2 GPIO_InitStructure. GPIO_Pin=GPIO_Pin_13;
5. 3 GPIO_InitStructure GPIO_Mode=GPIO_Mode_Out_PP;
6 4 GPIO_InitStructure. GPIO_Speed=GPIO_Speed_50MHz;
7. 5
8 6 GPIO_Init (GPIOF, & amp; GPIO_InitStructure);
9 7 GPIO_SetBits (GPIOF, GPIO_Pin_13);
10 but I measured with a multimeter, always can't get higher voltage of PF13.
11. Don't know can use stm32f10x_gpio c function configuration, solving

CodePudding user response:

103 ze good expensive lately,,, I see the price of JLC is hundreds of pieces,,,,,,,
  • Related