ctucan_set_data_bittiming(9)
π ctucan_set_data_bittiming(9) β like, the CAN data bit timing setter, bestie
okay so this is a page from the Kernel API Manual (yes, section 9, the big-kid kernel section π) and it's all about ctucan_set_data_bittiming β the routine that sets up the data bit timing for a CAN device. tiny page, but she's important β¨
πΈ NAME πΈ
ctucan_set_data_bittiming β the routine that handles CAN set data bit timing. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
int ctucan_set_data_bittiming (struct net_device *ndev );
so she takes one arg and hands you back an int. icon behavior, no notes π«Ά
π¦ ARGUMENTS π¦
ndevβ a pointer to thenet_devicestructure. literally just a pointer to your network device, that's the whole thing π
π₯ RETURN π₯
0on success π-EPERMon error π (permission said no, bestie)
π SEE ALSO π
the kernel file where the magic lives:
./drivers/net/can/ctucanfd/ctucanfd_base.c
and the whole ctucanfd friend group, fr fr β go say hi to all of them:
ctucan_state_to_str(9)ctucan_reset(9)ctucan_set_btr(9)ctucan_set_bittiming(9)ctucan_set_secondary_sample_point(9)ctucan_set_mode(9)ctucan_chip_start(9)ctucan_do_set_mode(9)ctucan_get_tx_status(9)ctucan_is_txt_buf_writable(9)ctucan_insert_frame(9)ctucan_give_txtb_cmd(9)ctucan_start_xmit(9)ctucan_read_rx_frame(9)ctucan_rx(9)ctucan_read_fault_state(9)ctucan_get_rec_tec(9)ctucan_err_interrupt(9)ctucan_rx_poll(9)ctucan_rotate_txb_prio(9)ctucan_tx_interrupt(9)ctucan_interrupt(9)ctucan_chip_stop(9)ctucan_open(9)ctucan_close(9)ctucan_get_berr_counter(9)
that's the whole page, babe π this cutie lives in ./drivers/net/can/ctucanfd, and this particular edition is dated October 2026 π go set those data bit timings, you absolute main character π§β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms