Data Structures | Macros | Typedefs | Enumerations | Functions
acc_rss_a121.h File Reference
`#include <stdbool.h>`
`#include "acc_config.h"`
`#include "acc_definitions_common.h"`
`#include "acc_hal_definitions_a121.h"`

Go to the source code of this file.

## Data Structures
struct | acc_rss_assembly_test_result_t
| The result struct of acc_rss_assembly_test. More...

## Macros
#define | ACC_RSS_ASSEMBLY_TEST_MIN_BUFFER_SIZE 4096U
| The minimum buffer size needed for the assembly test. More...

## Typedefs
typedef struct acc_rss_assembly_test | acc_rss_assembly_test_t

## Enumerations
enum | acc_rss_test_state_t { ACC_RSS_TEST_STATE_ONGOING = 0, ACC_RSS_TEST_STATE_TOGGLE_ENABLE_PIN, ACC_RSS_TEST_STATE_WAIT_FOR_INTERRUPT, ACC_RSS_TEST_STATE_COMPLETE }
| Return code for rss tests. More...
enum | acc_rss_test_integration_status_t { ACC_RSS_TEST_INTEGRATION_STATUS_OK = 0, ACC_RSS_TEST_INTEGRATION_STATUS_TIMEOUT }
| Integration status for rss tests. More...
enum | acc_rss_assembly_test_test_id_t { ACC_RSS_ASSEMBLY_TEST_ID_BASIC_READ, ACC_RSS_ASSEMBLY_TEST_ID_COMMUNICATION, ACC_RSS_ASSEMBLY_TEST_ID_ENABLE_PIN, ACC_RSS_ASSEMBLY_TEST_ID_INTERRUPT, ACC_RSS_ASSEMBLY_TEST_ID_CLOCK_AND_SUPPLY, ACC_RSS_ASSEMBLY_TEST_ID_SENSOR_CALIBRATION }
| Test identity enum for acc_rss_assembly_test. More...

## Functions
bool | acc_rss_hal_register (const acc_hal_a121_t *hal)
| Register an integration. More...
bool | acc_rss_get_buffer_size (const acc_config_t *config, uint32_t *buffer_size)
| Get the buffer size needed for the specified config. More...
void | acc_rss_set_log_level (acc_log_level_t level)
| Set the log level that determines when the integration HAL logger function is called. More...
acc_rss_assembly_test_t * | acc_rss_assembly_test_create (acc_sensor_id_t sensor_id, void *buffer, uint32_t buffer_size)
| Create a sensor assembly test instance. More...
void | acc_rss_assembly_test_destroy (acc_rss_assembly_test_t *assembly_test)
| Destroy a sensor assembly test instance freeing any resources allocated. More...
void | acc_rss_assembly_test_enable_diagnostic_logs (void)
| Enable diagnostic logs for the assembly test,. More...
void | acc_rss_assembly_test_enable_all_tests (acc_rss_assembly_test_t *assembly_test)
| Enable all assembly tests. More...
void | acc_rss_assembly_test_disable_all_tests (acc_rss_assembly_test_t *assembly_test)
| Disable all assembly tests. More...
void | acc_rss_assembly_test_enable (acc_rss_assembly_test_t *assembly_test, acc_rss_assembly_test_test_id_t test_id)
| Enable a test in assembly test. More...
void | acc_rss_assembly_test_disable (acc_rss_assembly_test_t *assembly_test, acc_rss_assembly_test_test_id_t test_id)
| Disable a test in assembly test. More...
acc_rss_test_state_t | acc_rss_assembly_test_execute (acc_rss_assembly_test_t *assembly_test, acc_rss_test_integration_status_t integration_status)
| Execute the assembly test. More...
const acc_rss_assembly_test_result_t * | acc_rss_assembly_test_get_results (const acc_rss_assembly_test_t *assembly_test, uint16_t *nbr_of_test_results)
| A function to get the results from the sensor assembly test. More...