Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] working with GPIO in 8bit mode in stm32f103 with cmsis

Status
Not open for further replies.

dizgah

Member level 5
Joined
Nov 8, 2009
Messages
91
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
iran-8par
Activity points
2,049
hi ever body

as you know with :
GPIO_SetBits(PORT , PIN);
GPIO_ResetBits(PORT , PIN);

we can set & reset 1 bit of gpio,whats instruction of ser/reset 8bit,i mean is there any instruction for example set bits 0,7? or we must do this 8 time for per pin?
thanks
 

GPIO_SetBits(GPIOA, GPIO_Pin_1|GPIO_Pin_7) will set 1 and 7 pins of port A.
 
  • Like
Reactions: dizgah

    dizgah

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top