Home
last modified time | relevance | path

Searched defs:m (Results 1 – 3 of 3) sorted by relevance

/platform/lpc43xx/include/platform/
A Dlpc43xx-gpio.h14 #define PIN(m,n) ((((m) & 0xFF) << 8) | ((n) & 0xFF)) argument
18 #define _PIN_CFG(m,n) (0x40086000 + ((m) * 0x80) + ((n) * 4)) argument
36 #define GPIO(m,n) ((((m) & 0xFF) << 8) | ((n) & 0xFF)) argument
45 #define _GPIO_BYTE(m,n) (0x400F4000 + ((m) * 0x20) + (n)) argument
46 #define _GPIO_WORD(m,n) (0x400F5000 + ((m) * 0x80) + ((n) * 4)) argument
51 #define GPIO_DIR(m) (0x400F6000 + ((m) * 4)) // 1 = output, 0 = input argument
52 #define GPIO_MASK(m) (0x400F6080 + ((m) * 4)) // 1s disable MPIN() bits argument
53 #define GPIO_PIN(m) (0x400F6100 + ((m) * 4)) // r/w value at pins argument
56 #define GPIO_SET(m) (0x400F6200 + ((m) * 4)) // write 1s to set argument
57 #define GPIO_CLR(m) (0x400F6280 + ((m) * 4)) // write 1s to clear argument
[all …]
A Dlpc43xx-clocks.h94 #define PLL1_CTRL_MSEL(m) (((m) - 1) << 16) argument
/platform/lpc43xx/
A Dgpio.c13 unsigned m = _GPIOm(nr); in gpio_config() local

Completed in 10 milliseconds