MSPM0_ValvanoWare  1.0
ECE445L starter code
Macros | Functions
InputCapture.h File Reference

Software driver functions for input capture. More...

Go to the source code of this file.

Macros

#define INPUTCAPTUREUSELFCLK   2
 use INPUTCAPTUREUSELFCLK to select 32768 Hz LFCLK
 
#define INPUTCAPTUREUSEMFCLK   4
 use INPUTCAPTUREUSEMFCLK to select MFCLK (not tested)
 
#define INPUTCAPTUREUSEBUSCLK   8
 use INPUTCAPTUREUSEBUSCLK to select BUSCLK
 

Functions

void InputCapture_Init (uint32_t timerClkSrc, uint32_t timerClkPrescale, uint32_t priority)
 Initialize input capture. More...
 
void InputCapture_InitDual (uint32_t timerClkSrc, uint32_t timerClkPrescale, uint32_t priority)
 

Detailed Description

Software driver functions for input capture.

PA12 is digital wave input, index 33 in IOMUX PINCM table.

Version
ECE319K v1.0
Author
Daniel Valvano and Jonathan Valvano
Warning
AS-IS
Note
For more information see http://users.ece.utexas.edu/~valvano/
Date
August 14, 2023
Input capture pins
Pin TimerDescription
PA12TIMG0interrupts on rising edge of PA12