mmSTM_STMSPER_OFFSET
WREG32(base_reg + mmSTM_STMSPER_OFFSET, lower_32_bits(input->sp_mask));
WREG32(base_reg + mmSTM_STMSPER_OFFSET, 0);