@ShaneCCC Thank you for your answer, I got your point. And I can use mmap to control GPIO(Reference toMMAP_EXAMPLE)