Skip to content

snRuntime/api/cluster_interrupt_decls.h

Functions

Name
void snrt_int_cluster_set(uint32_t mask)
Write mask to the cluster-local interrupt set register.
void snrt_int_cluster_clr(uint32_t mask)
Write mask to the cluster-local interrupt clear register.
void snrt_int_clr_mcip()
void snrt_int_set_mcip()

Functions Documentation

function snrt_int_cluster_set

inline void snrt_int_cluster_set(
    uint32_t mask
)

Write mask to the cluster-local interrupt set register.

Parameters:

  • mask set bit at X sets the interrupt of hart X

function snrt_int_cluster_clr

inline void snrt_int_cluster_clr(
    uint32_t mask
)

Write mask to the cluster-local interrupt clear register.

Parameters:

  • mask set bit at X clears the interrupt of hart X

function snrt_int_clr_mcip

inline void snrt_int_clr_mcip()

function snrt_int_set_mcip

inline void snrt_int_set_mcip()

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_cluster_set(uint32_t mask);

inline void snrt_int_cluster_clr(uint32_t mask);

inline void snrt_int_clr_mcip();

inline void snrt_int_set_mcip();

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