AnsweredAssumed Answered

Configure all the pins on PORT D ?

Question asked by H.Rick on Mar 30, 2014
Latest reply on Mar 30, 2014 by Clive One
Guys,

How can I configure all the pins on PORT D as output ?
I see for one pin :

1.GPIO_InitStructure.GPIO_Pin = LED1_D_PIN;
2.GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
3.GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
4.GPIO_Init(LED1_D_PORT, &GPIO_InitStructure);
Thanks

Outcomes