#include <stdint.h>
#include "app_config_mbed.h"
 
Go to the source code of this file.
 | 
| int32_t  | init_system (void) | 
|   | Initialize the system peripherals.  
  | 
|   | 
◆ ACTIVE_DEVICE_NAME
      
        
          | #define ACTIVE_DEVICE_NAME   "ad7768-1" | 
        
      
 
 
◆ ACTIVE_PLATFORM
◆ AD77681_DECIMATION_RATE
      
        
          | #define AD77681_DECIMATION_RATE   (32U) | 
        
      
 
 
◆ AD77681_DEFAULT_MCLK_DIV
      
        
          | #define AD77681_DEFAULT_MCLK_DIV   (8) | 
        
      
 
 
◆ AD77681_DEFAULT_SAMPLING_FREQ
◆ AD77681_MCLK
      
        
          | #define AD77681_MCLK   (16384) | 
        
      
 
 
◆ AD77681_ODR_CONV_SCALER
◆ ADC_RESOLUTION
      
        
          | #define ADC_RESOLUTION   24 | 
        
      
 
 
◆ BURST_DATA_CAPTURE
      
        
          | #define BURST_DATA_CAPTURE   0 | 
        
      
 
 
◆ CONSOLE_STDIO_PORT_AVAILABLE
      
        
          | #define CONSOLE_STDIO_PORT_AVAILABLE | 
        
      
 
 
◆ CONTINUOUS_DATA_CAPTURE
      
        
          | #define CONTINUOUS_DATA_CAPTURE   1 | 
        
      
 
 
◆ DATA_CAPTURE_MODE
◆ DEVICE_NAME
      
        
          | #define DEVICE_NAME   "DEV_AD77681" | 
        
      
 
 
◆ ext_int_extra_init_params
◆ FIRMWARE_NAME
      
        
          | #define FIRMWARE_NAME   "ad77681_iio" | 
        
      
 
 
◆ gpio_ops
      
        
          | #define gpio_ops   mbed_gpio_ops | 
        
      
 
 
◆ HW_CARRIER_NAME
◆ i2c_extra_init_params
◆ i2c_ops
      
        
          | #define i2c_ops   mbed_i2c_ops | 
        
      
 
 
◆ IIO_UART_BAUD_RATE
      
        
          | #define IIO_UART_BAUD_RATE   (230400) | 
        
      
 
 
◆ irq_ops
      
        
          | #define irq_ops   mbed_gpio_irq_ops | 
        
      
 
 
◆ MBED_PLATFORM
◆ PLATFORM_NAME
◆ spi_extra_init_params
◆ spi_ops
      
        
          | #define spi_ops   mbed_spi_ops | 
        
      
 
 
◆ STM32_PLATFORM
◆ STR
◆ trigger_gpio_extra_init_params
◆ trigger_gpio_handle
      
        
          | #define trigger_gpio_handle   0 | 
        
      
 
 
◆ trigger_gpio_irq_extra_params
◆ trigger_gpio_irq_ops
      
        
          | #define trigger_gpio_irq_ops   mbed_gpio_irq_ops | 
        
      
 
 
◆ trigger_gpio_ops
      
        
          | #define trigger_gpio_ops   mbed_gpio_ops | 
        
      
 
 
◆ TRIGGER_GPIO_PIN
◆ TRIGGER_GPIO_PORT
      
        
          | #define TRIGGER_GPIO_PORT   0 | 
        
      
 
 
◆ TRIGGER_INT_ID
      
        
          | #define TRIGGER_INT_ID   GPIO_IRQ_ID1 | 
        
      
 
 
◆ uart_extra_init_params
◆ uart_ops
      
        
          | #define uart_ops   mbed_uart_ops | 
        
      
 
 
◆ USE_VIRTUAL_COM_PORT
      
        
          | #define USE_VIRTUAL_COM_PORT | 
        
      
 
 
◆ vcom_extra_init_params
◆ vcom_ops
      
        
          | #define vcom_ops   mbed_virtual_com_ops | 
        
      
 
 
◆ VIRTUAL_COM_PORT_PID
      
        
          | #define VIRTUAL_COM_PORT_PID   0xb66c | 
        
      
 
 
◆ VIRTUAL_COM_PORT_VID
      
        
          | #define VIRTUAL_COM_PORT_VID   0x0456 | 
        
      
 
 
◆ VIRTUAL_COM_SERIAL_NUM
◆ XSTR
◆ init_system()
      
        
          | int32_t init_system  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Initialize the system peripherals. 
- Returns
 - 0 in case of success, negative error code otherwise
 
Initialize the system peripherals.
- Returns
 - 0 in case of success, negative error code otherwise.
 
This function initializes system peripherals for the application
- Returns
 - - 0 in case of success, negative error code otherwise 
 
 
 
◆ spi_init_params
  
  
      
        
          | struct no_os_spi_init_param spi_init_params | 
         
       
   | 
  
extern   | 
  
 
 
◆ trigger_gpio_desc
  
  
      
        
          | struct no_os_gpio_desc* trigger_gpio_desc | 
         
       
   | 
  
extern   | 
  
 
 
◆ trigger_irq_desc
  
  
      
        
          | struct no_os_irq_ctrl_desc* trigger_irq_desc | 
         
       
   | 
  
extern   | 
  
 
 
◆ uart_desc
  
  
      
        
          | struct no_os_uart_desc* uart_desc | 
         
       
   | 
  
extern   |