Date:2013-07-23 17:50:42 (10 years 8 months ago)
Author:Werner Almesberger
Commit:6416fa8d0b3c80506a0a9086a16731d7ea91fc3a
Message:atusb/fw/mac.c: add section titles

Files: atusb/fw/mac.c (3 diffs)

Change Details

atusb/fw/mac.c
3434static uint8_t next_seq, this_seq, queued_seq;
3535
3636
37/* ----- Register access --------------------------------------------------- */
38
39
3740static uint8_t reg_read(uint8_t reg)
3841{
3942    uint8_t value;
...... 
5659}
5760
5861
62/* ----- Interrupt handling ------------------------------------------------ */
63
64
5965static void receive_frame(void);
6066
6167
...... 
137143}
138144
139145
146/* ----- TX/RX ------------------------------------------------------------- */
147
148
140149static void change_state(uint8_t new)
141150{
142151    while ((reg_read(REG_TRX_STATUS) & TRX_STATUS_MASK) ==

Archive Download the corresponding diff file



interactive