Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61b59563 authored by Sonic Zhang's avatar Sonic Zhang Committed by Bryan Wu
Browse files

Blackfin arch: Add peripheral io API to gpio header file

parent e745106c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -210,3 +210,7 @@ struct gpio_port_t {
	unsigned int port_mux;
};

int gpio_request(unsigned short gpio, const char *label);
void peripheral_free(unsigned short per);
int peripheral_request_list(unsigned short per[], const char *label);
void peripheral_free_list(unsigned short per[]);