Solaris Software
Toggle main menu visibility
Loading...
Searching...
No Matches
commonbit.h
Go to the documentation of this file.
1
#ifndef SPP_CORE_ERROR_H
2
#define SPP_CORE_ERROR_H
3
4
#include "
spp/core/types.h
"
5
typedef
union
6
{
7
spp_uint16_t
errors
;
8
struct
9
{
10
spp_uint8_t
coreInitError
: 1;
11
spp_uint8_t
logInitError
: 1;
12
spp_uint8_t
dataBankInitError
: 1;
13
spp_uint8_t
pubsubInitError
: 1;
14
spp_uint16_t
reserved
: 15;
15
};
16
}
CommonBitErrors_t
;
17
18
19
/* ----------------------------------------------------------------
20
* PUBLIC FUNCTIONS
21
* ---------------------------------------------------------------- */
22
/**
23
* @brief Get the pointer to the common bit.
24
* @return Pointer to the common bit.
25
*/
26
CommonBitErrors_t
*
SPP_CORE_COMMONBIT_getBit
(
void
);
27
28
29
#endif
/* SPP_CORE_ERROR_H */
SPP_CORE_COMMONBIT_getBit
CommonBitErrors_t * SPP_CORE_COMMONBIT_getBit(void)
Get the pointer to the common bit.
Definition
commonbit.c:24
CommonBitErrors_t::[struct].__unnamed0__::reserved
spp_uint16_t reserved
CommonBitErrors_t::[struct].__unnamed0__::logInitError
spp_uint8_t logInitError
CommonBitErrors_t::[struct].__unnamed0__::coreInitError
spp_uint8_t coreInitError
CommonBitErrors_t::[struct].__unnamed0__::dataBankInitError
spp_uint8_t dataBankInitError
CommonBitErrors_t::[struct].__unnamed0__::pubsubInitError
spp_uint8_t pubsubInitError
types.h
Portable integer types and SPI/storage configuration types for SPP.
spp_uint16_t
uint16_t spp_uint16_t
Definition
types.h:29
spp_uint8_t
uint8_t spp_uint8_t
Definition
types.h:27
CommonBitErrors_t
Definition
commonbit.h:6
CommonBitErrors_t::errors
spp_uint16_t errors
Definition
commonbit.h:7
solaris-v2
spp
core
commonbit.h
Generated by
1.18.0