70 extern void IO_PinSet(
volatile uint32_t *pRegisterAddress, uint32_t pin) {
74 *pRegisterAddress |= (uint32_t)((uint32_t)1u << pin);
77 extern void IO_PinReset(
volatile uint32_t *pRegisterAddress, uint32_t pin) {
81 *pRegisterAddress &= ~(uint32_t)((uint32_t)1u << pin);
84 extern uint8_t
IO_PinGet(
const volatile uint32_t *pRegisterAddress, uint32_t pin) {
88 uint8_t pinState = (uint8_t)((*pRegisterAddress & ((uint32_t)1u << (pin))) >> pin);
#define FAS_ASSERT(x)
Assertion macro that asserts that x is true.
#define NULL_PTR
Null pointer.
#define LARGEST_PIN_NUMBER
largest pin number that exists in TMS570LC4357
uint8_t IO_PinGet(const volatile uint32_t *pRegisterAddress, uint32_t pin)
Get pin state.
void IO_PinSet(volatile uint32_t *pRegisterAddress, uint32_t pin)
Set pin by writing in pin output register.
void IO_PinReset(volatile uint32_t *pRegisterAddress, uint32_t pin)
Set pin by writing in pin output register.
Header for the driver for the IO module.