27 lines
581 B
C
27 lines
581 B
C
/** @file afio.h
|
|
* Module handling Alternate Functions for Inputs/Outputs
|
|
*
|
|
* The module provides functions to remap ios to diverse peripherals
|
|
*/
|
|
|
|
#ifndef _AFIO_H_
|
|
#define _AFIO_H_
|
|
|
|
//--includes--------------------------------------------------------------------
|
|
|
|
#include "stdint.h"
|
|
#include "stdbool.h"
|
|
|
|
#include "exti.h"
|
|
|
|
|
|
//--type definitions------------------------------------------------------------
|
|
|
|
//--functions-------------------------------------------------------------------
|
|
|
|
void afio_map_exti(enum ExtiLine line_mask, enum GpioPort port);
|
|
|
|
|
|
#endif //_AFIO_H_
|
|
|