mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 20:21:04 +00:00
soc: combine xxx_caps.h into one soc_caps.h
During HAL layer refactoring and new chip bringup, we have several caps.h for each part, to reduce the conflicts to minimum. But this is The capabilities headers will be relataive stable once completely written (maybe after the featues are supported by drivers). Now ESP32 and ESP32-S2 drivers are relative stable, making it a good time to combine all these caps.h into one soc_caps.h This cleanup also move HAL config and pin config into separated files, to make the responsibilities of these headers more clear. This is helpful for the stabilities of soc_caps.h because we want to make it public some day.
This commit is contained in:
@@ -49,6 +49,39 @@
|
||||
#define BIT0 0x00000001
|
||||
//}}
|
||||
|
||||
#define BIT63 (0x80000000ULL << 32)
|
||||
#define BIT62 (0x40000000ULL << 32)
|
||||
#define BIT61 (0x20000000ULL << 32)
|
||||
#define BIT60 (0x10000000ULL << 32)
|
||||
#define BIT59 (0x08000000ULL << 32)
|
||||
#define BIT58 (0x04000000ULL << 32)
|
||||
#define BIT57 (0x02000000ULL << 32)
|
||||
#define BIT56 (0x01000000ULL << 32)
|
||||
#define BIT55 (0x00800000ULL << 32)
|
||||
#define BIT54 (0x00400000ULL << 32)
|
||||
#define BIT53 (0x00200000ULL << 32)
|
||||
#define BIT52 (0x00100000ULL << 32)
|
||||
#define BIT51 (0x00080000ULL << 32)
|
||||
#define BIT50 (0x00040000ULL << 32)
|
||||
#define BIT49 (0x00020000ULL << 32)
|
||||
#define BIT48 (0x00010000ULL << 32)
|
||||
#define BIT47 (0x00008000ULL << 32)
|
||||
#define BIT46 (0x00004000ULL << 32)
|
||||
#define BIT45 (0x00002000ULL << 32)
|
||||
#define BIT44 (0x00001000ULL << 32)
|
||||
#define BIT43 (0x00000800ULL << 32)
|
||||
#define BIT42 (0x00000400ULL << 32)
|
||||
#define BIT41 (0x00000200ULL << 32)
|
||||
#define BIT40 (0x00000100ULL << 32)
|
||||
#define BIT39 (0x00000080ULL << 32)
|
||||
#define BIT38 (0x00000040ULL << 32)
|
||||
#define BIT37 (0x00000020ULL << 32)
|
||||
#define BIT36 (0x00000010ULL << 32)
|
||||
#define BIT35 (0x00000008ULL << 32)
|
||||
#define BIT34 (0x00000004ULL << 32)
|
||||
#define BIT33 (0x00000002ULL << 32)
|
||||
#define BIT32 (0x00000001ULL << 32)
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
#ifndef BIT
|
||||
#define BIT(nr) (1UL << (nr))
|
||||
|
Reference in New Issue
Block a user