You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: registers.rs
    path of file: ./repos/aero/src/aero_kernel/src/drivers/block/ide
    
    the code of the file until where you have to start completion: // Copyright (C) 2021-2024 The Aero Project Developers.
//
// This file is part of The 
    
    pub fn set_drive_select(&mut self, slave: bool, lba: bool, lba28_block_num: u16) {
        let mut sel = BaseDriveSelReg::new();
        sel.set_block_num(lba28_block_num as usize);
        sel.set_lba(lba);
        sel.set_slave(slave);
        self.base.write_offset(BASE_DRIVE_SEL, sel.val());
    }