periph_lock

Enable write protect for the given hardware module.

static int32_t periph_lock(
    void *const module
)

Parameters

module

Type: void *const

Pointer to the hardware module

Returns

Type: int32_t