#include "board.h"
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | WaveformConfiguration |
Defines | |
#define | PIN_TC_TIOA_OUT {PIO_PA0B_TIOA0, PIOA, ID_PIOA, PIO_PERIPH_B, PIO_DEFAULT} |
#define | PIN_TC_TIOA_IN {PIO_PD21C_TIOA11, PIOD, ID_PIOD, PIO_PERIPH_C, PIO_DEFAULT} |
#define | TC_WAVE_BASE TC0 |
#define | TC_WAVE_ID ID_TC0 |
#define | TC_WAVE_CHANNEL 0 |
#define | TC_CAPTURE_BASE TC3 |
#define | TC_CAPTURE_ID ID_TC11 |
#define | TC_CAPTURE_CHANNEL 2 |
#define | TC_Handler TC11_Handler |
#define | TC_IRQn TC11_IRQn |
Functions | |
void | TC_Handler (void) |
Interrupt handler for the TC capture. | |
int | main (void) |
Application entry point for tc_capture_waveform example. | |
Variables | |
const uint8_t | numConfigurations |
const uint32_t | divisors [5] = {2, 8, 32, 128, BOARD_MCK / 32768} |
This file contains all the specific code for the tc capture waveform example.
Definition in file main.c.
int main | ( | void | ) |
const uint8_t numConfigurations |
sizeof(waveformConfigurations) / sizeof(struct WaveformConfiguration)
Number of available wave configurations