summaryrefslogtreecommitdiff
path: root/cesar/bsu/test/utest/src/phy.c
blob: f9ed1856b7979171243686a4310be0797976f742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Cesar project {{{
 *
 * Copyright (C) 2010 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    bsu/test/utest/src/phy.c
 * \brief   Phy stubs.
 * \ingroup bsu
 */
#include "common/std.h"
#include "hal/phy/phy.h"

u32
phy_clock_get_zero_cross_captured_date (phy_t *ctx) __attribute__((weak));

u32
phy_clock_get_zero_cross_captured_date (phy_t *ctx)
{
    return 0;
}

u32
phy_sysdate (void) __attribute__((weak));

u32
phy_sysdate (void)
{
    return 0;
}

void
phy_clock_set_numerator (phy_t *ctx, uint numerator)
{}