SPRAC77E January 2022 – February 2022 TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S
This section details the PulseGen Library functions. For information on locating the source code and rebuilding the library, see Section 7.
PulseGen include file: pto_pulsegen.h
Name | Description | Type |
---|---|---|
pto_pulsegen_reset | Used to reset the pulsegen parameters set by earlier configuration and start a fresh setup. This function needs to be called in case the pulse generation needs to be reset and started again at a later stage. | Initialization time |
pto_pulsegen _setupPeriph |
Setup for CLB and other interconnect XBARs is performed with this function during system initialization. This function needed to be called after every system reset. No transactions will be performed until the setup peripheral function is called. | Initialization time |
pto_pulsegen _startOperation |
This function will initiate the pulse generation on the interface. To be called after pto_pulsegen_setupPeriph. Performs the transaction set up by earlier function. Note that the setup up and start operation are separate function calls. You can setup the peripherals when needed and start the actual pulse generation using this function call, as needed, at a different time. | Run time |
pto_pulsegen _runPulseGen |
A runtime function to be called periodically for dynamically configuring and changing the pulse generation requirements as needed by the application. This function needs to be called periodically with appropriate parameters like the number of pulses, period, duration, and so forth. Details in the later section. | Run time |