---
title: "Discussion on \"Coding Questions Practice - Embedded Engineer\" | Hashnode"
description: "Discussion on \"Coding Questions Practice - Embedded Engineer\". Module 1: Embedded C — Coding Problems\nBit Manipulation\n\nWrite a function uint32_t set_field(uint32_t reg, int msb, int lsb, uint32_t val) — set a bitfield in a register without touching other bits."
url: "https://hashnode.com/posts/coding-questions-practice-embedded-engineer/6ab7c82c638dd7f06fffa372"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Coding Questions Practice - Embedded Engineer](https://waageesh.hashnode.dev/coding-questions-practice-embedded-engineer?utm_source=hashnode&utm_medium=feed)

Module 1: Embedded C — Coding Problems Bit Manipulation Write a function uint32\_t set\_field(uint32\_t reg, int msb, int lsb, uint32\_t val) — set a bitfield in a register without touching other bits.

Sep 26 · 57 min read · waageesh.hashnode.dev  
Updated Sep 28  
Read the article

## Written by

[Vaageesh Yavana](https://hashnode.com/@waageesh)

@waageesh

  
[View profile](https://hashnode.com/@waageesh)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
