a clock can be analog or digital