Home
last modified time | relevance | path

Searched refs:u8GpioNum (Results 1 – 2 of 2) sorted by relevance

/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/driver/source/
Dm2m_periph.c66 static sint8 get_gpio_idx(uint8 u8GpioNum) in get_gpio_idx() argument
68 if(u8GpioNum >= M2M_PERIPH_GPIO_MAX) return -1; in get_gpio_idx()
69 if(u8GpioNum == M2M_PERIPH_GPIO15) { return 15; in get_gpio_idx()
70 } else if(u8GpioNum == M2M_PERIPH_GPIO16) { return 16; in get_gpio_idx()
71 } else if(u8GpioNum == M2M_PERIPH_GPIO18) { return 18; in get_gpio_idx()
72 } else if(u8GpioNum == M2M_PERIPH_GPIO3) { return 3; in get_gpio_idx()
73 } else if(u8GpioNum == M2M_PERIPH_GPIO4) { return 4; in get_gpio_idx()
74 } else if(u8GpioNum == M2M_PERIPH_GPIO5) { return 5; in get_gpio_idx()
75 } else if(u8GpioNum == M2M_PERIPH_GPIO6) { return 6; in get_gpio_idx()
83 static sint8 gpio_ioctl(uint8 op, uint8 u8GpioNum, uint8 u8InVal, uint8 * pu8OutVal) in gpio_ioctl() argument
[all …]
/hal_atmel-3.6.0/asf/common/components/wifi/winc1500/driver/include/
Dm2m_periph.h249 NMI_API sint8 m2m_periph_gpio_set_dir(uint8 u8GpioNum, uint8 u8GpioDir);
270 NMI_API sint8 m2m_periph_gpio_set_val(uint8 u8GpioNum, uint8 u8GpioVal);
291 NMI_API sint8 m2m_periph_gpio_get_val(uint8 u8GpioNum, uint8 * pu8GpioVal);
312 NMI_API sint8 m2m_periph_gpio_pullup_ctrl(uint8 u8GpioNum, uint8 u8PullupEn);