samd21: Initial support for SAMD21 micro-controllers
Add initial support for the Atmel SAMD21 micro-controllers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
10
src/samd21/internal.h
Normal file
10
src/samd21/internal.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef __SAMD21_INTERNAL_H
|
||||
#define __SAMD21_INTERNAL_H
|
||||
// Local definitions for samd21 code
|
||||
|
||||
#include <stdint.h> // uint32_t
|
||||
|
||||
void enable_pclock(uint32_t clock_id, uint32_t pmask);
|
||||
void gpio_peripheral(char bank, uint32_t bit, char ptype, uint32_t pull_up);
|
||||
|
||||
#endif // internal.h
|
||||
Reference in New Issue
Block a user