2023-09-14 14:39:29 +03:00
|
|
|
|
/*
|
|
|
|
|
* gpio_init.h
|
|
|
|
|
*
|
|
|
|
|
* Created on: 4 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
|
|
|
|
|
* Author: seklyuts
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef SRC_GPIO_INIT_H_
|
|
|
|
|
#define SRC_GPIO_INIT_H_
|
|
|
|
|
|
|
|
|
|
|
2023-10-12 08:47:43 +03:00
|
|
|
|
#define FaultAL !GpioDataRegs.GPCDAT.bit.GPIO90
|
|
|
|
|
#define FaultAH !GpioDataRegs.GPCDAT.bit.GPIO92
|
|
|
|
|
#define FaultBL !GpioDataRegs.GPCDAT.bit.GPIO94
|
|
|
|
|
#define FaultBH !GpioDataRegs.GPDDAT.bit.GPIO127
|
|
|
|
|
#define FaultCL !GpioDataRegs.GPEDAT.bit.GPIO147
|
|
|
|
|
#define FaultCH !GpioDataRegs.GPDDAT.bit.GPIO104
|
|
|
|
|
|
2023-09-14 14:39:29 +03:00
|
|
|
|
void GpioInit(void);
|
2023-10-12 08:47:43 +03:00
|
|
|
|
//void Gpio20out(uint16_t out_bit);
|
|
|
|
|
//void Gpio21out(uint16_t out_bit);
|
|
|
|
|
void Gpio15out(uint16_t out_bit);
|
|
|
|
|
void Gpio54out(uint16_t out_bit);
|
|
|
|
|
void Gpio55out(uint16_t out_bit);
|
|
|
|
|
void Gpio56out(uint16_t out_bit);
|
|
|
|
|
void Gpio57out(uint16_t out_bit);
|
2023-09-14 14:39:29 +03:00
|
|
|
|
|
|
|
|
|
#endif /* SRC_GPIO_INIT_H_ */
|