Depositing an anti-stiction or passivation coating