Using Bitfields in C programming we can access individual bits of a memory location. Bitfields in microcontroller programming can be used to declare register structures and get access to individual bits of the microcontroller registers.
Read this post on raviyp.com