You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
253 B
16 lines
253 B
10 months ago
|
/*
|
||
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef __GPIO_H__
|
||
|
#define __GPIO_H__
|
||
|
|
||
|
#define GET_PIN(gpiox, pinNumber) (rt_base_t)(gpiox << 5 | pinNumber)
|
||
|
|
||
|
int rt_hw_gpio_init(void);
|
||
|
|
||
|
#endif
|