AnsweredAssumed Answered

GPIO switch from input to output time with STM32F103

Question asked by c.a.001 on Sep 4, 2013
Latest reply on Sep 6, 2013 by John F.
Hi there,
    If PortD is originally configured as input and then the following code is executed, how long will it take 0x5AA5 to appear on portD after the ->CRL assignment completes?  Can't seem to find this in the datasheet.  Since output is set for 10 mHz, the voltage should appear within 100 nSecs?  But is there any delay when switch from input to output?

          GPIOD->ODR = 0x5AA5;
          GPIOD->CRH = 0x11111111;
          GPIOD->CRL = 0x11111111;