3.2.1 SDL structure
The SDL package includes startup, device header files, drivers providing APIs for each peripheral and their
examples, and development tool support for the IAR toolchain (recommend version: IAR EWARM revision
8.42.1). The following shows the PSoC
™
HV PA SDL project structure:
PSoC
™
_Sample_Driver_Library_x.x.x Top folder
│ License.txt
│ Readme.pdf
│
├─common
│ ├─hdr Project-specific headers
│ │ └─cmsis
│ │ └─include
│ └─src
│ ├─drivers
│ │ ├─crc Cyclic Redundancy Check API
│ │ ├─dma Direct Memory Access API
│ │ ├─gpio GPIO API
│ │ ├─lin LIN interface API
│ │ ├─scb Serial Communication Block APIs
│ │ ├─srss System Resources Subsystem API
│ │ ├─sysflt System Fault API
│ │ ├─sysint System Interrupt API
│ │ ├─syslib System Library API
│ │ ├─syspm System Power Management API
│ │ ├─sysreset System Reset API
│ │ ├─systick System Core Timer API
│ │ ├─tcpwm TCPWM and PWM APIs
│ │ └─trigmux Trigger Multiplexer API
│ ├─mw
│ │ ├─button Button Middleware Driver
│ │ ├─semihosting Semihosting Middleware Driver
│ │ └─sw_timer Software Timer (SwTmr) Middleware Driver
│ ├─startup Startup Code before main()
│ │ └─iar
│ └─startup_fbl Startup Code for Bootloader before main()
│ └─iar
├─docs Documentation
├─misc
│ ├─iar
│ │ IAR_EWARM_8421_Patch_PSoC4HV.7z Patch file for IAR
│ │ IAR_EWARM_8421_Patch_PSoC4HV192k.7z Patch file for IAR
│ │ SigJtag_1_87.zip DLL for I-jet interface to support │
│ SWD revision used in the device.
│ └─svd Device Description File
│ ├─psoc4hvpa144k
│ └─psoc4hvXXXX
└─psoc4hvpa144k
├─hdr Project-specific Headers
│ ├─rev_b
│ └─rev_c
│ ├─ip
Getting started with PSoC
™
HV PA family
3 Development environment and tools
Application note 10 002-30264 Rev. *B
2023-04-19