Microchip® Advanced Software Framework

sam/drivers/events/unit_tests/unit_tests.c File Reference

Unit tests for Events driver (PEVC).

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

#include <asf.h>
#include <conf_test.h>

Functions

static void init_ast (void)
 Initialize the AST as event generator. More...
 
static void init_dacc (void)
 Initialize the DAC as event user. More...
 
int main (void)
 Run Event driver unit tests. More...
 
static void run_events_ast_test (const struct test_case *test)
 Test events driver with AST trigger. More...
 
static void run_events_software_test (const struct test_case *test)
 Test events driver with Software trigger. More...
 

static void init_dacc ( void  )
static
static void run_events_software_test ( const struct test_case test)
static