summaryrefslogtreecommitdiff
path: root/cesar/cp/cco/inc/context.h
blob: c7f98d55899bc441ab96281e2e1c4bad8606ceb9 (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
#ifndef cp_cco_inc_context_h
#define cp_cco_inc_context_h
/* Cesar project {{{
 *
 * Copyright (C) 2008 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    cp/cco/inc/context.h
 * \brief   « brief description »
 * \ingroup « module »
 *
 * « long description »
 */

struct cp_cco_t
{
    BITFIELDS_WORD
    (
        uint dt_av:3;,
        uint access:1;,
        uint ncnr:1;,
        uint npsm:1;,
        uint num_slots:3;,
        uint slot_usage:8;,
        uint slotid:3;,
        uint aclss:3;,
        uint nm:2;,
        uint cco_cap:2;,
        uint proxy_cap:1;,
        uint backup_cap:1;,
        uint cco_status:1;,
        uint pco_status:1;,
        uint backup_cco:1;
    );
    BITFIELDS_WORD
    (
        uint nr:6;,
        uint user_appointed_cco_status:1;,
        uint rsvd:25;
    );
};

#endif /* cp_cco_inc_context_h */