STM32F103C8T6 GPIOB_ODR

Post Reply
Lin1959
Posts: 3
Joined: Mon Aug 17, 2020 4:31 pm

STM32F103C8T6 GPIOB_ODR

Post by Lin1959 »

Hello!
ADC data output LCD, terminal, portB.
LCD yes, terminal yes.
How to output data to the GPIOB port? No pinMode.

ag123
Posts: 494
Joined: Thu Dec 19, 2019 5:30 am
Answers: 1

Re: STM32F103C8T6 GPIOB_ODR

Post by ag123 »

the answer is probably somewhere inside the combination of
RM0008 STM32F103 ref manual
https://www.st.com/resource/en/referenc ... ronics.pdf
and the source codes (in particular the headers and the source codes as examples and the examples)

Lin1959
Posts: 3
Joined: Mon Aug 17, 2020 4:31 pm

Re: STM32F103C8T6 GPIOB_ODR

Post by Lin1959 »

Thank!

“The hardest thing of all is to find a black cat in a dark room, especially if there is no cat.”

― Confucius

GonzoG
Posts: 67
Joined: Wed Jan 15, 2020 11:30 am
Answers: 5

Re: STM32F103C8T6 GPIOB_ODR

Post by GonzoG »

in STM core:
GPIOB->ODR = x;

Lin1959
Posts: 3
Joined: Mon Aug 17, 2020 4:31 pm

Re: STM32F103C8T6 GPIOB_ODR

Post by Lin1959 »

GPIO_Digital_Output(@GPIOB_BASE, _GPIO_PINMASK_ALL)
GPIOB_ODR =x
//mikroBasic//

Post Reply

Return to “Let us know a bit about you and your projects”