Rename the misspelled peripherials directory to peripherals.

This commit is contained in:
László Monda
2017-04-15 01:00:55 +02:00
parent 6c8bcfaffc
commit cca1e49d18
17 changed files with 14 additions and 14 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef _RESET_BUTTON_H_
#define _RESET_BUTTON_H_
// Includes:
#include "fsl_gpio.h"
// Macros:
#define RESET_BUTTON_GPIO GPIOB
#define RESET_BUTTON_PORT PORTB
#define RESET_BUTTON_CLOCK kCLOCK_PortB
#define RESET_BUTTON_PIN 1
#define RESET_BUTTON_IRQ PORTB_IRQn
#define RESET_BUTTON_IRQ_HANDLER PORTB_IRQHandler
#define RESET_BUTTON_IS_PRESSED !GPIO_ReadPinInput(RESET_BUTTON_GPIO, RESET_BUTTON_PIN)
// Functions:
extern void InitResetButton();
#endif