Get write protect state for the given hardware module.
static int32_t periph_get_lock_state( void *const module, bool *const state )
Type: void *const
Pointer to the hardware module
Type: bool *const
Pointer to write protect state for specified module
Type: int32_t