-
Notifications
You must be signed in to change notification settings - Fork 6
PAL Interface
The interaction with the hardware and platform resources is abstracted from the core library by the definition of a platform abstraction interface.
For this shield, the platform resources that need to be provided are:
- GPIOC. Digital input and output ports.
- Timer. A timer for speed calculation related functionalities.
- SPIC. A SPI class interface related functionalities.
The PAL interfaces are implemented as C++ pure virtual classes.
- init()
- deinit()
- enableInt()
- disableInt()
- intEvent()
- read()
- write()
- enable()
- disable()
Find the complete specification for each function of the GPIO PAL interface in the PAL Interface Doxygen docs section.
- init()
- deinit()
- start()
- elapsed()
- stop()
- delay()
- delayMilli()
- delayMicro()
Find the complete specification for each function of the Timer PAL interface in the PAL Interface Doxygen docs section.
- init()
- deinit()
- transfer()
- transfer16()
Find the complete specification for each function of the SPI interface in the PAL Interface Doxygen docs section.
Library Architecture
TLE94112 API
TLE94112Motor API
PAL Interface
Source Tree Structure
Preprocessor Configuration
Porting Guide
Doxygen Docs
Arduino
- Getting Started
- Lib Installation
- Arduino API
- PlatformIO
Cypress ModusToolbox
- Getting Started
- Lib Installation
- ModusToolbox API
- Examples
Cypress WICED
- Getting Started
- Lib Installation
- WICED API
- Troubleshooting Guide
Raspberry Pi (C++)
- Getting Started
- Lib Installation
- Raspberry Pi API
- Examples
Raspberry Pi (Python)
- Getting Started
- Lib Installation
- RPi Python API
- Examples