separate bit set type and functions to psa_bits.w