I configured all pins of stm32f103c8 as output. All pins are toggling and only PD0 and PD1 aren't toggling .. I am using internal crystal of stm32f103c8 then obviously the PD0 and PD1 pins are free for configure as output or input.
Thank you .. you tried your best to explain it to me. but my outcomes are zero.as your suggestion i found out __HAL_AFIO_REMAP_PD01_ENABLE(); __HAL_RCC_AFIO_CLK_ENABLE();