foxBMS - Unit Tests
1.3.0
The foxBMS Unit Tests API Documentation
|
Definitions for the driver for the MC33775A monitoring chip. More...
Go to the source code of this file.
Data Structures | |
struct | N775_MUX_CH_CFG_s |
struct | N775_MUX_SEQUENCE_s |
struct | N775_DATAPTR_s |
struct | N775_ERROR_s |
struct | N775_CONFIG_s |
struct | N775_STATE_s |
struct | N775_MESSAGE_s |
Definitions for the driver for the MC33775A monitoring chip.
SPDX-License-Identifier: BSD-3-Clause
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
We kindly request you to use one or more of the following phrases to refer to foxBMS in your hardware, software, documentation or advertising materials:
Definition in file n775_defs.h.
enum N775_COMMAND_e |
Command types supported by the MC33775A
Enumerator | |
---|---|
N775_CMD_WAKEUP_NOP | |
N775_CMD_READ | |
N775_CMD_WRITE | |
N775_CMD_RESPONSE |
Definition at line 69 of file n775_defs.h.
enum N775_MADD_e |
MADD values supported by the MC33775A
Enumerator | |
---|---|
N775_MADD_MASTER0 | |
N775_MADD_MASTER1 |
Definition at line 77 of file n775_defs.h.
TI port expander IO direction (input or output)
Enumerator | |
---|---|
N775_PORT_EXPANDER_TI_OUTPUT | |
N775_PORT_EXPANDER_TI_INPUT |
Definition at line 219 of file n775_defs.h.
enum N775_RETURN_TYPE_e |
Possible return values when state requests are made to the N775 statemachine
Definition at line 129 of file n775_defs.h.
enum N775_REUSE_MODE_e |
Enumerator | |
---|---|
N775_NOT_REUSED | |
N775_REUSE_READVOLT_FOR_ADOW_PUP | |
N775_REUSE_READVOLT_FOR_ADOW_PDOWN |
Definition at line 212 of file n775_defs.h.
enum N775_STATE_REQUEST_e |
State requests for the N775 statemachine
Enumerator | |
---|---|
N775_STATE_INIT_REQUEST | |
N775_STATE_NO_REQUEST |
Definition at line 121 of file n775_defs.h.
enum N775_STATEMACH_e |
States of the N775 state machine
Definition at line 83 of file n775_defs.h.
Substates for the initialization state
Enumerator | |
---|---|
N775_ENTRY_INITIALIZATION | |
N775_START_INIT_INITIALIZATION | |
N775_RE_ENTRY_INITIALIZATION | |
N775_READ_INITIALIZATION_REGISTER | |
N775_CHECK_INITIALIZATION | |
N775_EXIT_INITIALIZATION |
Definition at line 110 of file n775_defs.h.
enum N775_STATEMACH_SUB_e |
General substates
Enumerator | |
---|---|
N775_ENTRY | |
N775_SECOND_WAKEUP | |
N775_CHECK_ENUMERATION | |
N775_ERROR_ENTRY | |
N775_ERROR_PROCESSED |
Definition at line 96 of file n775_defs.h.
Substates for the uninitialized state
Enumerator | |
---|---|
N775_ENTRY_UNINITIALIZED | Initialize-sequence |
Definition at line 105 of file n775_defs.h.