Skip to content

snRuntime/api/global_interrupt_decls.h

Functions

Name
void snrt_int_sw_clear(uint32_t hartid)
Clear SW interrupt in CLINT.
void snrt_int_sw_set(uint32_t hartid)
Set SW interrupt in CLINT.

Functions Documentation

function snrt_int_sw_clear

inline void snrt_int_sw_clear(
    uint32_t hartid
)

Clear SW interrupt in CLINT.

Parameters:

  • hartid Target interrupt to clear

function snrt_int_sw_set

inline void snrt_int_sw_set(
    uint32_t hartid
)

Set SW interrupt in CLINT.

Parameters:

  • hartid Target interrupt to set

Source code

// Copyright 2023 ETH Zurich and University of Bologna.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0

inline void snrt_int_sw_clear(uint32_t hartid);

inline void snrt_int_sw_set(uint32_t hartid);

Updated on 2023-06-19 at 09:43:56 +0000