Skip to content

Multicore Doorbell Current Core/Other Core Mislabelled #2702

@madh4tter

Description

@madh4tter

In both the SDK, and the SDK reference, the multicore doorbell check functions have been incorrectly documented as checking the opposite core than it should be checking.

/*! \brief Determine if the given doorbell is active on the other core
* \ingroup multicore_doorbell
* \param doorbell_num the doorbell number
*/
static inline bool multicore_doorbell_is_set_current_core(uint doorbell_num) {
check_doorbell_num_param(doorbell_num);
return sio_hw->doorbell_in_set & (1u << doorbell_num);
}
/*! \brief Determine if the given doorbell is active on the this core
* \ingroup multicore_doorbell
* \param doorbell_num the doorbell number
*/
static inline bool multicore_doorbell_is_set_other_core(uint doorbell_num) {
check_doorbell_num_param(doorbell_num);
return sio_hw->doorbell_out_set & (1u << doorbell_num);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions