Solaris Software
Loading...
Searching...
No Matches
kpid.h
Go to the documentation of this file.
1#ifndef SPP_SERVICES_KPID_H
2#define SPP_SERVICES_KPID_H
3/**
4 * @file kpid.h
5 * @brief APID bitmask assignments for every SPP producer.
6 *
7 * Each producer owns exactly one bit of the 16-bit APID field.
8 * To add a producer: pick the next free bit and add a line here.
9 * To remove one: delete its line. No other IDs are affected.
10 */
11
12#include "spp/core/types.h"
13
14/* ----------------------------------------------------------------
15 * APID assignments (one bit per producer, must not repeat)
16 * ---------------------------------------------------------------- */
17#define K_SPP_KPID_LOG (0x0001U) /* bit 0 - reserved for log */
18#define K_SPP_KPID_FSM (0x0002U) /* bit 1 - reserved for fsm */
19
20/* ----------------------------------------------------------------
21 * KPID type
22 * ---------------------------------------------------------------- */
23typedef union
24{
26
27 struct
28 {
45 } bits;
46
48
49#endif /* SPP_SERVICES_KPID_H */
Portable integer types and SPI/storage configuration types for SPP.
uint16_t spp_uint16_t
Definition types.h:29
spp_uint16_t value
Definition kpid.h:25