Skip to content

Fast GPIO Interface (Dedicated GPIO) #1065

Answered by yanshay
yanshay asked this question in Q&A
Discussion options

You must be logged in to vote

I managed to solve this.
The issue was with the asm code which for some reason doesn't work, don't know how it work in esp-idf.
I managed to get it to work with the mask command:
unsafe { core::arch::asm!("ee.wr_mask_gpio_out {0}, {1}", in(reg) 0x00, in(reg) 0x01) };
I just hope it's as fast as the non masked version.

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by yanshay
Comment options

You must be logged in to vote
4 replies
@yanshay
Comment options

@MabezDev
Comment options

@yanshay
Comment options

@yanshay
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants