Go to the documentation of this file.
35 #define SENSOR_ID (1U)
37 #define SENSOR_TIMEOUT_MS (1000U)
39 int app_main(
int argc,
char *argv[]);
61 printf(
"Diagnostic test: Memory allocation failed\n");
70 if (assembly_test != NULL)
113 printf(
"Diagnostic test: Could not create assembly test\n");
124 printf(
"Diagnostic test completed\n");
126 printf(
"Application finished OK\n");
void acc_hal_integration_sensor_supply_off(acc_sensor_id_t sensor_id)
Power off sensor supply.
void acc_hal_integration_sensor_supply_on(acc_sensor_id_t sensor_id)
Power on sensor supply.
int app_main(int argc, char *argv[])
Assembly test example.
const acc_hal_a121_t * acc_hal_rss_integration_get_implementation(void)
Get hal implementation reference.
void * acc_integration_mem_alloc(size_t size)
Allocate dynamic memory.
bool acc_hal_integration_wait_for_sensor_interrupt(acc_sensor_id_t sensor_id, uint32_t timeout_ms)
Wait for a sensor interrupt.
const char * acc_version_get(void)
Get the version of the Acconeer software.
#define SENSOR_TIMEOUT_MS
void acc_hal_integration_sensor_enable(acc_sensor_id_t sensor_id)
Enable sensor.
void acc_hal_integration_sensor_disable(acc_sensor_id_t sensor_id)
Disable sensor.
static const acc_hal_a121_t hal
void acc_integration_mem_free(void *ptr)
Free dynamic memory.