a. Right to be Represented by Counsel. A defendant shall be entitled to be represented by counsel in any criminal proceeding, except in those petty offenses such as traffic violations where there is no prospect of imprisonment or confinement after a judgment of guilty. The right to be represented shall include the right to consult in private with an attorney, or the attorney's agent, as soon as feasible after a defendant is taken into custody, at reasonable times thereafter, and sufficiently in advance of a proceeding to allow adequate preparation therefor.
b. Right to Appointed Counsel. An indigent defendant shall be entitled to have an attorney appointed to represent him or her in any criminal proceeding which may result in punishment by loss of liberty and in any other criminal proceeding in which the court concludes that the interests of justice so require.
c. Waiver of Rights to Counsel. A defendant may waive his or her rights to counsel under (a) and (b), in writing, after the court has ascertained that he or she knowingly, intelligently and voluntarily desires to forego them. When a defendant waives his or her rights to counsel, the court may appoint an attorney to advise him or her during any stage of the proceedings. Such advisory counsel shall be given notice of all matters of which the defendant is notified.
d. Unreasonable Delay in Retaining Counsel. If a non-indigent defendant, or an indigent defendant who has refused appointed counsel in order to retain private counsel, appears without counsel at any proceeding after having been given a reasonable opportunity to retain counsel, the court may proceed with the matter, with or without securing a written waiver or appointing counsel under section (c) to advise the defendant during the proceeding.
e. Withdrawal of Waiver. A defendant may withdraw a waiver of his or her rights to counsel at any time. The defendant will not be entitled to repeat any proceeding previously held or waived solely on the grounds of the subsequent appointment or retention of counsel.