变量GPIO在哪里定义的?

Donocean
Posts: 6
Joined: Mon Jul 03, 2023 4:10 am

变量GPIO在哪里定义的?

Postby Donocean » Mon Jul 03, 2023 4:48 am

你好,我最近在研究esp-id 的源码,在LL layer 我找不到GPIO是在哪里定义的

Code: Select all

//gpio_struct.h
extern gpio_dev_t GPIO;

// gpio_ll.h 
#define GPIO_LL_GET_HW(num) (((num) == 0) ? (&GPIO) : NULL) 

liyang5945
Posts: 11
Joined: Fri Jun 23, 2023 6:49 pm

Re: 变量GPIO在哪里定义的?

Postby liyang5945 » Tue Jul 04, 2023 11:18 am

esp32s3.peripherals.ld 文件

Who is online

Users browsing this forum: Baidu [Spider] and 28 guests