The other aspect of versatility is rich functionality. The devices incorporate an extensive range of built-in peripheral functions in various categories. For communication requirements, the MCUs support high-speed UARTs, as well as clock-synchronous serial interfaces with SPI and I2C capability. Analog signal processing is implemented in R8C Family MCUs by analog comparators, up to 20 channels of high-speed analog-to-digital (A/D) converters and 2 channels of digital-to-analog (D/A) converters. Some devices provide advanced A/D features such as auto-scanning for automatic conversion. Functions such as timing control, signal generation and signal measurement are easily implemented using the powerful 8- and 16-bit timer arrays on the device. These timers can be configured in multiple modes to perform timekeeping, multi-channel PWM signal generation, and external event counting. For reliable networking, Local Interconnect Network (LIN) control modules and Control Area Network (CAN) peripherals are available. As introduced earlier, the R8C/Lx series adds LCD control capabilities, which can be used to enhance display or User Interface applications. The functionality of the R8C Family's I/O ports includes the ability to drive LEDs directly and to enable internal pull-up resistors. For design flexibility, some I/O ports can be configured with alternate functions to meet the requirements of different applications. Next, the training module will discuss some of these key features in more detail.

