How To Delay For Shorter Than A Millisecond


I am looking for a way to delay a shorter amount of time than one millisecond. I know I can delay for a millisecond but would like to delay for less than that.

Also does anyone know if there is a way to maybe do some sort of internal timer interrupt? I am looking to toggle certain pins at a given frequency.

Thank you in advance!