Microchip® Advanced Software Framework

hw_timer.c File Reference

Wrapper used by sw_timer utility using ASF timer api's.

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

#include "hw_timer.h"

Functions

uint16_t HwTimerGetCount (void)
 
void HwTimerInit (void)
 
void HwTimerSetCompare (uint16_t newCompare)
 
void HwTimerSetCompareCallback (void *cb)
 
void HwTimerSetCount (uint16_t count)
 
void HwTimerSetOverflowCallback (void *cb)
 
void HwTimerStart (void)
 
void HwTimerStop (void)
 
void HwTimerStopCompare (void)
 

Variables

struct tc_module tcModule
 

uint16_t HwTimerGetCount ( void  )

References tc_get_count_value(), and tcModule.

void HwTimerSetCompare ( uint16_t  newCompare)
void HwTimerSetCompareCallback ( void *  cb)
inline
void HwTimerSetCount ( uint16_t  count)

References tc_set_count_value(), and tcModule.

void HwTimerSetOverflowCallback ( void *  cb)
void HwTimerStart ( void  )

References tc_enable(), and tcModule.

void HwTimerStop ( void  )

References tc_disable(), and tcModule.

void HwTimerStopCompare ( void  )