Data Sheet

A111 Pulsed Coherent Radar (PCR)
Datasheet, v1.5.2
Page 19 of 32 2019-02-13 © 2018 Copyright by Acconeer
Acconeer also provides detectors, such as a distance detector where the application can push service
data to retrieve data result.
7.2 Devices and Drivers
The driver for SPI and INTERRUPT shall implement the defined functions found in the corresponding
device header file, acc_device_spi.h and acc_device_gpio.h. Registration of these functions shall be
done in the acc_board_init function, see chapter 7.3 for details.
7.3 Board File Interface and Implementation
The board header file, acc_board.h is the board file interface. Contents may not be changed,
implementation needed for all functions and parameters in the file. NOTE, an implementation may in
some cases be empty.
A detailed description of each board file function is shown in the table below.
acc_board function
Description
acc_board_init
Init
Register driver: SPI mandatory
acc_board_gpio_init
Initiation of GPIO.
o Mandatory pin for sensor
operation is ENABLE
acc_board_start_sensor
Start a sensor
Fulfill power up sequence
acc_board_stop_sensor
Stop a sensor
Fulfill power down sequence
acc_board_get_spi_bus_cs
Get SPI bus number and chip select pin(s)
acc_board_chip_select
Custom chip select logic, empty
implementation allowed
acc_board_is_sensor_interrupt_connected
Get interrupt connection status
acc_board_is_sensor_interrupt_active
Get interrupt status
acc_board_get_sensor_count
Sensor count, shall equal the number of
possible sensors on the hardware setup
acc_board_get_ref_freq
Get the reference frequency to the sensor
acc_board_get_spi_speed
Get SPI speed
acc_board_set_ref_freq
Not used, empty implementation allowed
Table 7.1. Board file implementation