Configuration Overview - Renesas RX110 Application Note

12-bit a/d converter support
Table of Contents

Advertisement

RX Family
2.8

Configuration Overview

All configurable options that can be set at build time are located in the file "r_s12ad_rx_config.h". A summary of these
settings are provided in the following table:
#define ADC_CFG_PARAM_CHECKING_ENABLE 1
// 1.8V <= AVcc0 < 2.7V
#define ADC_CFG_PGA_GAIN
// 2.7V <= AVcc0 < 3.6V
//#define ADC_CFG_PGA_GAIN
// 3.6V <= AVcc0 < 4.5V
//#define ADC_CFG_PGA_GAIN
// 4.5V <= AVcc0 <= 5.5V
//#define ADC_CFG_PGA_GAIN
2.9
Code Size
The code size is based on optimization level 2 and optimization type for size for the RXC toolchain in Section 2.5. The
ROM (code and constants) and RAM (global data) sizes are determined by the build-time configuration options set in
the module configuration header file.
RX110
RX111
RX113
RX130
RX210
R01AN1666EJ0220 Rev. 2.20
Dec 01, 2016
ADC Module Using Firmware Integration Technology
Configuration options in r_s12ad_rx_config.h
0
1
2
3
Table 1: Info about the configuration
ROM and RAM code sizes
With Parameter Checking
ROM: 1354 bytes
RAM: 12 bytes
ROM: 1234 bytes
RAM: 124 bytes
ROM: 1471 bytes
RAM: 12 bytes
ROM: 2560 bytes
RAM: 12 bytes
ROM: 1671 bytes
RAM: 12 bytes
If this equate is set to 1, parameter checking is included
in the build. If the equate is set to 0, the parameter
checking is omitted from the build. Setting this equate
to BSP_CFG_PARAM_CHECKING_ENABLE
utilizes the system default setting.
This equate is for the Temperature Sensor gain
amplifier on the RX210. The default is a value of 0
which is good for all target voltages. For best
temperature resolution, the voltage range which most
accurately reflects the AVcc0 should have its #define
uncommented.
Without Parameter Checking
ROM: 983 bytes
RAM: 12 bytes
ROM: 950 bytes
RAM: 124 bytes
ROM: 1100 bytes
RAM: 12 bytes
ROM: 1879 bytes
RAM: 12 bytes
ROM: 1200 bytes
RAM: 12 bytes
Page 5 of 74

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents