Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mtk-common-pinctrl.h File Reference

Go to the source code of this file.

Macros

#define MTK_PIN_NO(x)
#define MTK_GET_PIN_NO(x)
#define MTK_GET_PIN_FUNC(x)
#define MTK_PUPD_SET_R1R0_00   100
#define MTK_PUPD_SET_R1R0_01   101
#define MTK_PUPD_SET_R1R0_10   102
#define MTK_PUPD_SET_R1R0_11   103
#define MTK_RSEL_SET_R1R0_00   104
#define MTK_RSEL_SET_R1R0_01   105
#define MTK_RSEL_SET_R1R0_10   106
#define MTK_RSEL_SET_R1R0_11   107
#define MTK_PULL_SET_RSEL_000   200
#define MTK_PULL_SET_RSEL_001   201
#define MTK_PULL_SET_RSEL_010   202
#define MTK_PULL_SET_RSEL_011   203
#define MTK_PULL_SET_RSEL_100   204
#define MTK_PULL_SET_RSEL_101   205
#define MTK_PULL_SET_RSEL_110   206
#define MTK_PULL_SET_RSEL_111   207
#define MTK_DRIVE_2mA   2
#define MTK_DRIVE_4mA   4
#define MTK_DRIVE_6mA   6
#define MTK_DRIVE_8mA   8
#define MTK_DRIVE_10mA   10
#define MTK_DRIVE_12mA   12
#define MTK_DRIVE_14mA   14
#define MTK_DRIVE_16mA   16
#define MTK_DRIVE_20mA   20
#define MTK_DRIVE_24mA   24
#define MTK_DRIVE_28mA   28
#define MTK_DRIVE_32mA   32

Macro Definition Documentation

◆ MTK_DRIVE_10mA

#define MTK_DRIVE_10mA   10

◆ MTK_DRIVE_12mA

#define MTK_DRIVE_12mA   12

◆ MTK_DRIVE_14mA

#define MTK_DRIVE_14mA   14

◆ MTK_DRIVE_16mA

#define MTK_DRIVE_16mA   16

◆ MTK_DRIVE_20mA

#define MTK_DRIVE_20mA   20

◆ MTK_DRIVE_24mA

#define MTK_DRIVE_24mA   24

◆ MTK_DRIVE_28mA

#define MTK_DRIVE_28mA   28

◆ MTK_DRIVE_2mA

#define MTK_DRIVE_2mA   2

◆ MTK_DRIVE_32mA

#define MTK_DRIVE_32mA   32

◆ MTK_DRIVE_4mA

#define MTK_DRIVE_4mA   4

◆ MTK_DRIVE_6mA

#define MTK_DRIVE_6mA   6

◆ MTK_DRIVE_8mA

#define MTK_DRIVE_8mA   8

◆ MTK_GET_PIN_FUNC

#define MTK_GET_PIN_FUNC ( x)
Value:
((x) & 0xf)

◆ MTK_GET_PIN_NO

#define MTK_GET_PIN_NO ( x)
Value:
((x) >> 8)

◆ MTK_PIN_NO

#define MTK_PIN_NO ( x)
Value:
((x) << 8)

◆ MTK_PULL_SET_RSEL_000

#define MTK_PULL_SET_RSEL_000   200

◆ MTK_PULL_SET_RSEL_001

#define MTK_PULL_SET_RSEL_001   201

◆ MTK_PULL_SET_RSEL_010

#define MTK_PULL_SET_RSEL_010   202

◆ MTK_PULL_SET_RSEL_011

#define MTK_PULL_SET_RSEL_011   203

◆ MTK_PULL_SET_RSEL_100

#define MTK_PULL_SET_RSEL_100   204

◆ MTK_PULL_SET_RSEL_101

#define MTK_PULL_SET_RSEL_101   205

◆ MTK_PULL_SET_RSEL_110

#define MTK_PULL_SET_RSEL_110   206

◆ MTK_PULL_SET_RSEL_111

#define MTK_PULL_SET_RSEL_111   207

◆ MTK_PUPD_SET_R1R0_00

#define MTK_PUPD_SET_R1R0_00   100

◆ MTK_PUPD_SET_R1R0_01

#define MTK_PUPD_SET_R1R0_01   101

◆ MTK_PUPD_SET_R1R0_10

#define MTK_PUPD_SET_R1R0_10   102

◆ MTK_PUPD_SET_R1R0_11

#define MTK_PUPD_SET_R1R0_11   103

◆ MTK_RSEL_SET_R1R0_00

#define MTK_RSEL_SET_R1R0_00   104

◆ MTK_RSEL_SET_R1R0_01

#define MTK_RSEL_SET_R1R0_01   105

◆ MTK_RSEL_SET_R1R0_10

#define MTK_RSEL_SET_R1R0_10   106

◆ MTK_RSEL_SET_R1R0_11

#define MTK_RSEL_SET_R1R0_11   107