How to write a poisson shock (varexo) mu?

I want to write an exogenous shock with a two-state poisson distribution,i.e mu={mu1.mu2}. For half the possibility(0.5), mu=mu1, and for the other half, mu=mu2. So could you please tell me how to write it on Dynare?

Thank you very much for your help!

Please do not cross-post. The discussion is at How to implement a Poisson process?