Layered Architecture Of An Embedded System