21 lines
532 B
C
21 lines
532 B
C
/*
|
|
* gpio.h
|
|
*
|
|
* Created on: 22-Jan-2024
|
|
* Author: saar
|
|
*/
|
|
|
|
#ifndef CORE_INCLUDE_GPIO_H_
|
|
#define CORE_INCLUDE_GPIO_H_
|
|
|
|
#include "ti_msp_dl_config.h"
|
|
|
|
int8_t mcu_gpioInitAllMcal(void);
|
|
int8_t mcu_gpioDeInitMcal(GPIO_Regs *GPIOx, uint32_t GPIO_Pin);
|
|
void mcu_gpioWriteMcal(void* port, uint32_t pin, uint32_t state);
|
|
uint16_t mcu_gpioReadMcal(void* port, uint32_t pin);
|
|
void mcu_gpioToggleMcal(void *port, uint32_t pin);
|
|
void mcu_set_gpioDirectionMcal(uint32_t pincmIndex, bool direction);
|
|
|
|
#endif /* CORE_INCLUDE_GPIO_H_ */
|