FreeCalypso > hg > fc-tourmaline
comparison src/cs/drivers/drv_app/spi/spi_api.h @ 259:365833d1d186
drv_app/spi/*: rm trailing white space
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 14 May 2021 01:30:13 +0000 |
parents | 4e78acac3d88 |
children | 34b7059b9337 |
comparison
equal
deleted
inserted
replaced
258:45cc81cc6230 | 259:365833d1d186 |
---|---|
107 | 107 |
108 /********************************************************************************/ | 108 /********************************************************************************/ |
109 /* */ | 109 /* */ |
110 /* Function Name: spi_abb_read */ | 110 /* Function Name: spi_abb_read */ |
111 /* */ | 111 /* */ |
112 /* Purpose: This function is used to send a READ REGISTER rqst msg */ | 112 /* Purpose: This function is used to send a READ REGISTER rqst msg */ |
113 /* to the SPI mailbox. */ | 113 /* to the SPI mailbox. */ |
114 /* */ | 114 /* */ |
115 /* Input Parameters: */ | 115 /* Input Parameters: */ |
116 /* - page : ABB Page where to read the register. */ | 116 /* - page : ABB Page where to read the register. */ |
117 /* - address : address of the ABB register to read. */ | 117 /* - address : address of the ABB register to read. */ |
131 | 131 |
132 /********************************************************************************/ | 132 /********************************************************************************/ |
133 /* */ | 133 /* */ |
134 /* Function Name: spi_abb_conf_ADC */ | 134 /* Function Name: spi_abb_conf_ADC */ |
135 /* */ | 135 /* */ |
136 /* Purpose: This function is used to send to the SPI mailbox a rqst msg */ | 136 /* Purpose: This function is used to send to the SPI mailbox a rqst msg */ |
137 /* for configuring ABB MADC for conversions. */ | 137 /* for configuring ABB MADC for conversions. */ |
138 /* */ | 138 /* */ |
139 /* Input Parameters: */ | 139 /* Input Parameters: */ |
140 /* - channels : ABB channels to be converted. */ | 140 /* - channels : ABB channels to be converted. */ |
141 /* - itval : configure the End Of Conversion IT. */ | 141 /* - itval : configure the End Of Conversion IT. */ |
153 | 153 |
154 /********************************************************************************/ | 154 /********************************************************************************/ |
155 /* */ | 155 /* */ |
156 /* Function Name: spi_abb_read_ADC */ | 156 /* Function Name: spi_abb_read_ADC */ |
157 /* */ | 157 /* */ |
158 /* Purpose: This function is used to send to the SPI mailbox a rqst msg */ | 158 /* Purpose: This function is used to send to the SPI mailbox a rqst msg */ |
159 /* for reading the ABB ADC results. */ | 159 /* for reading the ABB ADC results. */ |
160 /* */ | 160 /* */ |
161 /* Input Parameters: */ | 161 /* Input Parameters: */ |
162 /* - Buff : pointer to the buffer filled with ADC results. */ | 162 /* - Buff : pointer to the buffer filled with ADC results. */ |
163 /* - CallBack : callback function called by the spi task */ | 163 /* - CallBack : callback function called by the spi task */ |