sam4e8e: Move gpio_set_peripheral() definition from gpio.h to internal.h
Use internal.h in a similar way to the internal.h in sam3x8e. Also, move the twi pin definitions from internal.h to i2c.c (as they are only used there). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -9,7 +9,6 @@ struct gpio_out {
|
||||
uint32_t bit;
|
||||
};
|
||||
|
||||
void gpio_set_peripheral(char bank, uint32_t bit, char ptype, uint32_t pull_up);
|
||||
struct gpio_out gpio_out_setup(uint8_t pin, uint8_t val);
|
||||
void gpio_out_reset(struct gpio_out g, uint8_t val);
|
||||
void gpio_out_toggle_noirq(struct gpio_out g);
|
||||
|
||||
Reference in New Issue
Block a user