summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/inc/hlut.h
blob: 398196016674f8eef3f009bd53c3147cf127ed31 (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
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef phy_inc_hlut_h
#define phy_inc_hlut_h
/* Cesar project {{{
 *
 * Copyright (C) 2012 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    hal/phy/inc/hlut.h
 * \brief   Table parameters and registers for HLUT.
 * \ingroup hal_phy
 *
 * This values are only useful on MSE500.  This table should not change
 * between boards.
 * Only three parameters may change between boards:
 *   - span
 *   - offset
 *   - threshold
 *
 * For now those three parameters should be updated by the internal.conf file.
 */

/** Default value for the HLUT span. */
#define PHY_HLUT_SPAN_DEFAULT 0
/** Default value for the HLUT threshold. */
#define PHY_HLUT_THRESHOLD_DEFAULT 0
/** Default value for the HLUT offset. */
#define PHY_HLUT_OFFSET_DEFAULT 0

BEGIN_DECLS

/**
 * Initialise the HLUT.
 */
void
phy_hlut_init (void);

/**
 * Set the tunable parameters in the registers.
 */
void
phy_hlut_set_tunable (void);

END_DECLS

#endif /* phy_inc_hlut_h */