RA Flexible Software Package Documentation  Release v6.4.0

 

Detailed Description

Build Time Configurations for ra4w1_fsp

The following build time configurations are defined in fsp_cfg/bsp/bsp_mcu_family_cfg.h:

ConfigurationOptionsDefaultDescription
Enable inline BSP IRQ functions
  • Enabled
  • Disabled
Enabled Using static inline functions will slightly increase code size, but will slightly decrease cycles taken in ISRs in return.
Use Low Voltage Mode
  • Enabled
  • Disabled
Disabled Use the low voltage mode. This limits the ICLK operating frequency to 4 MHz and requires all clock dividers to be at least 4.
Main Oscillator Wait Time
  • 2 cycles
  • 1024 cycles
  • 2048 cycles
  • 4096 cycles
  • 8192 cycles
  • 16384 cycles
  • 32768 cycles
  • 65536 cycles
  • 131072 cycles
  • 262144 cycles
262144 cycles Number of cycles to wait for the main oscillator clock to stabilize.

Supported Modules

GroupsModules
Analog
  • ADC (r_adc)
  • Comparator, Low-Power (r_acmplp)
  • DAC (r_dac)
  • DAC8 (r_dac8)
  • Operational Amplifier (r_opamp)
CapTouch
  • CTSU (r_ctsu)
Connectivity
  • CAN (r_can)
  • I2C Master (r_iic_master)
  • I2C Master (r_sci_i2c)
  • I2C Slave (r_iic_slave)
  • SMCI (r_sci_smci)
  • SPI (r_sci_spi)
  • SPI (r_spi)
  • UART (r_sci_uart)
  • USB (r_usb_basic)
  • USB Composite (r_usb_composite)
  • USB HAUD (r_usb_haud)
  • USB HCDC (r_usb_hcdc)
  • USB HCDC (r_usb_hcdc_ecm)
  • USB HHID (r_usb_hhid)
  • USB HMSC (r_usb_hmsc)
  • USB Host Vendor class (r_usb_hvnd)
  • USB PAUD (r_usb_paud)
  • USB PCDC (r_usb_pcdc)
  • USB PHID (r_usb_phid)
  • USB PMSC (r_usb_pmsc)
  • USB PPRN (r_usb_pprn)
  • USB PVND (r_usb_pvnd)
Graphics
  • Segment LCD (r_slcdc)
Input
  • External IRQ (r_icu)
  • Key Matrix (r_kint)
Monitoring
  • Clock Accuracy Circuit (r_cac)
  • CRC (r_crc)
  • Data Operation Circuit (r_doc)
  • Independent Watchdog (r_iwdt)
  • Low/Programmable Voltage Detection (r_lvd)
  • Watchdog (r_wdt)
Networking
  • BLE Driver (r_ble_balance)
  • BLE Driver (r_ble_compact)
  • BLE Driver (r_ble_extended)
Power
  • Low Power Modes (r_lpm)
Security
  • SCE Key Injection for PSA Crypto (r_sce_key_injection)
Storage
  • Flash (r_flash_lp)
System
  • Clock Generation Circuit (r_cgc)
  • Event Link Controller (r_elc)
  • I/O Port (r_ioport)
Timers
  • Port Output Enable for GPT (r_poeg)
  • Realtime Clock (r_rtc)
  • Three-Phase PWM (r_gpt_three_phase)
  • Timer, General PWM (r_gpt)
  • Timer, Low-Power (r_agt)
Transfer
  • Transfer (r_dmac)
  • Transfer (r_dtc)

Macros

#define BSP_ELC_PERIPHERAL_MASK
 

Enumerations

enum  elc_event_t
 
enum  elc_peripheral_t
 

Macro Definition Documentation

◆ BSP_ELC_PERIPHERAL_MASK

#define BSP_ELC_PERIPHERAL_MASK

Positions of event link set registers (ELSRs) available on this MCU

Enumeration Type Documentation

◆ elc_event_t

Sources of event signals to be linked to other peripherals or the CPU

Note
This list is device specific.

◆ elc_peripheral_t

Possible peripherals to be linked to event signals

Note
This list is device specific.