![]() |
RZ Flexible Software Package Documentation
Release v4.0.0
|
|
Functions | |
| fsp_err_t | R_FSP_VersionGet (fsp_pack_version_t *const p_version) |
| fsp_err_t | R_ADC_C_Open (adc_ctrl_t *p_ctrl, adc_cfg_t const *const p_cfg) |
| fsp_err_t | R_ADC_C_ScanCfg (adc_ctrl_t *p_ctrl, void const *const p_channel_cfg) |
| fsp_err_t | R_ADC_C_InfoGet (adc_ctrl_t *p_ctrl, adc_info_t *p_adc_info) |
| fsp_err_t | R_ADC_C_ScanStart (adc_ctrl_t *p_ctrl) |
| fsp_err_t | R_ADC_C_ScanGroupStart (adc_ctrl_t *p_ctrl, adc_group_mask_t group_id) |
| fsp_err_t | R_ADC_C_ScanStop (adc_ctrl_t *p_ctrl) |
| fsp_err_t | R_ADC_C_StatusGet (adc_ctrl_t *p_ctrl, adc_status_t *p_status) |
| fsp_err_t | R_ADC_C_Read (adc_ctrl_t *p_ctrl, adc_channel_t const reg_id, uint16_t *const p_data) |
| fsp_err_t | R_ADC_C_Read32 (adc_ctrl_t *p_ctrl, adc_channel_t const reg_id, uint32_t *const p_data) |
| fsp_err_t | R_ADC_C_SampleStateCountSet (adc_ctrl_t *p_ctrl, uint16_t num_states) |
| fsp_err_t | R_ADC_C_Close (adc_ctrl_t *p_ctrl) |
| fsp_err_t | R_ADC_C_OffsetSet (adc_ctrl_t *const p_ctrl, adc_channel_t const reg_id, int32_t offset) |
| fsp_err_t | R_ADC_C_Calibrate (adc_ctrl_t *const p_ctrl, void const *p_extend) |
| fsp_err_t | R_ADC_C_CallbackSet (adc_ctrl_t *const p_api_ctrl, void(*p_callback)(adc_callback_args_t *), void *const p_context, adc_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_CANFD_Open (can_ctrl_t *const p_api_ctrl, can_cfg_t const *const p_cfg) |
| fsp_err_t | R_CANFD_Close (can_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_CANFD_Write (can_ctrl_t *const p_api_ctrl, uint32_t const buffer, can_frame_t *const p_frame) |
| fsp_err_t | R_CANFD_Read (can_ctrl_t *const p_api_ctrl, uint32_t const buffer, can_frame_t *const p_frame) |
| fsp_err_t | R_CANFD_ModeTransition (can_ctrl_t *const p_api_ctrl, can_operation_mode_t operation_mode, can_test_mode_t test_mode) |
| fsp_err_t | R_CANFD_InfoGet (can_ctrl_t *const p_api_ctrl, can_info_t *const p_info) |
| fsp_err_t | R_CANFD_CallbackSet (can_ctrl_t *const p_api_ctrl, void(*p_callback)(can_callback_args_t *), void *const p_context, can_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_CRU_Open (cru_ctrl_t *const p_api_ctrl, cru_cfg_t const *const p_cfg) |
| fsp_err_t | R_CRU_Close (cru_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_CRU_CaptureStart (cru_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_CRU_CaptureStop (cru_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_CRU_StatusGet (cru_ctrl_t *const p_api_ctrl, camera_status_t *p_status) |
| fsp_err_t | R_DMAC_Open (transfer_ctrl_t *const p_api_ctrl, transfer_cfg_t const *const p_cfg) |
| fsp_err_t | R_DMAC_Reconfigure (transfer_ctrl_t *const p_api_ctrl, transfer_info_t *p_info) |
| fsp_err_t | R_DMAC_Reset (transfer_ctrl_t *const p_api_ctrl, void const *volatile p_src, void *volatile p_dest, uint16_t const num_transfers) |
| fsp_err_t | R_DMAC_SoftwareStart (transfer_ctrl_t *const p_api_ctrl, transfer_start_mode_t mode) |
| fsp_err_t | R_DMAC_SoftwareStop (transfer_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_DMAC_Enable (transfer_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_DMAC_Disable (transfer_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_DMAC_InfoGet (transfer_ctrl_t *const p_api_ctrl, transfer_properties_t *const p_info) |
| fsp_err_t | R_DMAC_Close (transfer_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_DMAC_Reload (transfer_ctrl_t *const p_api_ctrl, void const *p_src, void *p_dest, uint32_t const num_transfers) |
| fsp_err_t | R_DMAC_CallbackSet (transfer_ctrl_t *const p_api_ctrl, void(*p_callback)(dmac_callback_args_t *), void *const p_context, dmac_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_DMAC_LinkDescriptorSet (transfer_ctrl_t *const p_api_ctrl, dmac_link_cfg_t *p_descriptor) |
| fsp_err_t | R_GETHER_Open (ether_ctrl_t *const p_ctrl, ether_cfg_t const *const p_cfg) |
| After ETHERC, EDMAC and PHY-LSI are reset in software, an auto negotiation of PHY-LSI is begun. Afterwards, the link signal change interrupt is permitted. Implements RZA::ether_api_t::open. More... | |
| fsp_err_t | R_GETHER_Close (ether_ctrl_t *const p_ctrl) |
| Disables interrupts. Removes power and releases hardware lock. Implements RZA::ether_api_t::close. More... | |
| fsp_err_t | R_GETHER_Read (ether_ctrl_t *const p_ctrl, void *const p_buffer, uint32_t *const length_bytes) |
| Receive Ethernet frame. Receives data to the location specified by the pointer to the receive buffer. In zero copy mode, the address of the receive buffer is returned. In non zero copy mode, the received data in the internal buffer is copied to the pointer passed by the argument. Implements RZA::ether_api_t::read. More... | |
| fsp_err_t | R_GETHER_BufferRelease (ether_ctrl_t *const p_ctrl) |
| Move to the next buffer in the circular receive buffer list. Implements RZA::ether_api_t::bufferRelease. More... | |
| fsp_err_t | R_GETHER_Write (ether_ctrl_t *const p_ctrl, void *const p_buffer, uint32_t const frame_length) |
| Transmit Ethernet frame. Transmits data from the location specified by the pointer to the transmit buffer, with the data size equal to the specified frame length. In the non zero copy mode, transmits data after being copied to the internal buffer. Implements RZA::ether_api_t::write. More... | |
| fsp_err_t | R_GETHER_LinkProcess (ether_ctrl_t *const p_ctrl) |
| The Link up processing, the Link down processing, and the magic packet detection processing are executed. Implements RZA::ether_api_t::linkProcess. More... | |
| fsp_err_t | R_GETHER_WakeOnLANEnable (ether_ctrl_t *const p_ctrl) |
| The setting of ETHERC is changed from normal sending and receiving mode to magic packet detection mode. Implements RZA::ether_api_t::wakeOnLANEnable. More... | |
| fsp_err_t | R_GETHER_PHY_Open (ether_phy_ctrl_t *const p_ctrl, ether_phy_cfg_t const *const p_cfg) |
| Resets Ethernet PHY device. Implements ether_phy_api_t::open. More... | |
| fsp_err_t | R_GETHER_PHY_Close (ether_phy_ctrl_t *const p_ctrl) |
| Close Ethernet PHY device. Implements ether_phy_api_t::close. More... | |
| fsp_err_t | R_GETHER_PHY_ChipInit (ether_phy_ctrl_t *const p_ctrl, ether_phy_cfg_t const *const p_cfg) |
| Initialize Ethernet PHY device. Implements ether_phy_api_t::chipInit. More... | |
| fsp_err_t | R_GETHER_PHY_Read (ether_phy_ctrl_t *const p_ctrl, uint32_t reg_addr, uint32_t *const p_data) |
| Read data from register of PHY-LSI . Implements ether_phy_api_t::read. More... | |
| fsp_err_t | R_GETHER_PHY_Write (ether_phy_ctrl_t *const p_ctrl, uint32_t reg_addr, uint32_t data) |
| Write data to register of PHY-LSI . Implements ether_phy_api_t::write. More... | |
| fsp_err_t | R_GETHER_PHY_StartAutoNegotiate (ether_phy_ctrl_t *const p_ctrl) |
| Starts auto-negotiate. Implements ether_phy_api_t::startAutoNegotiate. More... | |
| fsp_err_t | R_GETHER_PHY_LinkPartnerAbilityGet (ether_phy_ctrl_t *const p_ctrl, uint32_t *const p_line_speed_duplex, uint32_t *const p_local_pause, uint32_t *const p_partner_pause) |
| Reports the other side's physical capability. Implements ether_phy_api_t::linkPartnerAbilityGet. More... | |
| fsp_err_t | R_GETHER_PHY_LinkStatusGet (ether_phy_ctrl_t *const p_ctrl) |
| Returns the status of the physical link. Implements ether_phy_api_t::linkStatusGet. More... | |
| fsp_err_t | R_GTM_Close (timer_ctrl_t *const p_ctrl) |
| fsp_err_t | R_GTM_PeriodSet (timer_ctrl_t *const p_ctrl, uint32_t const period_counts) |
| fsp_err_t | R_GTM_DutyCycleSet (timer_ctrl_t *const p_ctrl, uint32_t const duty_cycle_counts, uint32_t const pin) |
| fsp_err_t | R_GTM_Reset (timer_ctrl_t *const p_ctrl) |
| fsp_err_t | R_GTM_Start (timer_ctrl_t *const p_ctrl) |
| fsp_err_t | R_GTM_Enable (timer_ctrl_t *const p_ctrl) |
| fsp_err_t | R_GTM_Disable (timer_ctrl_t *const p_ctrl) |
| fsp_err_t | R_GTM_InfoGet (timer_ctrl_t *const p_ctrl, timer_info_t *const p_info) |
| fsp_err_t | R_GTM_StatusGet (timer_ctrl_t *const p_ctrl, timer_status_t *const p_status) |
| fsp_err_t | R_GTM_Stop (timer_ctrl_t *const p_ctrl) |
| fsp_err_t | R_GTM_Open (timer_ctrl_t *const p_ctrl, timer_cfg_t const *const p_cfg) |
| fsp_err_t | R_GTM_CompareMatchSet (timer_ctrl_t *const p_ctrl, uint32_t const compare_match_value, timer_compare_match_t const match_channel) |
| fsp_err_t | R_INTC_IRQ_ExternalIrqOpen (external_irq_ctrl_t *const p_api_ctrl, external_irq_cfg_t const *const p_cfg) |
| fsp_err_t | R_INTC_IRQ_ExternalIrqEnable (external_irq_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_INTC_IRQ_ExternalIrqDisable (external_irq_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_INTC_IRQ_ExternalIrqCallbackSet (external_irq_ctrl_t *const p_api_ctrl, void(*p_callback)(external_irq_callback_args_t *), void *const p_context, external_irq_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_INTC_IRQ_ExternalIrqClose (external_irq_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_INTC_NMI_ExternalIrqOpen (external_irq_ctrl_t *const p_api_ctrl, external_irq_cfg_t const *const p_cfg) |
| fsp_err_t | R_INTC_NMI_ExternalIrqEnable (external_irq_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_INTC_NMI_ExternalIrqDisable (external_irq_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_INTC_NMI_ExternalIrqCallbackSet (external_irq_ctrl_t *const p_api_ctrl, void(*p_callback)(external_irq_callback_args_t *), void *const p_context, external_irq_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_INTC_NMI_ExternalIrqClose (external_irq_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_INTC_TINT_ExternalIrqOpen (external_irq_ctrl_t *const p_api_ctrl, external_irq_cfg_t const *const p_cfg) |
| fsp_err_t | R_INTC_TINT_ExternalIrqEnable (external_irq_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_INTC_TINT_ExternalIrqDisable (external_irq_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_INTC_TINT_ExternalIrqCallbackSet (external_irq_ctrl_t *const p_api_ctrl, void(*p_callback)(external_irq_callback_args_t *), void *const p_context, external_irq_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_INTC_TINT_ExternalIrqClose (external_irq_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_IOPORT_Open (ioport_ctrl_t *const p_ctrl, const ioport_cfg_t *p_cfg) |
| fsp_err_t | R_IOPORT_Close (ioport_ctrl_t *const p_ctrl) |
| fsp_err_t | R_IOPORT_PinsCfg (ioport_ctrl_t *const p_ctrl, const ioport_cfg_t *p_cfg) |
| fsp_err_t | R_IOPORT_PinCfg (ioport_ctrl_t *const p_ctrl, bsp_io_port_pin_t pin, uint32_t cfg) |
| fsp_err_t | R_IOPORT_PinEventInputRead (ioport_ctrl_t *const p_ctrl, bsp_io_port_pin_t pin, bsp_io_level_t *p_pin_event) |
| fsp_err_t | R_IOPORT_PinEventOutputWrite (ioport_ctrl_t *const p_ctrl, bsp_io_port_pin_t pin, bsp_io_level_t pin_value) |
| fsp_err_t | R_IOPORT_PinRead (ioport_ctrl_t *const p_ctrl, bsp_io_port_pin_t pin, bsp_io_level_t *p_pin_value) |
| fsp_err_t | R_IOPORT_PinWrite (ioport_ctrl_t *const p_ctrl, bsp_io_port_pin_t pin, bsp_io_level_t level) |
| fsp_err_t | R_IOPORT_PortDirectionSet (ioport_ctrl_t *const p_ctrl, bsp_io_port_t port, ioport_size_t direction_values, ioport_size_t mask) |
| fsp_err_t | R_IOPORT_PortEventInputRead (ioport_ctrl_t *const p_ctrl, bsp_io_port_t port, ioport_size_t *event_data) |
| fsp_err_t | R_IOPORT_PortEventOutputWrite (ioport_ctrl_t *const p_ctrl, bsp_io_port_t port, ioport_size_t event_data, ioport_size_t mask_value) |
| fsp_err_t | R_IOPORT_PortRead (ioport_ctrl_t *const p_ctrl, bsp_io_port_t port, ioport_size_t *p_port_value) |
| fsp_err_t | R_IOPORT_PortWrite (ioport_ctrl_t *const p_ctrl, bsp_io_port_t port, ioport_size_t value, ioport_size_t mask) |
| fsp_err_t | R_ISU_Open (isu_ctrl_t *const p_api_ctrl, isu_cfg_t const *const p_cfg) |
| fsp_err_t | R_ISU_Close (isu_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_ISU_Start (isu_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_ISU_ChangeCfg (isu_ctrl_t *const p_api_ctrl, isu_runtime_cfg_t *const p_runtime_cfg) |
| fsp_err_t | R_LCDC_Open (display_ctrl_t *const p_api_ctrl, display_cfg_t const *const p_cfg) |
| fsp_err_t | R_LCDC_Close (display_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_LCDC_Start (display_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_LCDC_Stop (display_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_LCDC_LayerChange (display_ctrl_t const *const p_api_ctrl, display_runtime_cfg_t const *const p_cfg, display_frame_layer_t layer) |
| fsp_err_t | R_LCDC_BufferChange (display_ctrl_t const *const p_api_ctrl, uint8_t *const framebuffer, display_frame_layer_t layer) |
| fsp_err_t | R_LCDC_ColorCorrection (display_ctrl_t const *const p_api_ctrl, display_correction_t const *const p_correction) |
| fsp_err_t | R_LCDC_ClutUpdate (display_ctrl_t const *const p_api_ctrl, display_clut_cfg_t const *const p_clut_cfg, display_frame_layer_t layer) |
| fsp_err_t | R_LCDC_ClutEdit (display_ctrl_t const *const p_api_ctrl, display_frame_layer_t layer, uint8_t index, uint32_t color) |
| fsp_err_t | R_LCDC_ColorKeySet (display_ctrl_t const *const p_api_ctrl, display_colorkeying_layer_t ck_cfg, display_frame_layer_t layer) |
| fsp_err_t | R_LCDC_StatusGet (display_ctrl_t const *const p_api_ctrl, display_status_t *const p_status) |
| fsp_err_t | R_MIPI_DSI_B_Open (mipi_dsi_ctrl_t *const p_api_ctrl, mipi_dsi_cfg_t const *const p_cfg) |
| fsp_err_t | R_MIPI_DSI_B_Close (mipi_dsi_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_MIPI_DSI_B_Start (mipi_dsi_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_MIPI_DSI_B_UlpsEnter (mipi_dsi_ctrl_t *const p_api_ctrl, mipi_dsi_lane_t lane) |
| fsp_err_t | R_MIPI_DSI_B_UlpsExit (mipi_dsi_ctrl_t *const p_api_ctrl, mipi_dsi_lane_t lane) |
| fsp_err_t | R_MIPI_DSI_B_Stop (mipi_dsi_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_MIPI_DSI_B_Command (mipi_dsi_ctrl_t *const p_api_ctrl, mipi_dsi_cmd_t *p_cmd) |
| fsp_err_t | R_MIPI_DSI_B_StatusGet (mipi_dsi_ctrl_t *const p_api_ctrl, mipi_dsi_status_t *p_status) |
| fsp_err_t | R_MMU_Open (mmu_ctrl_t *const p_api_ctrl, mmu_cfg_t const *const p_cfg) |
| fsp_err_t | R_MMU_Close (mmu_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_MMU_AllocateTable (mmu_ctrl_t *const p_api_ctrl, uint32_t table_level, uint64_t table_base_ptr) |
| fsp_err_t | R_MMU_WriteTableLink (mmu_ctrl_t *const p_api_ctrl, mmu_table_info_t *p_table_info, uint64_t vaddress, uint64_t next_table_base_ptr) |
| fsp_err_t | R_MMU_WriteTable (mmu_ctrl_t *const p_api_ctrl, mmu_table_info_t *p_table_info, mmu_section_info_t *p_section_info) |
| fsp_err_t | R_MMU_WriteTableFault (mmu_ctrl_t *const p_api_ctrl, mmu_table_info_t *p_table_info, mmu_section_info_t *p_section_info) |
| fsp_err_t | R_MTU3_Open (timer_ctrl_t *const p_ctrl, timer_cfg_t const *const p_cfg) |
| fsp_err_t | R_MTU3_Stop (timer_ctrl_t *const p_ctrl) |
| fsp_err_t | R_MTU3_Start (timer_ctrl_t *const p_ctrl) |
| fsp_err_t | R_MTU3_Reset (timer_ctrl_t *const p_ctrl) |
| fsp_err_t | R_MTU3_PeriodSet (timer_ctrl_t *const p_ctrl, uint32_t const period_counts) |
| fsp_err_t | R_MTU3_DutyCycleSet (timer_ctrl_t *const p_ctrl, uint32_t const duty_cycle_counts, uint32_t const pin) |
| fsp_err_t | R_MTU3_CompareMatchSet (timer_ctrl_t *const p_ctrl, uint32_t const compare_match_value, timer_compare_match_t const match_channel) |
| fsp_err_t | R_MTU3_InfoGet (timer_ctrl_t *const p_ctrl, timer_info_t *const p_info) |
| fsp_err_t | R_MTU3_StatusGet (timer_ctrl_t *const p_ctrl, timer_status_t *const p_status) |
| fsp_err_t | R_MTU3_CounterSet (timer_ctrl_t *const p_ctrl, uint32_t counter) |
| fsp_err_t | R_MTU3_OutputEnable (timer_ctrl_t *const p_ctrl, mtu3_output_pin_t pin_level) |
| fsp_err_t | R_MTU3_OutputDisable (timer_ctrl_t *const p_ctrl, mtu3_io_pin_t pin) |
| fsp_err_t | R_MTU3_Enable (timer_ctrl_t *const p_ctrl) |
| fsp_err_t | R_MTU3_Disable (timer_ctrl_t *const p_ctrl) |
| fsp_err_t | R_MTU3_AdcTriggerSet (timer_ctrl_t *const p_ctrl, mtu3_adc_compare_match_t which_compare_match, uint16_t compare_match_value) |
| fsp_err_t | R_MTU3_CallbackSet (timer_ctrl_t *const p_api_ctrl, void(*p_callback)(timer_callback_args_t *), void *const p_context, timer_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_MTU3_Close (timer_ctrl_t *const p_ctrl) |
| fsp_err_t | R_RIIC_MASTER_Open (i2c_master_ctrl_t *const p_api_ctrl, i2c_master_cfg_t const *const p_cfg) |
| fsp_err_t | R_RIIC_MASTER_Read (i2c_master_ctrl_t *const p_api_ctrl, uint8_t *const p_dest, uint32_t const bytes, bool const restart) |
| fsp_err_t | R_RIIC_MASTER_Write (i2c_master_ctrl_t *const p_api_ctrl, uint8_t *const p_src, uint32_t const bytes, bool const restart) |
| fsp_err_t | R_RIIC_MASTER_Abort (i2c_master_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_RIIC_MASTER_SlaveAddressSet (i2c_master_ctrl_t *const p_api_ctrl, uint32_t const slave, i2c_master_addr_mode_t const addr_mode) |
| fsp_err_t | R_RIIC_MASTER_Close (i2c_master_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_RIIC_MASTER_CallbackSet (i2c_master_ctrl_t *const p_api_ctrl, void(*p_callback)(i2c_master_callback_args_t *), void *const p_context, i2c_master_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_RIIC_MASTER_StatusGet (i2c_master_ctrl_t *const p_api_ctrl, i2c_master_status_t *p_status) |
| fsp_err_t | R_RIIC_SLAVE_Open (i2c_slave_ctrl_t *const p_api_ctrl, i2c_slave_cfg_t const *const p_cfg) |
| fsp_err_t | R_RIIC_SLAVE_Read (i2c_slave_ctrl_t *const p_api_ctrl, uint8_t *const p_dest, uint32_t const bytes) |
| fsp_err_t | R_RIIC_SLAVE_Write (i2c_slave_ctrl_t *const p_api_ctrl, uint8_t *const p_src, uint32_t const bytes) |
| fsp_err_t | R_RIIC_SLAVE_Close (i2c_slave_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_RIIC_SLAVE_CallbackSet (i2c_slave_ctrl_t *const p_api_ctrl, void(*p_callback)(i2c_slave_callback_args_t *), void *const p_context, i2c_slave_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_RSPI_Open (spi_ctrl_t *p_api_ctrl, spi_cfg_t const *const p_cfg) |
| fsp_err_t | R_RSPI_Read (spi_ctrl_t *const p_api_ctrl, void *p_dest, uint32_t const length, spi_bit_width_t const bit_width) |
| fsp_err_t | R_RSPI_Write (spi_ctrl_t *const p_api_ctrl, void const *p_src, uint32_t const length, spi_bit_width_t const bit_width) |
| fsp_err_t | R_RSPI_WriteRead (spi_ctrl_t *const p_api_ctrl, void const *p_src, void *p_dest, uint32_t const length, spi_bit_width_t const bit_width) |
| fsp_err_t | R_RSPI_Close (spi_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_RSPI_CalculateBitrate (uint32_t bitrate, rspi_rspck_div_setting_t *spck_div) |
| fsp_err_t | R_RSPI_CallbackSet (spi_ctrl_t *const p_api_ctrl, void(*p_callback)(spi_callback_args_t *), void *const p_context, spi_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_SCI_UART_Open (uart_ctrl_t *const p_api_ctrl, uart_cfg_t const *const p_cfg) |
| fsp_err_t | R_SCI_UART_Read (uart_ctrl_t *const p_api_ctrl, uint8_t *const p_dest, uint32_t const bytes) |
| fsp_err_t | R_SCI_UART_Write (uart_ctrl_t *const p_api_ctrl, uint8_t const *const p_src, uint32_t const bytes) |
| fsp_err_t | R_SCI_UART_BaudSet (uart_ctrl_t *const p_api_ctrl, void const *const p_baud_setting) |
| fsp_err_t | R_SCI_UART_InfoGet (uart_ctrl_t *const p_api_ctrl, uart_info_t *const p_info) |
| fsp_err_t | R_SCI_UART_Close (uart_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_SCI_UART_Abort (uart_ctrl_t *const p_api_ctrl, uart_dir_t communication_to_abort) |
| fsp_err_t | R_SCI_UART_BaudCalculate (uint32_t baudrate, bool bitrate_modulation, uint32_t baud_rate_error_x_1000, baud_setting_t *const p_baud_setting) |
| fsp_err_t | R_SCI_UART_CallbackSet (uart_ctrl_t *const p_api_ctrl, void(*p_callback)(uart_callback_args_t *), void *const p_context, uart_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_SCI_UART_ReadStop (uart_ctrl_t *const p_api_ctrl, uint32_t *remaining_bytes) |
| fsp_err_t | R_SCI_UART_ReceiveSuspend (uart_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_SCI_UART_ReceiveResume (uart_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_SCIF_UART_Open (uart_ctrl_t *const p_api_ctrl, uart_cfg_t const *const p_cfg) |
| fsp_err_t | R_SCIF_UART_Read (uart_ctrl_t *const p_api_ctrl, uint8_t *const p_dest, uint32_t const bytes) |
| fsp_err_t | R_SCIF_UART_Write (uart_ctrl_t *const p_api_ctrl, uint8_t const *const p_src, uint32_t const bytes) |
| fsp_err_t | R_SCIF_UART_BaudSet (uart_ctrl_t *const p_api_ctrl, void const *const p_baud_setting) |
| fsp_err_t | R_SCIF_UART_InfoGet (uart_ctrl_t *const p_api_ctrl, uart_info_t *const p_info) |
| fsp_err_t | R_SCIF_UART_Close (uart_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_SCIF_UART_Abort (uart_ctrl_t *const p_api_ctrl, uart_dir_t communication_to_abort) |
| fsp_err_t | R_SCIF_UART_BaudCalculate (uart_ctrl_t *const p_api_ctrl, uint32_t baudrate, bool bitrate_modulation, uint32_t baud_rate_error_x_1000, scif_baud_setting_t *const p_baud_setting) |
| fsp_err_t | R_SCIF_UART_ReadStop (uart_ctrl_t *const p_api_ctrl, uint32_t *remaining_bytes) |
| fsp_err_t | R_SCIF_UART_ReceiveSuspend (uart_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_SCIF_UART_ReceiveResume (uart_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_SDHI_Open (sdmmc_ctrl_t *const p_api_ctrl, sdmmc_cfg_t const *const p_cfg) |
| fsp_err_t | R_SDHI_MediaInit (sdmmc_ctrl_t *const p_api_ctrl, sdmmc_device_t *const p_device) |
| fsp_err_t | R_SDHI_Read (sdmmc_ctrl_t *const p_api_ctrl, uint8_t *const p_dest, uint32_t const start_sector, uint32_t const sector_count) |
| fsp_err_t | R_SDHI_Write (sdmmc_ctrl_t *const p_api_ctrl, uint8_t const *const p_source, uint32_t const start_sector, uint32_t const sector_count) |
| fsp_err_t | R_SDHI_ReadIo (sdmmc_ctrl_t *const p_api_ctrl, uint8_t *const p_data, uint32_t const function, uint32_t const address) |
| fsp_err_t | R_SDHI_WriteIo (sdmmc_ctrl_t *const p_api_ctrl, uint8_t *const p_data, uint32_t const function, uint32_t const address, sdmmc_io_write_mode_t const read_after_write) |
| fsp_err_t | R_SDHI_ReadIoExt (sdmmc_ctrl_t *const p_api_ctrl, uint8_t *const p_dest, uint32_t const function, uint32_t const address, uint32_t *const count, sdmmc_io_transfer_mode_t transfer_mode, sdmmc_io_address_mode_t address_mode) |
| fsp_err_t | R_SDHI_WriteIoExt (sdmmc_ctrl_t *const p_api_ctrl, uint8_t const *const p_source, uint32_t const function, uint32_t const address, uint32_t const count, sdmmc_io_transfer_mode_t transfer_mode, sdmmc_io_address_mode_t address_mode) |
| fsp_err_t | R_SDHI_IoIntEnable (sdmmc_ctrl_t *const p_api_ctrl, bool enable) |
| fsp_err_t | R_SDHI_StatusGet (sdmmc_ctrl_t *const p_api_ctrl, sdmmc_status_t *const p_status) |
| fsp_err_t | R_SDHI_Erase (sdmmc_ctrl_t *const p_api_ctrl, uint32_t const start_sector, uint32_t const sector_count) |
| fsp_err_t | R_SDHI_CallbackSet (sdmmc_ctrl_t *const p_api_ctrl, void(*p_callback)(sdmmc_callback_args_t *), void *const p_context, sdmmc_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_SDHI_Close (sdmmc_ctrl_t *const p_api_ctrl) |
| fsp_err_t | R_SPIBSC_Open (spi_flash_ctrl_t *p_api_ctrl, spi_flash_cfg_t const *const p_cfg) |
| fsp_err_t | R_SPIBSC_Close (spi_flash_ctrl_t *p_api_ctrl) |
| fsp_err_t | R_SPIBSC_DirectWrite (spi_flash_ctrl_t *p_api_ctrl, uint8_t const *const p_src, uint32_t const bytes, bool const read_after_write) |
| fsp_err_t | R_SPIBSC_DirectRead (spi_flash_ctrl_t *p_api_ctrl, uint8_t *const p_dest, uint32_t const bytes) |
| fsp_err_t | R_SPIBSC_SpiProtocolSet (spi_flash_ctrl_t *p_api_ctrl, spi_flash_protocol_t spi_protocol) |
| fsp_err_t | R_SPIBSC_XipEnter (spi_flash_ctrl_t *p_api_ctrl) |
| fsp_err_t | R_SPIBSC_XipExit (spi_flash_ctrl_t *p_api_ctrl) |
| fsp_err_t | R_SPIBSC_Write (spi_flash_ctrl_t *p_api_ctrl, uint8_t const *const p_src, uint8_t *const p_dest, uint32_t byte_count) |
| fsp_err_t | R_SPIBSC_Erase (spi_flash_ctrl_t *p_api_ctrl, uint8_t *const p_device_address, uint32_t byte_count) |
| fsp_err_t | R_SPIBSC_StatusGet (spi_flash_ctrl_t *p_api_ctrl, spi_flash_status_t *const p_status) |
| fsp_err_t | R_SPIBSC_BankSet (spi_flash_ctrl_t *p_api_ctrl, uint32_t bank) |
| fsp_err_t | R_SPIBSC_DirectTransfer (spi_flash_ctrl_t *p_api_ctrl, spi_flash_direct_transfer_t *const p_transfer, spi_flash_direct_transfer_dir_t direction) |
| fsp_err_t | R_SPIBSC_AutoCalibrate (spi_flash_ctrl_t *p_api_ctrl) |
| fsp_err_t | R_SSI_Open (i2s_ctrl_t *const p_ctrl, i2s_cfg_t const *const p_cfg) |
| fsp_err_t | R_SSI_Stop (i2s_ctrl_t *const p_ctrl) |
| fsp_err_t | R_SSI_StatusGet (i2s_ctrl_t *const p_ctrl, i2s_status_t *const p_status) |
| fsp_err_t | R_SSI_Write (i2s_ctrl_t *const p_ctrl, void const *const p_src, uint32_t const bytes) |
| fsp_err_t | R_SSI_Read (i2s_ctrl_t *const p_ctrl, void *const p_dest, uint32_t const bytes) |
| fsp_err_t | R_SSI_WriteRead (i2s_ctrl_t *const p_ctrl, void const *const p_src, void *const p_dest, uint32_t const bytes) |
| fsp_err_t | R_SSI_Mute (i2s_ctrl_t *const p_ctrl, i2s_mute_t const mute_enable) |
| fsp_err_t | R_SSI_Close (i2s_ctrl_t *const p_ctrl) |
| fsp_err_t | R_SSI_CallbackSet (i2s_ctrl_t *const p_api_ctrl, void(*p_callback)(i2s_callback_args_t *), void *const p_context, i2s_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_USB_Open (usb_ctrl_t *const p_api_ctrl, usb_cfg_t const *const p_cfg) |
| Applies power to the USB module specified in the argument (p_ctrl). More... | |
| fsp_err_t | R_USB_Close (usb_ctrl_t *const p_api_ctrl) |
| Terminates power to the USB module specified in argument (p_ctrl). USB0 module stops when USB_IP0 is specified to the member (module), USB1 module stops when USB_IP1 is specified to the member (module). More... | |
| fsp_err_t | R_USB_Read (usb_ctrl_t *const p_api_ctrl, uint8_t *p_buf, uint32_t size, uint8_t destination) |
| Bulk/interrupt data transfer and control data transfer. More... | |
| fsp_err_t | R_USB_Write (usb_ctrl_t *const p_api_ctrl, uint8_t const *const p_buf, uint32_t size, uint8_t destination) |
| Bulk/Interrupt data transfer and control data transfer. More... | |
| fsp_err_t | R_USB_Stop (usb_ctrl_t *const p_api_ctrl, usb_transfer_t direction, uint8_t destination) |
| Requests a data read/write transfer be terminated when a data read/write transfer is being performed. More... | |
| fsp_err_t | R_USB_Suspend (usb_ctrl_t *const p_api_ctrl) |
| Sends a SUSPEND signal from the USB module assigned to the member (module) of the usb_crtl_t structure. More... | |
| fsp_err_t | R_USB_Resume (usb_ctrl_t *const p_api_ctrl) |
| Sends a RESUME signal from the USB module assigned to the member (module) of the usb_ctrl_tstructure. More... | |
| fsp_err_t | R_USB_VbusSet (usb_ctrl_t *const p_api_ctrl, uint16_t state) |
| Specifies starting or stopping the VBUS supply. More... | |
| fsp_err_t | R_USB_InfoGet (usb_ctrl_t *const p_api_ctrl, usb_info_t *p_info, uint8_t destination) |
| Obtains completed USB-related events. More... | |
| fsp_err_t | R_USB_PipeRead (usb_ctrl_t *const p_api_ctrl, uint8_t *p_buf, uint32_t size, uint8_t pipe_number) |
| Requests a data read (bulk/interrupt transfer) via the pipe specified in the argument. More... | |
| fsp_err_t | R_USB_PipeWrite (usb_ctrl_t *const p_api_ctrl, uint8_t *p_buf, uint32_t size, uint8_t pipe_number) |
| Requests a data write (bulk/interrupt transfer). More... | |
| fsp_err_t | R_USB_PipeStop (usb_ctrl_t *const p_api_ctrl, uint8_t pipe_number) |
| Terminates a data read/write operation. More... | |
| fsp_err_t | R_USB_UsedPipesGet (usb_ctrl_t *const p_api_ctrl, uint16_t *p_pipe, uint8_t destination) |
| Gets the selected pipe number (number of the pipe that has completed initalization) via bit map information. More... | |
| fsp_err_t | R_USB_PipeInfoGet (usb_ctrl_t *const p_api_ctrl, usb_pipe_t *p_info, uint8_t pipe_number) |
| Gets the following pipe information regarding the pipe specified in the argument (p_ctrl) member (pipe): endpoint number, transfer type, transfer direction and maximum packet size. More... | |
| fsp_err_t | R_USB_PullUp (usb_ctrl_t *const p_api_ctrl, uint8_t state) |
| This API enables or disables pull-up of D+/D- line. More... | |
| fsp_err_t | R_USB_EventGet (usb_ctrl_t *const p_api_ctrl, usb_status_t *event) |
| Obtains completed USB related events. (OS-less Only) More... | |
| fsp_err_t | R_USB_Callback (usb_callback_t *p_callback) |
| Register a callback function to be called upon completion of a USB related event. (RTOS only) More... | |
| fsp_err_t | R_USB_HostControlTransfer (usb_ctrl_t *const p_api_ctrl, usb_setup_t *p_setup, uint8_t *p_buf, uint8_t device_address) |
| Performs settings and transmission processing when transmitting a setup packet. More... | |
| fsp_err_t | R_USB_PeriControlDataGet (usb_ctrl_t *const p_api_ctrl, uint8_t *p_buf, uint32_t size) |
| Receives data sent by control transfer. More... | |
| fsp_err_t | R_USB_PeriControlDataSet (usb_ctrl_t *const p_api_ctrl, uint8_t *p_buf, uint32_t size) |
| Performs transfer processing for control transfer. More... | |
| fsp_err_t | R_USB_PeriControlStatusSet (usb_ctrl_t *const p_api_ctrl, usb_setup_status_t status) |
| Set the response to the setup packet. More... | |
| fsp_err_t | R_USB_RemoteWakeup (usb_ctrl_t *const p_api_ctrl) |
| Sends a remote wake-up signal to the connected Host. More... | |
| fsp_err_t | R_USB_ModuleNumberGet (usb_ctrl_t *const p_api_ctrl, uint8_t *module_number) |
| This API gets the module number. More... | |
| fsp_err_t | R_USB_ClassTypeGet (usb_ctrl_t *const p_api_ctrl, usb_class_t *class_type) |
| This API gets the class type. More... | |
| fsp_err_t | R_USB_DeviceAddressGet (usb_ctrl_t *const p_api_ctrl, uint8_t *device_address) |
| This API gets the device address. More... | |
| fsp_err_t | R_USB_PipeNumberGet (usb_ctrl_t *const p_api_ctrl, uint8_t *pipe_number) |
| This API gets the pipe number. More... | |
| fsp_err_t | R_USB_DeviceStateGet (usb_ctrl_t *const p_api_ctrl, uint16_t *state) |
| This API gets the state of the device. More... | |
| fsp_err_t | R_USB_DataSizeGet (usb_ctrl_t *const p_api_ctrl, uint32_t *data_size) |
| This API gets the data size. More... | |
| fsp_err_t | R_USB_SetupGet (usb_ctrl_t *const p_api_ctrl, usb_setup_t *setup) |
| This API gets the setup type. More... | |
| fsp_err_t | R_USB_OtgCallbackSet (usb_ctrl_t *const p_api_ctrl, usb_otg_callback_t *p_callback) |
| Set callback function to be called when the OTG role swap was completed on Azure RTOS. More... | |
| fsp_err_t | R_USB_OtgSRP (usb_ctrl_t *const p_api_ctrl) |
| Start the SRP processing for OTG on Azure RTOS. More... | |
| fsp_err_t | R_USB_DriverActivate (usb_ctrl_t *const p_api_ctrl) |
| Activate USB Driver for USB Peripheral BareMetal. More... | |
| fsp_err_t | R_USB_CallbackMemorySet (usb_ctrl_t *const p_api_ctrl, usb_callback_args_t *p_callback_memory) |
| Set callback memory to USB Driver for USB Peripheral BareMetal. More... | |
| fsp_err_t | R_USB_HHID_TypeGet (usb_ctrl_t *const p_api_ctrl, uint8_t *p_type, uint8_t device_address) |
| Get HID protocol.(USB Mouse/USB Keyboard/Other Type.) More... | |
| fsp_err_t | R_USB_HHID_MaxPacketSizeGet (usb_ctrl_t *const p_api_ctrl, uint16_t *p_size, uint8_t direction, uint8_t device_address) |
| Obtains max packet size for the connected HID device. The max packet size is set to the area. Set the direction (USB_HID_IN/USB_HID_OUT). More... | |
| fsp_err_t | R_USB_HMSC_StorageCommand (usb_ctrl_t *const p_api_ctrl, uint8_t *buf, uint8_t command, uint8_t destination) |
| Processing for MassStorage(ATAPI) command. More... | |
| fsp_err_t | R_USB_HMSC_DriveNumberGet (usb_ctrl_t *const p_api_ctrl, uint8_t *p_drive, uint8_t destination) |
| Get number of Storage drive. More... | |
| fsp_err_t | R_USB_HMSC_SemaphoreGet (void) |
| Get a semaphore. (RTOS only) More... | |
| fsp_err_t | R_USB_HMSC_SemaphoreRelease (void) |
| Release a semaphore. (RTOS only) More... | |
| fsp_err_t | R_USB_HMSC_StorageReadSector (uint16_t drive_number, uint8_t *const buff, uint32_t sector_number, uint16_t sector_count) |
| Read sector information. More... | |
| fsp_err_t | R_USB_HMSC_StorageWriteSector (uint16_t drive_number, uint8_t const *const buff, uint32_t sector_number, uint16_t sector_count) |
| Write sector information. More... | |
| fsp_err_t | R_WDT_Refresh (wdt_ctrl_t *const p_ctrl) |
| fsp_err_t | R_WDT_Open (wdt_ctrl_t *const p_ctrl, wdt_cfg_t const *const p_cfg) |
| fsp_err_t | R_WDT_StatusClear (wdt_ctrl_t *const p_ctrl, const wdt_status_t status) |
| fsp_err_t | R_WDT_StatusGet (wdt_ctrl_t *const p_ctrl, wdt_status_t *const p_status) |
| fsp_err_t | R_WDT_CounterGet (wdt_ctrl_t *const p_ctrl, uint32_t *const p_count) |
| fsp_err_t | R_WDT_TimeoutGet (wdt_ctrl_t *const p_ctrl, wdt_timeout_values_t *const p_timeout) |
| fsp_err_t | R_WDT_CallbackSet (wdt_ctrl_t *const p_ctrl, void(*p_callback)(wdt_callback_args_t *), void *const p_context, wdt_callback_args_t *const p_callback_memory) |
| fsp_err_t | RM_BLOCK_MEDIA_SDMMC_Open (rm_block_media_ctrl_t *const p_ctrl, rm_block_media_cfg_t const *const p_cfg) |
| fsp_err_t | RM_BLOCK_MEDIA_SDMMC_MediaInit (rm_block_media_ctrl_t *const p_ctrl) |
| fsp_err_t | RM_BLOCK_MEDIA_SDMMC_Read (rm_block_media_ctrl_t *const p_ctrl, uint8_t *const p_dest_address, uint32_t const block_address, uint32_t const num_blocks) |
| fsp_err_t | RM_BLOCK_MEDIA_SDMMC_Write (rm_block_media_ctrl_t *const p_ctrl, uint8_t const *const p_src_address, uint32_t const block_address, uint32_t const num_blocks) |
| fsp_err_t | RM_BLOCK_MEDIA_SDMMC_Erase (rm_block_media_ctrl_t *const p_ctrl, uint32_t const block_address, uint32_t const num_blocks) |
| fsp_err_t | RM_BLOCK_MEDIA_SDMMC_CallbackSet (rm_block_media_ctrl_t *const p_ctrl, void(*p_callback)(rm_block_media_callback_args_t *), void *const p_context, rm_block_media_callback_args_t *const p_callback_memory) |
| fsp_err_t | RM_BLOCK_MEDIA_SDMMC_StatusGet (rm_block_media_ctrl_t *const p_api_ctrl, rm_block_media_status_t *const p_status) |
| fsp_err_t | RM_BLOCK_MEDIA_SDMMC_InfoGet (rm_block_media_ctrl_t *const p_ctrl, rm_block_media_info_t *const p_info) |
| fsp_err_t | RM_BLOCK_MEDIA_SDMMC_Close (rm_block_media_ctrl_t *const p_ctrl) |
| fsp_err_t | RM_BLOCK_MEDIA_USB_Open (rm_block_media_ctrl_t *const p_ctrl, rm_block_media_cfg_t const *const p_cfg) |
| fsp_err_t | RM_BLOCK_MEDIA_USB_MediaInit (rm_block_media_ctrl_t *const p_ctrl) |
| fsp_err_t | RM_BLOCK_MEDIA_USB_Read (rm_block_media_ctrl_t *const p_ctrl, uint8_t *const p_dest_address, uint32_t const block_address, uint32_t const num_blocks) |
| fsp_err_t | RM_BLOCK_MEDIA_USB_Write (rm_block_media_ctrl_t *const p_ctrl, uint8_t const *const p_src_address, uint32_t const block_address, uint32_t const num_blocks) |
| fsp_err_t | RM_BLOCK_MEDIA_USB_Erase (rm_block_media_ctrl_t *const p_ctrl, uint32_t const block_address, uint32_t const num_blocks) |
| fsp_err_t | RM_BLOCK_MEDIA_USB_CallbackSet (rm_block_media_ctrl_t *const p_api_ctrl, void(*p_callback)(rm_block_media_callback_args_t *), void *const p_context, rm_block_media_callback_args_t *const p_callback_memory) |
| fsp_err_t | RM_BLOCK_MEDIA_USB_StatusGet (rm_block_media_ctrl_t *const p_api_ctrl, rm_block_media_status_t *const p_status) |
| fsp_err_t | RM_BLOCK_MEDIA_USB_InfoGet (rm_block_media_ctrl_t *const p_ctrl, rm_block_media_info_t *const p_info) |
| fsp_err_t | RM_BLOCK_MEDIA_USB_Close (rm_block_media_ctrl_t *const p_ctrl) |
| fsp_err_t | RM_COMMS_I2C_Open (rm_comms_ctrl_t *const p_api_ctrl, rm_comms_cfg_t const *const p_cfg) |
| Opens and configures the Communications Middle module. Implements rm_comms_api_t::open. More... | |
| fsp_err_t | RM_COMMS_I2C_Close (rm_comms_ctrl_t *const p_api_ctrl) |
| Disables specified Communications Middle module. Implements rm_comms_api_t::close. More... | |
| fsp_err_t | RM_COMMS_I2C_Read (rm_comms_ctrl_t *const p_api_ctrl, uint8_t *const p_dest, uint32_t const bytes) |
| Performs a read from the I2C device. Implements rm_comms_api_t::read. More... | |
| fsp_err_t | RM_COMMS_I2C_Write (rm_comms_ctrl_t *const p_api_ctrl, uint8_t *const p_src, uint32_t const bytes) |
| Performs a write from the I2C device. Implements rm_comms_api_t::write. More... | |
| fsp_err_t | RM_COMMS_I2C_WriteRead (rm_comms_ctrl_t *const p_api_ctrl, rm_comms_write_read_params_t const write_read_params) |
| Performs a write to, then a read from the I2C device. Implements rm_comms_api_t::writeRead. More... | |
| fsp_err_t | RM_COMMS_UART_Open (rm_comms_ctrl_t *const p_api_ctrl, rm_comms_cfg_t const *const p_cfg) |
| Opens and configures the UART Comms module. Implements rm_comms_api_t::open. More... | |
| fsp_err_t | RM_COMMS_UART_Close (rm_comms_ctrl_t *const p_api_ctrl) |
| Disables specified UART Comms module. Implements rm_comms_api_t::close. More... | |
| fsp_err_t | RM_COMMS_UART_Read (rm_comms_ctrl_t *const p_api_ctrl, uint8_t *const p_dest, uint32_t const bytes) |
| Performs a read from the UART device. Implements rm_comms_api_t::read. More... | |
| fsp_err_t | RM_COMMS_UART_Write (rm_comms_ctrl_t *const p_api_ctrl, uint8_t *const p_src, uint32_t const bytes) |
| Performs a write to the UART device. Implements rm_comms_api_t::write. More... | |
| fsp_err_t | RM_COMMS_UART_WriteRead (rm_comms_ctrl_t *const p_api_ctrl, rm_comms_write_read_params_t const write_read_params) |
| Performs a write to, then a read from the UART device. Implements rm_comms_api_t::writeRead. More... | |
| fsp_err_t | RM_COMMS_UART_CallbackSet (rm_comms_ctrl_t *const p_api_ctrl, void( *p_callback)(rm_comms_callback_args_t *), void *const p_context) |
| Updates the UART Comms callback. Implements rm_comms_api_t::callbackSet. More... | |
| fsp_err_t | RM_COMMS_USB_PCDC_Open (rm_comms_ctrl_t *const p_api_ctrl, rm_comms_cfg_t const *const p_cfg) |
| Opens and configures the USB PCDC Comms module. Implements rm_comms_api_t::open. More... | |
| fsp_err_t | RM_COMMS_USB_PCDC_Close (rm_comms_ctrl_t *const p_api_ctrl) |
| Disables specified USB PCDC Comms module. Implements rm_comms_api_t::close. More... | |
| fsp_err_t | RM_COMMS_USB_PCDC_Read (rm_comms_ctrl_t *const p_api_ctrl, uint8_t *const p_dest, uint32_t const bytes) |
| Performs a read from the USB PCDC device. Implements rm_comms_api_t::read. More... | |
| fsp_err_t | RM_COMMS_USB_PCDC_Write (rm_comms_ctrl_t *const p_api_ctrl, uint8_t *const p_src, uint32_t const bytes) |
| Performs a write to the USB PCDC device. Implements rm_comms_api_t::write. More... | |
| fsp_err_t | RM_COMMS_USB_PCDC_WriteRead (rm_comms_ctrl_t *const p_api_ctrl, rm_comms_write_read_params_t const write_read_params) |
| Performs a write to, then a read from the USB device. Implements rm_comms_api_t::writeRead. More... | |
| fsp_err_t | RM_COMMS_USB_PCDC_CallbackSet (rm_comms_ctrl_t *const p_api_ctrl, void( *p_callback)(rm_comms_callback_args_t *), void *const p_context) |
| Updates the USB PCDC Comms callback. Implements rm_comms_api_t::callbackSet. More... | |
| fsp_err_t | RM_FILEX_BLOCK_MEDIA_Open (rm_filex_block_media_ctrl_t *const p_ctrl, rm_filex_block_media_cfg_t const *const p_cfg) |
| fsp_err_t | RM_FILEX_BLOCK_MEDIA_Close (rm_filex_block_media_ctrl_t *const p_ctrl) |
| void | RM_FILEX_BLOCK_MEDIA_BlockDriver (FX_MEDIA *p_fx_media) |
| Access Block Media device functions open, close, read, write and control. More... | |
| fsp_err_t | RM_FREERTOS_PLUS_FAT_Open (rm_freertos_plus_fat_ctrl_t *const p_ctrl, rm_freertos_plus_fat_cfg_t const *const p_cfg) |
| fsp_err_t | RM_FREERTOS_PLUS_FAT_MediaInit (rm_freertos_plus_fat_ctrl_t *const p_ctrl, rm_freertos_plus_fat_device_t *const p_device) |
| fsp_err_t | RM_FREERTOS_PLUS_FAT_DiskInit (rm_freertos_plus_fat_ctrl_t *const p_ctrl, rm_freertos_plus_fat_disk_cfg_t const *const p_disk_cfg, FF_Disk_t *const p_disk) |
| fsp_err_t | RM_FREERTOS_PLUS_FAT_DiskDeinit (rm_freertos_plus_fat_ctrl_t *const p_ctrl, FF_Disk_t *const p_disk) |
| fsp_err_t | RM_FREERTOS_PLUS_FAT_InfoGet (rm_freertos_plus_fat_ctrl_t *const p_ctrl, FF_Disk_t *const p_disk, rm_freertos_plus_fat_info_t *const p_info) |
| fsp_err_t | RM_FREERTOS_PLUS_FAT_Close (rm_freertos_plus_fat_ctrl_t *const p_ctrl) |
| UINT | rm_guix_port_hw_initialize (GX_DISPLAY *p_display) |
| fsp_err_t | RM_LVGL_PORT_Open (rm_lvgl_port_instance_ctrl_t *const p_instance_ctrl, rm_lvgl_port_cfg_t const *const p_cfg) |
| fsp_err_t | RM_RAI_DATA_COLLECTOR_Open (rai_data_collector_ctrl_t *const p_api_ctrl, rai_data_collector_cfg_t const *const p_cfg) |
| fsp_err_t | RM_RAI_DATA_COLLECTOR_SnapshotChannelRegister (rai_data_collector_ctrl_t *const p_api_ctrl, uint8_t channel, void const *p_src) |
| fsp_err_t | RM_RAI_DATA_COLLECTOR_BufferReset (rai_data_collector_ctrl_t *const p_api_ctrl) |
| fsp_err_t | RM_RAI_DATA_COLLECTOR_BufferRelease (rai_data_collector_ctrl_t *const p_api_ctrl) |
| fsp_err_t | RM_RAI_DATA_COLLECTOR_ChannelBufferGet (rai_data_collector_ctrl_t *const p_api_ctrl, uint8_t channel, void **pp_buf) |
| fsp_err_t | RM_RAI_DATA_COLLECTOR_ChannelWrite (rai_data_collector_ctrl_t *const p_api_ctrl, uint8_t channel, const void *p_buf, uint32_t len) |
| fsp_err_t | RM_RAI_DATA_COLLECTOR_SnapshotStart (rai_data_collector_ctrl_t *const p_api_ctrl) |
| fsp_err_t | RM_RAI_DATA_COLLECTOR_SnapshotStop (rai_data_collector_ctrl_t *const p_api_ctrl) |
| fsp_err_t | RM_RAI_DATA_SHIPPER_Open (rai_data_shipper_ctrl_t *const p_api_ctrl, rai_data_shipper_cfg_t const *const p_cfg) |
| fsp_err_t | RM_RAI_DATA_SHIPPER_Read (rai_data_shipper_ctrl_t *const p_api_ctrl, void *const p_buf, uint32_t *const buf_len) |
| fsp_err_t | RM_RAI_DATA_SHIPPER_Write (rai_data_shipper_ctrl_t *const p_api_ctrl, rai_data_shipper_write_params_t const *p_write_params) |
| fsp_err_t | RM_RAI_DATA_SHIPPER_Close (rai_data_shipper_ctrl_t *const p_api_ctrl) |
| BSP_SECTION_FLASH_GAP void | Default_Handler (void) |
| void | SystemInit (void) |
| void | R_BSP_WarmStart (bsp_warm_start_event_t event) |
| void | R_BSP_HardwareInit (void) |
| void | SystemCoreClockUpdate (void) |
| void | bsp_clock_init (void) |
| fsp_err_t | bsp_prv_clock_selector_set (fsp_priv_clock_t clock, uint32_t clock_sel) |
| fsp_err_t | bsp_prv_clock_divider_set (fsp_priv_clock_t clock, uint32_t clock_div) |
| uint32_t | R_FSP_SystemClockHzGet (fsp_priv_clock_t clock) |
| void | R_FSP_SystemClockHzSet (fsp_priv_clock_t clock, uint32_t clock_sel, uint32_t clock_div) |
| fsp_err_t | R_BSP_ClockSelectorSet (fsp_priv_clock_selector_t selector, uint32_t clock_sel) |
| fsp_err_t | R_BSP_ClockDividerSet (fsp_priv_clock_divider_t divider, uint32_t clock_div) |
| __STATIC_INLINE fsp_err_t | R_FSP_CurrentIrqGet (void) |
| __STATIC_INLINE fsp_err_t | R_BSP_UniqueIdGet () |
| BSP_SECTION_FLASH_GAP void | R_BSP_SoftwareDelay (uint32_t delay, bsp_delay_units_t units) |
| BSP_SECTION_FLASH_GAP fsp_err_t | R_BSP_GroupIrqWrite (bsp_grp_irq_t irq, void(*p_callback)(bsp_grp_irq_t irq)) |
| __STATIC_INLINE uint32_t | R_BSP_PinRead (bsp_io_port_pin_t pin) |
| __STATIC_INLINE void | R_BSP_PinWrite (bsp_io_port_pin_t pin, bsp_io_level_t level) |
| __STATIC_INLINE void | R_BSP_PinAccessEnable (void) |
| __STATIC_INLINE void | R_BSP_PinAccessDisable (void) |
| __STATIC_INLINE void | R_BSP_OENAccessEnable (void) |
| __STATIC_INLINE void | R_BSP_OENAccessDisable (void) |
| __STATIC_INLINE void | R_BSP_EthernetModeCfg (bsp_ethernet_channel_t channel, bsp_ethernet_mode_t mode) |
| __STATIC_INLINE void | R_BSP_SDVoltageModeCfg (bsp_sd_channel_t channel, bsp_sd_voltage_t voltage) |
| __STATIC_INLINE void | R_BSP_QSPIVoltageModeCfg (bsp_qspi_voltage_t voltage) |
| __STATIC_INLINE void | R_BSP_XSPIVoltageModeCfg (bsp_xspi_voltage_t voltage) |
| __STATIC_INLINE void | R_BSP_EthernetVoltageModeCfg (bsp_ethernet_channel_t channel, bsp_ethernet_voltage_t voltage) |
| __STATIC_INLINE void | R_BSP_I3CControlCfg (bsp_i3c_voltage_t voltage, bsp_i3c_mode_t mode) |
| __STATIC_INLINE void | R_BSP_BypassModeCfg (bsp_bypass_oscillator_t oscillator, bsp_bypass_mode_t mode, bsp_bypass_freq_range_t freq_range) |
| __STATIC_INLINE void | R_BSP_XSPIOutputEnableCfg (void) |
| void | bsp_irq_cfg (void) |
| void | R_BSP_CACHE_CleanAll (void) |
| void | R_BSP_CACHE_CleanInvalidateAll (void) |
| void | R_BSP_CACHE_InvalidateAll (void) |
| void | R_BSP_CACHE_CleanRange (uint64_t base_address, uint64_t length) |
| void | R_BSP_CACHE_InvalidateRange (uint64_t base_address, uint64_t length) |
| void | R_BSP_CACHE_CleanInvalidateRange (uint64_t base_address, uint64_t length) |
| __STATIC_INLINE void | R_BSP_TLB_Invalidate (void) |
| BSP_TFU_INLINE float | __sinf (float angle) |
| BSP_TFU_INLINE float | __cosf (float angle) |
| BSP_TFU_INLINE void | __sincosf (float angle, float *sin, float *cos) |
| BSP_TFU_INLINE float | __atan2f (float y_cord, float x_cord) |
| BSP_TFU_INLINE float | __hypotf (float x_cord, float y_cord) |
| BSP_TFU_INLINE void | __atan2hypotf (float y_cord, float x_cord, float *atan2, float *hypot) |
| d1_device * | d1_opendevice (d1_long_t flags) |
| d1_int_t | d1_closedevice (d1_device *handle) |
| void | d1_setregister (d1_device *handle, d1_int_t deviceid, d1_int_t index, d1_long_t value) |
| d1_long_t | d1_getregister (d1_device *handle, d1_int_t deviceid, d1_int_t index) |
| d1_int_t | d1_devicesupported (d1_device *handle, d1_int_t deviceid) |
| d1_int_t | d1_initirq_intern (d1_device_flex *handle) |
| d1_int_t | d1_shutdownirq_intern (d1_device_flex *handle) |
| d1_int_t | d1_queryirq (d1_device *handle, d1_int_t irqmask, d1_int_t timeout) |
| void * | d1_allocmem (d1_uint_t size) |
| void | d1_freemem (void *ptr) |
| d1_uint_t | d1_memsize (void *ptr) |
| void * | d1_allocvidmem (d1_device *handle, d1_int_t memtype, d1_uint_t size) |
| void | d1_freevidmem (d1_device *handle, d1_int_t memtype, void *ptr) |
| d1_int_t | d1_queryvidmem (d1_device *handle, d1_int_t memtype, d1_int_t query) |
| d1_int_t | d1_queryarchitecture (d1_device *handle) |
| void * | d1_mapvidmem (d1_device *handle, void *ptr, d1_int_t flags) |
| d1_int_t | d1_unmapvidmem (d1_device *handle, void *ptr) |
| void * | d1_maptovidmem (d1_device *handle, void *ptr) |
| void * | d1_mapfromvidmem (d1_device *handle, void *ptr) |
| d1_int_t | d1_copytovidmem (d1_device *handle, void *dst, const void *src, d1_uint_t size, d1_int_t flags) |
| d1_int_t | d1_copyfromvidmem (d1_device *handle, void *dst, const void *src, d1_uint_t size, d1_int_t flags) |
| d1_int_t | d1_cacheflush (d1_device *handle, d1_int_t memtype) |
| d1_int_t | d1_cacheblockflush (d1_device *handle, d1_int_t memtype, const void *ptr, d1_uint_t size) |
| fsp_err_t | R_GETHER_RxBufferUpdate (ether_ctrl_t *const p_ctrl, __attribute__((unused)) void *const p_buffer) |
| Change the buffer pointer of the current rx buffer descriptor. Implements RZA::ether_api_t::rxBufferUpdate. More... | |
| fsp_err_t | R_GETHER_TxStatusGet (__attribute__((unused)) ether_ctrl_t *const p_ctrl, __attribute__((unused)) void *const p_buffer_address) |
| fsp_err_t | R_GTM_CallbackSet (timer_ctrl_t *const p_api_ctrl, void(*p_callback)(timer_callback_args_t *), void *const p_context, timer_callback_args_t *const p_callback_memory) |
| fsp_err_t | R_SCIF_UART_CallbackSet (uart_ctrl_t *const p_api_ctrl, void(*p_callback)(uart_callback_args_t *), void *const p_context, uart_callback_args_t *const p_callback_memory) |
Variables | |
| mipi_cmd_id_t | cmd_id |
| Data type. | |
| uint8_t | virtual_channel_id |
| Virtual channel ID. | |
| uint8_t | long_packet |
| Sort packet (0) or Long packet (1) | |
| uint8_t | rx_success |
| Response packet or ack trigger received. | |
| uint8_t | timeout |
| Fatal timeout error. | |
| uint8_t | rx_fail |
| Expected receive not done. | |
| uint8_t | rx_data_fail |
| Receive packet data fail. | |
| uint8_t | rx_correctable_error |
| Correctable error detected. | |
| uint8_t | rx_ack_err |
| Rx acknowledge and error report packet received. | |
| uint8_t | info_overwrite |
| This information was overwritten. | |
| uint32_t SystemCoreClock | BSP_SECTION_EARLY_INIT |
Common macro for FSP header files. There is also a corresponding FSP_FOOTER macro at the end of this file.
| struct RZA::st_rm_block_media_sdmmc_extended_cfg |
Extended configuration structure.
| Class Members | ||
|---|---|---|
| sdmmc_instance_t const * | p_sdmmc |
Add an SDMMC instance. |
| struct RZA::st_rm_block_media_usb_extended_cfg |
Extended configuration structure.
Extended configuration structure. Please refer to the struct st_rm_block_media_sdmmc_extended_cfg.
Instance control block. This is private to the FSP and should not be used or modified by the application. Please refer to the struct st_rm_block_media_sdmmc_instance_ctrl.
Extended configuration structure. Please refer to the struct st_rm_block_media_usb_extended_cfg.
Instance control block. This is private to the FSP and should not be used or modified by the application. Please refer to the struct st_rm_block_media_usb_instance_ctrl.
| enum bsp_io_port_t |
Superset list of all possible IO ports.
| enum bsp_io_port_pin_t |
Superset list of all possible IO port pins.
| enum bsp_sd_channel_t |
| enum transfer_addr_mode_t |
Address mode specifies whether to modify (increment or decrement) pointer after each transfer.
| Enumerator | |
|---|---|
| TRANSFER_ADDR_MODE_FIXED | Address pointer remains fixed after each transfer. |
| TRANSFER_ADDR_MODE_OFFSET | Offset is added to the address pointer after each transfer. |
| TRANSFER_ADDR_MODE_INCREMENTED | Address pointer is incremented by associated transfer_size_t after each transfer. Address pointer is incremented by associated RZA::transfer_size_t after each transfer. |
| TRANSFER_ADDR_MODE_DECREMENTED | Address pointer is decremented by associated transfer_size_t after each transfer. Address pointer is decremented by associated RZA::transfer_size_t after each transfer. |
| TRANSFER_ADDR_MODE_FIXED | Address pointer remains fixed after each transfer. |
| TRANSFER_ADDR_MODE_OFFSET | Offset is added to the address pointer after each transfer. |
| TRANSFER_ADDR_MODE_INCREMENTED | Address pointer is incremented by associated transfer_size_t after each transfer. Address pointer is incremented by associated RZA::transfer_size_t after each transfer. |
| TRANSFER_ADDR_MODE_DECREMENTED | Address pointer is decremented by associated transfer_size_t after each transfer. Address pointer is decremented by associated RZA::transfer_size_t after each transfer. |
| TRANSFER_ADDR_MODE_FIXED | Address pointer remains fixed after each transfer. |
| TRANSFER_ADDR_MODE_OFFSET | Offset is added to the address pointer after each transfer. |
| TRANSFER_ADDR_MODE_INCREMENTED | Address pointer is incremented by associated transfer_size_t after each transfer. Address pointer is incremented by associated RZA::transfer_size_t after each transfer. |
| TRANSFER_ADDR_MODE_DECREMENTED | Address pointer is decremented by associated transfer_size_t after each transfer. Address pointer is decremented by associated RZA::transfer_size_t after each transfer. |
Repeat area options (source or destination). In TRANSFER_MODE_REPEAT, the selected pointer returns to its original value after transfer_info_t::length transfers. In TRANSFER_MODE_BLOCK and TRANSFER_MODE_REPEAT_BLOCK, the selected pointer returns to its original value after each transfer.
| Enumerator | |
|---|---|
| TRANSFER_REPEAT_AREA_DESTINATION | Destination area repeated in TRANSFER_MODE_REPEAT or TRANSFER_MODE_BLOCK or TRANSFER_MODE_REPEAT_BLOCK. |
| TRANSFER_REPEAT_AREA_SOURCE | Source area repeated in TRANSFER_MODE_REPEAT or TRANSFER_MODE_BLOCK or TRANSFER_MODE_REPEAT_BLOCK. |
| TRANSFER_REPEAT_AREA_DESTINATION | Destination area repeated in TRANSFER_MODE_REPEAT or TRANSFER_MODE_BLOCK or TRANSFER_MODE_REPEAT_BLOCK. |
| TRANSFER_REPEAT_AREA_SOURCE | Source area repeated in TRANSFER_MODE_REPEAT or TRANSFER_MODE_BLOCK or TRANSFER_MODE_REPEAT_BLOCK. |
| TRANSFER_REPEAT_AREA_DESTINATION | Destination area repeated in TRANSFER_MODE_REPEAT or TRANSFER_MODE_BLOCK or TRANSFER_MODE_REPEAT_BLOCK. |
| TRANSFER_REPEAT_AREA_SOURCE | Source area repeated in TRANSFER_MODE_REPEAT or TRANSFER_MODE_BLOCK or TRANSFER_MODE_REPEAT_BLOCK. |
| enum transfer_irq_t |
Interrupt options.
Chain transfer mode options.
| Enumerator | |
|---|---|
| TRANSFER_CHAIN_MODE_DISABLED | Chain mode not used. |
| TRANSFER_CHAIN_MODE_EACH | Switch to next transfer after a single transfer from this transfer_info_t. Switch to next transfer after a single transfer from this RZA::transfer_info_t. |
| TRANSFER_CHAIN_MODE_END | Complete the entire transfer defined in this transfer_info_t before chaining to next transfer. Complete the entire transfer defined in this RZA::transfer_info_t before chaining to next transfer. |
| TRANSFER_CHAIN_MODE_DISABLED | Chain mode not used. |
| TRANSFER_CHAIN_MODE_EACH | Switch to next transfer after a single transfer from this transfer_info_t. Switch to next transfer after a single transfer from this RZA::transfer_info_t. |
| TRANSFER_CHAIN_MODE_END | Complete the entire transfer defined in this transfer_info_t before chaining to next transfer. Complete the entire transfer defined in this RZA::transfer_info_t before chaining to next transfer. |
| TRANSFER_CHAIN_MODE_DISABLED | Chain mode not used. |
| TRANSFER_CHAIN_MODE_EACH | Switch to next transfer after a single transfer from this transfer_info_t. Switch to next transfer after a single transfer from this RZA::transfer_info_t. |
| TRANSFER_CHAIN_MODE_END | Complete the entire transfer defined in this transfer_info_t before chaining to next transfer. Complete the entire transfer defined in this RZA::transfer_info_t before chaining to next transfer. |
| enum transfer_mode_t |
Transfer mode describes what will happen when a transfer request occurs.
| Enumerator | |
|---|---|
| TRANSFER_MODE_NORMAL | In normal mode, each transfer request causes a transfer of transfer_size_t from the source pointer to the destination pointer. The transfer length is decremented and the source and address pointers are updated according to transfer_addr_mode_t. After the transfer length reaches 0, transfer requests will not cause any further transfers. In normal mode, each transfer request causes a transfer of RZA::transfer_size_t from the source pointer to the destination pointer. The transfer length is decremented and the source and address pointers are updated according to RZA::transfer_addr_mode_t. After the transfer length reaches 0, transfer requests will not cause any further transfers. |
| TRANSFER_MODE_REPEAT | Repeat mode is like normal mode, except that when the transfer length reaches 0, the pointer to the repeat area and the transfer length will be reset to their initial values. If DMAC is used, the transfer repeats only transfer_info_t::num_blocks times. After the transfer repeats transfer_info_t::num_blocks times, transfer requests will not cause any further transfers. If DTC is used, the transfer repeats continuously (no limit to the number of repeat transfers). |
| TRANSFER_MODE_BLOCK | In block mode, each transfer request causes transfer_info_t::length transfers of transfer_size_t. After each individual transfer, the source and destination pointers are updated according to transfer_addr_mode_t. After the block transfer is complete, transfer_info_t::num_blocks is decremented. After the transfer_info_t::num_blocks reaches 0, transfer requests will not cause any further transfers. In block mode, each transfer request causes transfer_info_t::length transfers of RZA::transfer_size_t. After each individual transfer, the source and destination pointers are updated according to RZA::transfer_addr_mode_t. After the block transfer is complete, transfer_info_t::num_blocks is decremented. After the transfer_info_t::num_blocks reaches 0, transfer requests will not cause any further transfers. |
| TRANSFER_MODE_REPEAT_BLOCK | In addition to block mode features, repeat-block mode supports a ring buffer of blocks and offsets within a block (to split blocks into arrays of their first data, second data, etc.) |
| TRANSFER_MODE_NORMAL | In normal mode, each transfer request causes a transfer of transfer_size_t from the source pointer to the destination pointer. The transfer length is decremented and the source and address pointers are updated according to transfer_addr_mode_t. After the transfer length reaches 0, transfer requests will not cause any further transfers. In normal mode, each transfer request causes a transfer of RZA::transfer_size_t from the source pointer to the destination pointer. The transfer length is decremented and the source and address pointers are updated according to RZA::transfer_addr_mode_t. After the transfer length reaches 0, transfer requests will not cause any further transfers. |
| TRANSFER_MODE_REPEAT | Repeat mode is like normal mode, except that when the transfer length reaches 0, the pointer to the repeat area and the transfer length will be reset to their initial values. If DMAC is used, the transfer repeats only transfer_info_t::num_blocks times. After the transfer repeats transfer_info_t::num_blocks times, transfer requests will not cause any further transfers. If DTC is used, the transfer repeats continuously (no limit to the number of repeat transfers). |
| TRANSFER_MODE_BLOCK | In block mode, each transfer request causes transfer_info_t::length transfers of transfer_size_t. After each individual transfer, the source and destination pointers are updated according to transfer_addr_mode_t. After the block transfer is complete, transfer_info_t::num_blocks is decremented. After the transfer_info_t::num_blocks reaches 0, transfer requests will not cause any further transfers. In block mode, each transfer request causes transfer_info_t::length transfers of RZA::transfer_size_t. After each individual transfer, the source and destination pointers are updated according to RZA::transfer_addr_mode_t. After the block transfer is complete, transfer_info_t::num_blocks is decremented. After the transfer_info_t::num_blocks reaches 0, transfer requests will not cause any further transfers. |
| TRANSFER_MODE_REPEAT_BLOCK | In addition to block mode features, repeat-block mode supports a ring buffer of blocks and offsets within a block (to split blocks into arrays of their first data, second data, etc.) |
| TRANSFER_MODE_NORMAL | In normal mode, each transfer request causes a transfer of transfer_size_t from the source pointer to the destination pointer. The transfer length is decremented and the source and address pointers are updated according to transfer_addr_mode_t. After the transfer length reaches 0, transfer requests will not cause any further transfers. In normal mode, each transfer request causes a transfer of RZA::transfer_size_t from the source pointer to the destination pointer. The transfer length is decremented and the source and address pointers are updated according to RZA::transfer_addr_mode_t. After the transfer length reaches 0, transfer requests will not cause any further transfers. |
| TRANSFER_MODE_REPEAT | Repeat mode is like normal mode, except that when the transfer length reaches 0, the pointer to the repeat area and the transfer length will be reset to their initial values. If DMAC is used, the transfer repeats only transfer_info_t::num_blocks times. After the transfer repeats transfer_info_t::num_blocks times, transfer requests will not cause any further transfers. If DTC is used, the transfer repeats continuously (no limit to the number of repeat transfers). |
| TRANSFER_MODE_BLOCK | In block mode, each transfer request causes transfer_info_t::length transfers of transfer_size_t. After each individual transfer, the source and destination pointers are updated according to transfer_addr_mode_t. After the block transfer is complete, transfer_info_t::num_blocks is decremented. After the transfer_info_t::num_blocks reaches 0, transfer requests will not cause any further transfers. In block mode, each transfer request causes transfer_info_t::length transfers of RZA::transfer_size_t. After each individual transfer, the source and destination pointers are updated according to RZA::transfer_addr_mode_t. After the block transfer is complete, transfer_info_t::num_blocks is decremented. After the transfer_info_t::num_blocks reaches 0, transfer requests will not cause any further transfers. |
| TRANSFER_MODE_REPEAT_BLOCK | In addition to block mode features, repeat-block mode supports a ring buffer of blocks and offsets within a block (to split blocks into arrays of their first data, second data, etc.) |
| enum transfer_size_t |
Transfer size specifies the size of each individual transfer. Total transfer length = transfer_size_t * transfer_length_t
| enum display_in_format_t |
| enum ioport_peripheral_t |
Superset of all peripheral functions.
| enum ether_event_t |
Event code of callback function
| enum ether_phy_lsi_type_t |
Phy LSI
| enum transfer_addr_mode_t |
Address mode specifies whether to modify (increment or decrement) pointer after each transfer.
| Enumerator | |
|---|---|
| TRANSFER_ADDR_MODE_FIXED | Address pointer remains fixed after each transfer. |
| TRANSFER_ADDR_MODE_OFFSET | Offset is added to the address pointer after each transfer. |
| TRANSFER_ADDR_MODE_INCREMENTED | Address pointer is incremented by associated transfer_size_t after each transfer. Address pointer is incremented by associated RZA::transfer_size_t after each transfer. |
| TRANSFER_ADDR_MODE_DECREMENTED | Address pointer is decremented by associated transfer_size_t after each transfer. Address pointer is decremented by associated RZA::transfer_size_t after each transfer. |
| TRANSFER_ADDR_MODE_FIXED | Address pointer remains fixed after each transfer. |
| TRANSFER_ADDR_MODE_OFFSET | Offset is added to the address pointer after each transfer. |
| TRANSFER_ADDR_MODE_INCREMENTED | Address pointer is incremented by associated transfer_size_t after each transfer. Address pointer is incremented by associated RZA::transfer_size_t after each transfer. |
| TRANSFER_ADDR_MODE_DECREMENTED | Address pointer is decremented by associated transfer_size_t after each transfer. Address pointer is decremented by associated RZA::transfer_size_t after each transfer. |
| TRANSFER_ADDR_MODE_FIXED | Address pointer remains fixed after each transfer. |
| TRANSFER_ADDR_MODE_OFFSET | Offset is added to the address pointer after each transfer. |
| TRANSFER_ADDR_MODE_INCREMENTED | Address pointer is incremented by associated transfer_size_t after each transfer. Address pointer is incremented by associated RZA::transfer_size_t after each transfer. |
| TRANSFER_ADDR_MODE_DECREMENTED | Address pointer is decremented by associated transfer_size_t after each transfer. Address pointer is decremented by associated RZA::transfer_size_t after each transfer. |
Repeat area options (source or destination). In TRANSFER_MODE_REPEAT, the selected pointer returns to its original value after transfer_info_t::length transfers. In TRANSFER_MODE_BLOCK and TRANSFER_MODE_REPEAT_BLOCK, the selected pointer returns to its original value after each transfer.
| Enumerator | |
|---|---|
| TRANSFER_REPEAT_AREA_DESTINATION | Destination area repeated in TRANSFER_MODE_REPEAT or TRANSFER_MODE_BLOCK or TRANSFER_MODE_REPEAT_BLOCK. |
| TRANSFER_REPEAT_AREA_SOURCE | Source area repeated in TRANSFER_MODE_REPEAT or TRANSFER_MODE_BLOCK or TRANSFER_MODE_REPEAT_BLOCK. |
| TRANSFER_REPEAT_AREA_DESTINATION | Destination area repeated in TRANSFER_MODE_REPEAT or TRANSFER_MODE_BLOCK or TRANSFER_MODE_REPEAT_BLOCK. |
| TRANSFER_REPEAT_AREA_SOURCE | Source area repeated in TRANSFER_MODE_REPEAT or TRANSFER_MODE_BLOCK or TRANSFER_MODE_REPEAT_BLOCK. |
| TRANSFER_REPEAT_AREA_DESTINATION | Destination area repeated in TRANSFER_MODE_REPEAT or TRANSFER_MODE_BLOCK or TRANSFER_MODE_REPEAT_BLOCK. |
| TRANSFER_REPEAT_AREA_SOURCE | Source area repeated in TRANSFER_MODE_REPEAT or TRANSFER_MODE_BLOCK or TRANSFER_MODE_REPEAT_BLOCK. |
| enum transfer_irq_t |
Interrupt options.
Chain transfer mode options.
| Enumerator | |
|---|---|
| TRANSFER_CHAIN_MODE_DISABLED | Chain mode not used. |
| TRANSFER_CHAIN_MODE_EACH | Switch to next transfer after a single transfer from this transfer_info_t. Switch to next transfer after a single transfer from this RZA::transfer_info_t. |
| TRANSFER_CHAIN_MODE_END | Complete the entire transfer defined in this transfer_info_t before chaining to next transfer. Complete the entire transfer defined in this RZA::transfer_info_t before chaining to next transfer. |
| TRANSFER_CHAIN_MODE_DISABLED | Chain mode not used. |
| TRANSFER_CHAIN_MODE_EACH | Switch to next transfer after a single transfer from this transfer_info_t. Switch to next transfer after a single transfer from this RZA::transfer_info_t. |
| TRANSFER_CHAIN_MODE_END | Complete the entire transfer defined in this transfer_info_t before chaining to next transfer. Complete the entire transfer defined in this RZA::transfer_info_t before chaining to next transfer. |
| TRANSFER_CHAIN_MODE_DISABLED | Chain mode not used. |
| TRANSFER_CHAIN_MODE_EACH | Switch to next transfer after a single transfer from this transfer_info_t. Switch to next transfer after a single transfer from this RZA::transfer_info_t. |
| TRANSFER_CHAIN_MODE_END | Complete the entire transfer defined in this transfer_info_t before chaining to next transfer. Complete the entire transfer defined in this RZA::transfer_info_t before chaining to next transfer. |
| enum transfer_mode_t |
Transfer mode describes what will happen when a transfer request occurs.
| Enumerator | |
|---|---|
| TRANSFER_MODE_NORMAL | In normal mode, each transfer request causes a transfer of transfer_size_t from the source pointer to the destination pointer. The transfer length is decremented and the source and address pointers are updated according to transfer_addr_mode_t. After the transfer length reaches 0, transfer requests will not cause any further transfers. In normal mode, each transfer request causes a transfer of RZA::transfer_size_t from the source pointer to the destination pointer. The transfer length is decremented and the source and address pointers are updated according to RZA::transfer_addr_mode_t. After the transfer length reaches 0, transfer requests will not cause any further transfers. |
| TRANSFER_MODE_REPEAT | Repeat mode is like normal mode, except that when the transfer length reaches 0, the pointer to the repeat area and the transfer length will be reset to their initial values. If DMAC is used, the transfer repeats only transfer_info_t::num_blocks times. After the transfer repeats transfer_info_t::num_blocks times, transfer requests will not cause any further transfers. If DTC is used, the transfer repeats continuously (no limit to the number of repeat transfers). |
| TRANSFER_MODE_BLOCK | In block mode, each transfer request causes transfer_info_t::length transfers of transfer_size_t. After each individual transfer, the source and destination pointers are updated according to transfer_addr_mode_t. After the block transfer is complete, transfer_info_t::num_blocks is decremented. After the transfer_info_t::num_blocks reaches 0, transfer requests will not cause any further transfers. In block mode, each transfer request causes transfer_info_t::length transfers of RZA::transfer_size_t. After each individual transfer, the source and destination pointers are updated according to RZA::transfer_addr_mode_t. After the block transfer is complete, transfer_info_t::num_blocks is decremented. After the transfer_info_t::num_blocks reaches 0, transfer requests will not cause any further transfers. |
| TRANSFER_MODE_REPEAT_BLOCK | In addition to block mode features, repeat-block mode supports a ring buffer of blocks and offsets within a block (to split blocks into arrays of their first data, second data, etc.) |
| TRANSFER_MODE_NORMAL | In normal mode, each transfer request causes a transfer of transfer_size_t from the source pointer to the destination pointer. The transfer length is decremented and the source and address pointers are updated according to transfer_addr_mode_t. After the transfer length reaches 0, transfer requests will not cause any further transfers. In normal mode, each transfer request causes a transfer of RZA::transfer_size_t from the source pointer to the destination pointer. The transfer length is decremented and the source and address pointers are updated according to RZA::transfer_addr_mode_t. After the transfer length reaches 0, transfer requests will not cause any further transfers. |
| TRANSFER_MODE_REPEAT | Repeat mode is like normal mode, except that when the transfer length reaches 0, the pointer to the repeat area and the transfer length will be reset to their initial values. If DMAC is used, the transfer repeats only transfer_info_t::num_blocks times. After the transfer repeats transfer_info_t::num_blocks times, transfer requests will not cause any further transfers. If DTC is used, the transfer repeats continuously (no limit to the number of repeat transfers). |
| TRANSFER_MODE_BLOCK | In block mode, each transfer request causes transfer_info_t::length transfers of transfer_size_t. After each individual transfer, the source and destination pointers are updated according to transfer_addr_mode_t. After the block transfer is complete, transfer_info_t::num_blocks is decremented. After the transfer_info_t::num_blocks reaches 0, transfer requests will not cause any further transfers. In block mode, each transfer request causes transfer_info_t::length transfers of RZA::transfer_size_t. After each individual transfer, the source and destination pointers are updated according to RZA::transfer_addr_mode_t. After the block transfer is complete, transfer_info_t::num_blocks is decremented. After the transfer_info_t::num_blocks reaches 0, transfer requests will not cause any further transfers. |
| TRANSFER_MODE_REPEAT_BLOCK | In addition to block mode features, repeat-block mode supports a ring buffer of blocks and offsets within a block (to split blocks into arrays of their first data, second data, etc.) |
| TRANSFER_MODE_NORMAL | In normal mode, each transfer request causes a transfer of transfer_size_t from the source pointer to the destination pointer. The transfer length is decremented and the source and address pointers are updated according to transfer_addr_mode_t. After the transfer length reaches 0, transfer requests will not cause any further transfers. In normal mode, each transfer request causes a transfer of RZA::transfer_size_t from the source pointer to the destination pointer. The transfer length is decremented and the source and address pointers are updated according to RZA::transfer_addr_mode_t. After the transfer length reaches 0, transfer requests will not cause any further transfers. |
| TRANSFER_MODE_REPEAT | Repeat mode is like normal mode, except that when the transfer length reaches 0, the pointer to the repeat area and the transfer length will be reset to their initial values. If DMAC is used, the transfer repeats only transfer_info_t::num_blocks times. After the transfer repeats transfer_info_t::num_blocks times, transfer requests will not cause any further transfers. If DTC is used, the transfer repeats continuously (no limit to the number of repeat transfers). |
| TRANSFER_MODE_BLOCK | In block mode, each transfer request causes transfer_info_t::length transfers of transfer_size_t. After each individual transfer, the source and destination pointers are updated according to transfer_addr_mode_t. After the block transfer is complete, transfer_info_t::num_blocks is decremented. After the transfer_info_t::num_blocks reaches 0, transfer requests will not cause any further transfers. In block mode, each transfer request causes transfer_info_t::length transfers of RZA::transfer_size_t. After each individual transfer, the source and destination pointers are updated according to RZA::transfer_addr_mode_t. After the block transfer is complete, transfer_info_t::num_blocks is decremented. After the transfer_info_t::num_blocks reaches 0, transfer requests will not cause any further transfers. |
| TRANSFER_MODE_REPEAT_BLOCK | In addition to block mode features, repeat-block mode supports a ring buffer of blocks and offsets within a block (to split blocks into arrays of their first data, second data, etc.) |
| enum transfer_size_t |
Transfer size specifies the size of each individual transfer. Total transfer length = transfer_size_t * transfer_length_t
| enum display_in_format_t |
| enum canfd_tx_mb_t |
CANFD Transmit Message Buffer (TX MB)
| enum canfd_tx_buffer_t |
CANFD Transmit Buffer (MB + CFIFO)
| void RZA::SystemCoreClockUpdate | ( | void | ) |
Update SystemCoreClock variable based on current clock settings.
| void RZA::bsp_clock_init | ( | void | ) |
Initializes system clocks. Makes no assumptions about current register settings.
| fsp_err_t RZA::bsp_prv_clock_selector_set | ( | fsp_priv_clock_t | clock, |
| uint32_t | clock_sel | ||
| ) |
Set the Source Clock Setting register to change the frequency.
| [in] | clock | Element number of the array that defines the frequency of each clock. |
| [in] | clock_sel | Value to set in Source Clock Setting register. |
| fsp_err_t RZA::bsp_prv_clock_divider_set | ( | fsp_priv_clock_t | clock, |
| uint32_t | clock_div | ||
| ) |
Set the Division Ratio Setting register to change the frequency.
| [in] | clock | Element number of the array that defines the frequency of each clock. |
| [in] | clock_div | Value to set in Division Ratio Setting register. |
| void RZA::bsp_irq_cfg | ( | void | ) |
Initialize interrupt controller.
| None | In this device, this function does nothing. This function is written to share code with other devices. |
Using the vector table information section that has been built by the linker and placed into ROM in the .vector_info. section, this function will initialize the ICU so that configured ELC events will trigger interrupts in the NVIC.
| d1_device* RZA::d1_opendevice | ( | d1_long_t | flags | ) |
This function initializes the D1 device handle, supplies module clock to D/AVE 2D hardware and enables the D/AVE 2D interrupt. It is called by the D/AVE 2D driver function d2_inithw() to initialize the D/AVE 2D hardware.
| [in] | flags | Reserved. Not used in this function. |
| Non-NULL | The function returns the pointer to a d1_device object if the D1 device handle was successfully initialized. |
| NULL | The function returns NULL if the interrupt could not be successfully initialized. |
| d1_int_t RZA::d1_closedevice | ( | d1_device * | handle | ) |
This function is called by the D/AVE 2D driver function d2_deinithw to de-initialize the D/AVE 2D hardware. Disables the D/AVE 2D interrupt and stop the module clock supply.
| [in] | handle | Pointer to the d1_device object. |
| 1 | The function returns 1. |
| void RZA::d1_setregister | ( | d1_device * | handle, |
| d1_int_t | deviceid, | ||
| d1_int_t | index, | ||
| d1_long_t | value | ||
| ) |
This function is used to write data to a D/AVE 2D hardware register.
| [in] | handle | Pointer to a device handle. |
| [in] | deviceid | D1_DAVE2D (Rendering core) or D1_DLISTINDIRECT (Lists of dlist support). Others are ignored. |
| [in] | index | Register index (word offset from the D/AVE 2D base address). |
| [in] | value | 32-bit value to write. |
| d1_long_t RZA::d1_getregister | ( | d1_device * | handle, |
| d1_int_t | deviceid, | ||
| d1_int_t | index | ||
| ) |
This function is used to read data from a hardware register. Reading a register from an invalid or unsupported device ID will always return 0.
| [in] | handle | Pointer to a device handle. |
| [in] | deviceid | D1_DAVE2D (Rendering core) or D1_DLISTINDIRECT (Lists of dlist support). Others are ignored. |
| [in] | index | Register index (starts with 0). |
| Value | The function returns the 32-bit value of the register. |
| d1_int_t RZA::d1_devicesupported | ( | d1_device * | handle, |
| d1_int_t | deviceid | ||
| ) |
Check if the specified device ID is valid for the D/AVE 2D implementation for Flex. Use this function to verify that a specific hardware interface is available on the current host system.
| [in] | handle | Pointer to a device handle. |
| [in] | deviceid | D1_DAVE2D (Rendering core) or D1_DLISTINDIRECT (Lists of dlist support). Others are ignored. |
| 0 | The function returns 0 if specified device ID not supported. |
| 1 | The function returns 1 if specified device ID supported. |
| d1_int_t RZA::d1_initirq_intern | ( | d1_device_flex * | handle | ) |
Initializes DRW_INT.
| [in] | handle | Pointer to the d1_device object. |
| 0 | The function returns 0 if the IRQ number is invalid. |
| 1 | The function returns 1 if DRW_INT is successfully initialized. |
| d1_int_t RZA::d1_shutdownirq_intern | ( | d1_device_flex * | handle | ) |
De-initializes DRW_INT.
| [in] | handle | Pointer to the d1_device object. |
| 1 | The function returns 1. |
| d1_int_t RZA::d1_queryirq | ( | d1_device * | handle, |
| d1_int_t | irqmask, | ||
| d1_int_t | timeout | ||
| ) |
This function waits for DRW_INT with timeout.
| [in] | handle | Pointer to the d1_device object (Not used). |
| [in] | irqmask | Interrupt ID (Not used. FSP only uses Display list IRQ). |
| [in] | timeout | Timeout value. |
| 0 | The function returns 0 if the wait times out. |
| 1 | The function returns 1 if DRW_INT was detected. |
| void* RZA::d1_allocmem | ( | d1_uint_t | size | ) |
Allocates memory in the driver heap.
| [in] | size | Size of the memory to be allocated. |
| Non-NULL | The function returns a pointer to the allocation if successful. |
| NULL | The function returns NULL if memory allocation failed. |
| void RZA::d1_freemem | ( | void * | ptr | ) |
Frees the specified memory area in the driver heap.
| [in] | ptr | Pointer to the memory area to be freed. |
| d1_uint_t RZA::d1_memsize | ( | void * | ptr | ) |
This function intends to return the size of the given memory block but we don't return a valid value. This function always returns 1.
| [in] | ptr | Pointer to a memory block in the heap. |
| 1 | The function always returns 1. |
| void* RZA::d1_allocvidmem | ( | d1_device * | handle, |
| d1_int_t | memtype, | ||
| d1_uint_t | size | ||
| ) |
Allocate video memory. As RZ devices do not have separate video memory this function simply calls d1_allocmem.
| [in] | handle | Pointer to the d1_device object (not used). |
| [in] | memtype | Type of memory (not used). |
| [in] | size | Number of bytes to allocate. |
| Non-NULL | The function returns a pointer to the allocation if successful. |
| NULL | The function returns Null if memory allocation failed. |
| void RZA::d1_freevidmem | ( | d1_device * | handle, |
| d1_int_t | memtype, | ||
| void * | ptr | ||
| ) |
Free video memory. As RZ devices do not have separate video memory this function simply calls d1_freemem.
| [in] | handle | Pointer to the d1_device object (not used). |
| [in] | memtype | Type of memory (not used). |
| [in] | ptr | Address returned by d1_allocvidmem. |
| d1_int_t RZA::d1_queryvidmem | ( | d1_device * | handle, |
| d1_int_t | memtype, | ||
| d1_int_t | query | ||
| ) |
Get current memory status. This function is not used and always returns 0.
| [in] | handle | Pointer to the d1_device object (not used). |
| [in] | memtype | Type of memory (not used). |
| [in] | query | Type of requested information (not used). |
| 0 | The function always return 0. |
| d1_int_t RZA::d1_queryarchitecture | ( | d1_device * | handle | ) |
Return information about system memory architecture.
| [in] | handle | Pointer to the d1_device object (not used). |
| d1_ma_unified | The function always return d1_ma_unified (Unified memory architecture). |
| void* RZA::d1_mapvidmem | ( | d1_device * | handle, |
| void * | ptr, | ||
| d1_int_t | flags | ||
| ) |
Map video memory for direct CPU access. As RZ devices do not have separate video memory this function simply returns the passed pointer.
| [in] | handle | Pointer to the d1_device object (not used). |
| [in] | ptr | Video memory address returned by d1_allocvidmem. |
| [in] | flags | Memory mapping flags (not used). |
| ptr | The function just returns ptr back as there is no mapping required for FSP. |
| d1_int_t RZA::d1_unmapvidmem | ( | d1_device * | handle, |
| void * | ptr | ||
| ) |
Release memory mapping. As RZ devices do not have separate video memory this function always returns 1.
| [in] | handle | Pointer to the d1_device object (not used). |
| [in] | ptr | Mapped video memory address returned by d1_mapvidmem (not used). |
| 1 | The function always return 1. |
| void* RZA::d1_maptovidmem | ( | d1_device * | handle, |
| void * | ptr | ||
| ) |
Map CPU accessible address of a video memory block back to video memory address. As RZ devices do not have separate video memory this function simply returns the passed pointer.
| [in] | handle | Pointer to the d1_device object (not used). |
| [in] | ptr | CPU accessible address pointing to a video memory block originally allocated using d1_allocvidmem. |
| ptr | The function just returns ptr back as there is no mapping required for FSP. |
| void* RZA::d1_mapfromvidmem | ( | d1_device * | handle, |
| void * | ptr | ||
| ) |
Map already allocated video memory address to a CPU-accessible address.
| [in] | handle | Pointer to the d1_device object (not used). |
| [in] | ptr | Video memory address returned by d1_allocvidmem. |
| ptr | The function just returns ptr back as there is no mapping required for FSP. |
| d1_int_t RZA::d1_copytovidmem | ( | d1_device * | handle, |
| void * | dst, | ||
| const void * | src, | ||
| d1_uint_t | size, | ||
| d1_int_t | flags | ||
| ) |
Copy data to video memory. Destination (video) memory area has to be allocated by d1_allocvidmem. As RZ devices do not have separate video memory this simply calls memcpy.
| [in] | handle | Pointer to the d1_device object (not used). |
| [in] | dst | pointer into video memory (destination). |
| [in] | src | Pointer into system memory (source). |
| [in] | size | Number of bytes to copy. |
| [in] | flags | Bitfield containing additional information on data to be copied (not used). |
| 1 | The function always return 1. |
| d1_int_t RZA::d1_copyfromvidmem | ( | d1_device * | handle, |
| void * | dst, | ||
| const void * | src, | ||
| d1_uint_t | size, | ||
| d1_int_t | flags | ||
| ) |
Copy data from video memory. Source (video) memory area has to be allocated by d1_allocvidmem. As RZ devices do not have separate video memory this simply calls memcpy.
| [in] | handle | Pointer to the d1_device object (not used). |
| [in] | dst | pointer into system memory (destination). |
| [in] | src | Pointer into video memory (source). |
| [in] | size | Number of bytes to copy. |
| [in] | flags | Reserved for future use. |
| 1 | The function always return 1. |
| d1_int_t RZA::d1_cacheflush | ( | d1_device * | handle, |
| d1_int_t | memtype | ||
| ) |
Flush CPU data caches.
| [in] | handle | Pointer to the d1_device object (not used). |
| [in] | memtype | Memory pools to flush (can be ORed together; not used). |
| 1 | The function always return 1. |
| d1_int_t RZA::d1_cacheblockflush | ( | d1_device * | handle, |
| d1_int_t | memtype, | ||
| const void * | ptr, | ||
| d1_uint_t | size | ||
| ) |
Flush part of CPU data caches.
| [in] | handle | Pointer to the d1_device object (not used). |
| [in] | memtype | Memory pools to flush (can be ORed together; not used). |
| [in] | ptr | Start address of memory to be flushed. |
| [in] | size | Size of memory to be flushed. |
| 1 | The function always return 1. |