Sha256: 4129089aeea9e843669a4ff7c31ce8b02202622095786f42bd4810d217451e1b

Contents?: true

Size: 648 Bytes

Versions: 2

Compression:

Stored size: 648 Bytes

Contents

/* =========================================================================
    Ceedling - Test-Centered Build System for C
    ThrowTheSwitch.org
    Copyright (c) 2010-25 Mike Karlesky, Mark VanderVoord, & Greg Williams
    SPDX-License-Identifier: MIT
========================================================================= */

#include "Types.h"
#include "TimerHardware.h"
#include "TimerConfigurator.h"

void TimerHardware_Init(void)
{
  Timer_EnablePeripheralClocks();
  Timer_Reset();
  Timer_ConfigureMode();
  Timer_ConfigurePeriod();
  Timer_EnableOutputPin();
  Timer_Enable();
  Timer_ConfigureInterruptHandler();
  Timer_Start();
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ceedling-1.0.1 examples/temp_sensor/src/TimerHardware.c
ceedling-1.0.0 examples/temp_sensor/src/TimerHardware.c