Microchip® Advanced Software Framework

conf_sensors.h File Reference

Atmel Common Sensor Service configuration parameters.

This file defines tunable configuration constants for user selected API features and functions.

Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.

#include <board.h>
#include <sysclk.h>
#include <cycle_counter.h>
#include <stdio/stdio_usb/stdio_usb.h>

Macros

Redirect C Standard I/O (USB or USART)
#define CONF_STDIO_USB   /* !< Configure C Standard I/O over USB/CDC */
 
Xplained Platform USART Configuration
#define CONFIG_USART_IF   (USARTC0)
 
#define CONFIG_USART_BAUDRATE   (115200)
 
#define CONFIG_USART_CHAR_LENGTH   (USART_CHSIZE_8BIT_gc)
 
#define CONFIG_USART_PARITY   (USART_PMODE_DISABLED_gc)
 
#define CONFIG_USART_STOP_BIT   (false)
 
Platform TWI and SPI Bus Configuration
#define CONFIG_TWI_MASTER_IF   (TWIF)
 
#define CONFIG_SPI_MASTER_IF   (SPIF)
 
#define CONFIG_TWI_BAUDRATE   (400000)
 
#define CONFIG_TWI_OFFSET   (0)
 
#define CONFIG_SPI_BAUDRATE   (12000000)
 
#define CONFIG_SPI_OFFSET   (0)
 Development and Debugging Facilities. More...
 

#define CONF_STDIO_USB   /* !< Configure C Standard I/O over USB/CDC */
#define CONFIG_SPI_BAUDRATE   (12000000)
#define CONFIG_SPI_MASTER_IF   (SPIF)
#define CONFIG_SPI_OFFSET   (0)

Development and Debugging Facilities.

#define CONFIG_TWI_BAUDRATE   (400000)
#define CONFIG_TWI_MASTER_IF   (TWIF)
#define CONFIG_TWI_OFFSET   (0)
#define CONFIG_USART_BAUDRATE   (115200)

Referenced by sensor_platform_init().

#define CONFIG_USART_CHAR_LENGTH   (USART_CHSIZE_8BIT_gc)

Referenced by sensor_platform_init().

#define CONFIG_USART_IF   (USARTC0)

Referenced by sensor_platform_init().

#define CONFIG_USART_PARITY   (USART_PMODE_DISABLED_gc)

Referenced by sensor_platform_init().

#define CONFIG_USART_STOP_BIT   (false)

Referenced by sensor_platform_init().