Re: [Documentation Release] PCB of ESP32 Module
Posted: Wed Dec 09, 2015 9:17 am
New version 1.2
Code: Select all
..
#define PERIPHS_IO_MUX_MTCK_U (DR_REG_IO_MUX_BASE +0x38)
#define FUNC_MTCK_U0CTS 3
#define FUNC_MTCK_GPIO13 2
#define FUNC_MTCK_HSPID 1
#define FUNC_MTCK_MTCK 0
..
yeap... nice work -pighixxx wrote: @Rudi
Later I take a look
not 100 procent sure ( 99,99 procent ) , think ethernet?!pseliger wrote:Does someone know where is RMII Interface muxed?
Code: Select all
..
#define RMT_SIG_IN1_IDX 84
#define RMT_SIG_IN2_IDX 85
#define RMT_SIG_IN3_IDX 86
..
#define RMT_SIG_OUT0_IDX 87
#define RMT_SIG_OUT1_IDX 88
#define RMT_SIG_OUT2_IDX 89
#define RMT_SIG_OUT3_IDX 90
#define RMT_SIG_OUT4_IDX 91
#define RMT_SIG_OUT5_IDX 92
#define RMT_SIG_OUT6_IDX 93
#define RMT_SIG_OUT7_IDX 94
..
Code: Select all
/**
* @brief Enable GPIO pin intput,This function only config GPIO0-GPIO31.
* @param gpio_bits : The GPIO bit number.
* @return null
*/
#define GPIO_AS_INPUT(gpio_bits) gpio_output_conf(0, 0, 0, gpio_bits)
/**
* @brief Enable GPIO pin intput,This function only config GPIO32-GPIO39.
* @param gpio_bits : The GPIO bit number.
* @return null
*/
#define GPIO_AS_INPUT_HIGH(gpio_bits) gpio_output_conf_high(0, 0, 0, gpio_bits)
/**
* @brief Enable GPIO pin output,This function only config GPIO0-GPIO31.
* @param gpio_bits : The GPIO bit number.
* @return null
*/
#define GPIO_AS_OUTPUT(gpio_bits) gpio_output_conf(0, 0, gpio_bits, 0)
/**
* @brief Enable GPIO pin output,This function only config GPIO32-GPIO39.
* @param gpio_bits : The GPIO bit number.
* @return null
*/
#define GPIO_AS_OUTPUT_HIGH(gpio_bits) gpio_output_conf_high(0, 0, gpio_bits, 0)
Code: Select all
we have GPIO0 - GPIO39 In and Output
Input GPIO0 - GPIO31
Output GPIO0 - GPIO31
Input High GPIO32 - GPIO39
Output High GPIO32 - GPIO39
Code: Select all
#define GPIO_Pin_22 (BIT(22)) /* Pin 22 selected */
#define GPIO_Pin_23 (BIT(23)) /* Pin 23 selected */
//#define GPIO_Pin_24 (BIT(24)) /* Pin 24 selected */
#define GPIO_Pin_25 (BIT(25)) /* Pin 25 selected */
#define GPIO_Pin_26 (BIT(26)) /* Pin 26 selected */
#define GPIO_Pin_27 (BIT(27)) /* Pin 27 selected */
//#define GPIO_Pin_28 (BIT(28)) /* Pin 28 selected */
//#define GPIO_Pin_29 (BIT(29)) /* Pin 29 selected */
//#define GPIO_Pin_30 (BIT(30)) /* Pin 30 selected */
//#define GPIO_Pin_31 (BIT(31)) /* Pin 31 selected */
#define GPIO_Pin_32 (BIT(0)) /* Pin 32 selected */